daytona
Python SDK for Daytona
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is actively maintained and has low install friction, but it is still in alpha (Development Status :: 3 - Alpha) and requires a Daytona API key and external service access. Install it if you need to programmatically manage sandboxed code execution environments and are comfortable with an alpha-stage SDK. Not suitable if you need a stable, production-grade API or if you cannot rely on external infrastructure.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Daytona API key from the Daytona Dashboard and network access to the Daytona API endpoint.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a release 3 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.
last release 2026-08-11 (3 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,920,138 downloads/mo, #1,577 on PyPI
Alternatives
Verify before relying
pip install daytona
from daytona import Daytona, DaytonaConfig
config = DaytonaConfig(api_key="YOUR_API_KEY")
daytona = Daytona(config)
sandbox = daytona.create()
response = sandbox.process.code_run('print("Hello World")')- Performance characteristics and latency of sandbox creation and code execution.
- Scalability limits (concurrent sandboxes, resource quotas per account).
- Pricing model and cost implications of sandbox usage.
- Data residency and compliance certifications for the hosted infrastructure.
What it is and what it does
Daytona is the official Python SDK for Daytona, a managed infrastructure service that provisions isolated sandboxed environments for running AI-generated or untrusted code. The SDK exposes a programmatic interface to create, configure, and manage these sandboxes, along with operations for file I/O, Git integration, process execution, and language server protocol support. It includes both synchronous and asynchronous clients, with 24 runtime dependencies covering HTTP clients (aiohttp, httpx), async utilities (aiofiles, python-socketio), observability (OpenTelemetry), and configuration management (pydantic, python-dotenv).
The package is designed for developers building AI agents, code execution platforms, or applications that need to safely run untrusted code in isolated environments. You authenticate with an API key, instantiate a Daytona client, create sandboxes with optional resource constraints, and then interact with them via methods for code execution, file operations, Git operations, and LSP support. The SDK handles the complexity of remote sandbox lifecycle management and provides both paginated and cursor-based list operations for querying resources.
Use it for
- Build AI agent systems that execute generated code safely in isolated sandboxes without risking the host system.
- Create code execution platforms or playgrounds where users can run untrusted scripts with resource limits and automatic cleanup.
- Develop integration workflows that clone Git repositories, modify files, and execute code within managed sandbox environments.
- Implement language server protocol support for remote code editing and completion in sandboxed development environments.
- Automate testing and validation of generated code by running it in ephemeral, auto-deleted sandbox instances.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is actively maintained and has low install friction, but it is still in alpha (Development Status :: 3 - Alpha) and requires a Daytona API key and external service access. Install it if you need to programmatically manage sandboxed code execution environments and are comfortable with an alpha-stage SDK. Not suitable if you need a stable, production-grade API or if you cannot rely on external infrastructure.
Install
daytona on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a release 3 days ago. Supports Python 3.10 through 3.14, though the package is still in alpha (Development Status :: 3 - Alpha).
Requires a valid Daytona API key from the Daytona Dashboard and network access to the Daytona API endpoint.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.
Quickstart
pip install daytona
from daytona import Daytona, DaytonaConfig
config = DaytonaConfig(api_key="YOUR_API_KEY")
daytona = Daytona(config)
sandbox = daytona.create()
response = sandbox.process.code_run('print("Hello World")')
Verify before relying
- Performance characteristics and latency of sandbox creation and code execution.
- Scalability limits (concurrent sandboxes, resource quotas per account).
- Pricing model and cost implications of sandbox usage.
- Data residency and compliance certifications for the hosted infrastructure.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 24 packagesDeprecatedaiofilesaiohttpdaytona-analytics-api-clientdaytona-analytics-api-client-asyncdaytona-api-clientdaytona-api-client-asyncdaytona-toolbox-api-clientdaytona-toolbox-api-client-asynchttpxhttpx-wsobstoreopentelemetry-apiopentelemetry-exporter-otlp-proto-httpopentelemetry-instrumentation-aiohttp-clientopentelemetry-sdkpydanticpython-dotenvpython-multipartpython-socketiotomltyping-extensionsurllib3wsproto |
| Maintenance | Actively maintained 3 days since the last release |
| First released | |
| Downloads | 8,920,138 / month, #1,577 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: daytona-0.204.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “isolated compute infrastructure”
- daytonaDaytona is a Python SDK for managing and interacting with sandboxed…
- primeCLI and Python SDK for managing GPU compute, sandboxes, training…
- koyeb-sdkOfficial Python SDK for Koyeb that provides synchronous and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also daytona_api_client · daytona_api_client_async · daytona_sdk · daytona_analytics_api_client · daytona_toolbox_api_client_async · daytona_analytics_api_client_async · langchain-daytona · prime-sandboxes · daytona_toolbox_api_client · e2b-code-interpreter