Skip to main content
Daytona offers secure and elastic infrastructure for running your AI-generated code. At Agno, we integrate with it to enable your Agents and Teams to run code in your Daytona sandboxes.

Prerequisites

The following example requires the daytona and openai packages:
You will also need a Daytona API key. You can get it from your Daytona dashboard:

Example

This example creates an agent that can run code in a Daytona sandbox:
cookbook/91_tools/daytona_tools.py

Toolkit Params

Toolkit Functions

You can use include_tools or exclude_tools to modify the list of tools the agent has access to. Learn more about selecting tools.

Developer Resources