Skip to content
daytonaPublic

About

Official SDKs, API clients, and CLI/MCP tools for Daytona, the secure and elastic infrastructure for running AI-generated code

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

245 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daytona Clients

SDKs, generated API clients, and the CLI/MCP tools for Daytona.

Documentation

See the Daytona documentation for guides, examples, and API reference material.

Installation

TypeScript

npm install @daytona/sdk

Python

pip install daytona

Ruby

gem install daytona

Go

go get github.com/daytona/clients/sdk-go

Java

dependencies {
  implementation("io.daytona:sdk:x.y.z")
}

CLI

brew install daytonaio/cli/daytona

Or download the binary for your platform from GitHub Releases. The release page lists it as daytona-cli-<version>-<os>-<arch> (.exe on Windows), and it downloads as daytona-<os>-<arch>.

Verify the binary

Release binaries carry a GitHub artifact attestation (SLSA build provenance). Verify a downloaded binary with the GitHub CLI:

gh attestation verify ./daytona-linux-amd64 --repo daytona/clients \
  --signer-workflow daytona/clients/.github/workflows/release.yaml

Verification matches the file's SHA-256 digest, so it works whatever the local file is named.

Verification fails with a 404 for a release that has no attestation, such as one published before attestations were introduced.

Usage

import { Daytona } from '@daytona/sdk'

const daytona = new Daytona({ apiKey: process.env.DAYTONA_API_KEY })
const sandbox = await daytona.create()
const response = await sandbox.process.codeRun('print("Hello Daytona")')

console.log(response.result)

Set DAYTONA_API_KEY and optionally DAYTONA_API_URL before running examples or E2E tests.

Development

yarn install
poetry install
bundle install

Common commands:

yarn generate:api-client
yarn build
yarn test
yarn docs

OpenAPI specs used for local client generation live in openapi-specs/. SDK reference docs are generated as MDX into artifacts/sdk-docs/.

Contributing

See CONTRIBUTING.md for contribution guidelines. Please keep changes scoped to SDKs, generated clients, CLI/MCP, examples, and client tooling.

License

This repository uses a dual-license model. See LICENSE for details.

About

Official SDKs, API clients, and CLI/MCP tools for Daytona, the secure and elastic infrastructure for running AI-generated code

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

15 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages