0.0
The project is in a healthy, maintained state
Linux sandboxes for agents, and every other Runtime Cloud product: streaming commands and terminals, files and watches, images, durable volumes and backups, domains, TCP ports, private networking and secrets. Standard library only.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Runtime

The SDKs, CLI, MCP server and agent integrations for Runtime: sandboxes for AI agents. Each sandbox is a Firecracker microVM with its own Linux kernel, started from one call.

npm install withruntime   # TypeScript SDK, the `runtime` CLI and the MCP server
pip install withruntime   # Python SDK, sync and async
import { Sandbox } from "withruntime";

await using sbx = await Sandbox.create();
const result = await sbx.exec("python3 -c 'print(6 * 7)'");
console.log(result.exitCode, result.stdout);
from withruntime import Sandbox

with Sandbox.create() as sbx:
    result = sbx.exec("python3 -c 'print(6 * 7)'")
    print(result.exit_code, result.stdout)

The client reads RUNTIME_API_KEY, or the connection npx withruntime login saved on this machine. A new account starts on a free trial with no card. The quickstart takes it from there.

What is here

Path What it is
packages/cloud-sdk The TypeScript SDK, the runtime CLI and the MCP server: withruntime on npm
sdks/python The Python SDK: withruntime on PyPI
sdks/python/integrations/langchain-withruntime LangChain and Deep Agents sandbox backend
sdks/go, sdks/java, sdks/ruby The Go, Java and Ruby SDKs
integrations/pydantic-ai, integrations/google-adk Pydantic AI and Google ADK integrations
integrations/claude-code, codex, cursor, gemini-cli, vscode, windsurf Skills, rules and MCP settings for coding agents
packages/cloud-guide/docs The guides served at withruntime.com/docs, which the SDK tests check samples against

Documentation

Tests

bun test in packages/cloud-sdk and python3 -m unittest discover -s tests in sdks/python run here as they are. The suites that start Runtime's API server in-process, including all of the Go, Java and Ruby tests, run in Runtime's main repository before each release.

Contributing

Each release copies the SDKs here from Runtime's main repository, so each commit here is one copy, named after the versions in its source; a copy made before those versions reach npm and PyPI says so. Issues are welcome. A pull request is reviewed here and carried into the next release with its author credited.

License

Apache-2.0. See LICENSE.