Site · Docs · Experiments · Cloudflare Demo · Vercel Demo
SDK for frontier embedded agents, in Rust. One runtime for the Codex and Claude harnesses, with their own prompts and tools, that runs in a terminal, a server, a Worker, a browser tab, or an app.
- Durable. Every model call and tool call is journaled, so a turn finishes after its process dies.
- Code Mode. The model writes one program that calls every tool, and only its result enters the context.
- Hands. No sandbox per session. A turn reaches a laptop, a server, or a browser tab only for the calls that need one.
- Subagents. A cell spawns children, each a durable session of its own.
- Any payer. A ChatGPT or Claude subscription, an API key, or Machine Payments from a Tempo Wallet.
curl -fsSL https://nanocode.xyz/install | sh
nc[dependencies]
nanocode = { git = "https://github.com/nanocodexyz/nanocode" }The same code runs in other languages:
| Language | Repository |
|---|---|
| TypeScript, as one WebAssembly module | nanocode-ts |
| Swift, for macOS and iOS | nanocode-swift |
| C, for a game engine or any other host | libnanocode |
The crate layout describes the workspace, and DECISIONS.md records what each change established.
MIT or Apache-2.0.
