Skip to main content
Daytona offers secure and elastic infrastructure for runnning 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 Daytona tools require the daytona_sdk Python package:
You will also need a Daytona API key. You can get it from your Daytona account:

Example

The following example demonstrates how to create an agent that can run Python code in a Daytona sandbox:
cookbook/14_tools/daytona_tools.py

Toolkit Params

Code Execution Tools

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