GitHub Copilot is an AI assistant for software development. It can suggest code, explain repositories, edit files, review changes, and work on assigned tasks that developers can inspect as pull requests.
← Back to Category
AI Coding
nanocode
A Rust SDK for frontier embedded agents, offering one runtime for the Codex and Claude harnesses that runs in a terminal, a server, a Worker, a browser tab, or an app.
Directory information is for reference. Check the official site for current features, pricing and availability. Listing does not imply hands-on testing or a purchase recommendation.
About this product
nanocode is an SDK for frontier embedded agents written in Rust. One runtime hosts the Codex and Claude harnesses with their own prompts and tools, and can run in a terminal, a server, a Worker, a browser tab, or an app.
Key Features
- Every model call and tool call is journaled, so a turn can finish after its process dies.
- Code Mode lets the model write one program that calls every tool, with only its result entering the context.
- Hands avoid a sandbox per session: a turn reaches a laptop, a server, or a browser tab only for the calls that need one.
- Subagents spawn from a cell, each becoming a durable session of its own.
- Payment options include a ChatGPT or Claude subscription, an API key, or Machine Payments from a Tempo account signed in with Tempo ID.
- The same code is available for TypeScript as one WebAssembly module, for Swift on macOS and iOS, and for C in a game engine or other host.
Use cases
- Running a durable coding agent in a terminal or on a native server.
- Embedding the agent brain in a WASM host backed by the host's own SQL or StateStore.
- Breaking work into multiple independent durable sessions through subagents.
- Letting an agent reach a laptop, server, or browser tab for only the tool calls that need it.
Who it is for
- Developers embedding durable agent loops in Rust
- Teams that want both the Codex and Claude harnesses behind one runtime
- Host developers running agents in a terminal, server, Worker, or browser
Requirements
- A Cargo project with the nanocode dependency for the Rust SDK.
- For WASM embedding, install one Rc per execution thread that schedules local futures, implements cancellable sleeps, and supplies clocks and secure random bytes.
- In WASM, Codex networking goes through HostTransport and Claude's through HttpTransport.
Quick Start
- Install the CLI with curl -fsSL https://nanocode.xyz/install | sh, then run nc.
- Run nc default to see the saved harness, model, thinking, and tier plus where they come from.
- Save defaults for new sessions with nc default claude opus high fast.
- Clear saved defaults with nc default reset.
- Add nanocode = { git = "https://github.com/nanocodexyz/nanocode" } under [dependencies] to use the SDK from Rust.
Limitations and considerations
- There is no packaged WASM SDK and no wasm-bindgen ABI; bindings live in other repositories.
- Memory is the WASM default store and is not durable.
- Native terminal, filesystem, database, process, and telemetry adapters are gated out in WASM.
License and links
Code license: Apache-2.0
Pricing notes
- Payment can use a ChatGPT or Claude subscription, an API key, or Machine Payments from a Tempo account you sign in to with Tempo ID.
Sources
Source review: 2026-11-21