Nanocode AI Agent
SDK for Frontier Embedded Agents.
Nanocode is an open-source ai agent by gakonst, written mainly in Rust, with 645 GitHub stars and the Apache-2.0 license. Its code was last updated Nov 1, 2026.
<h1 align="center">nanocode</h1>
<p align="center">
<a href="https://nanocode.xyz">Site</a> · <a href="https://nanocode.xyz/docs/introduction/getting-started">Docs</a> · <a href="https://nanocode.xyz/experiments">Experiments</a> · <a href="https://nanocode.xyz/cloudflare">Cloudflare Demo</a> · <a href="https://nanocode.xyz/vercel">Vercel Demo</a>
</p>
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.
<p align="center"> <img alt="nc in a terminal: a question about this workspace, one Code Mode cell that reads it, and the answer after 10.5 seconds" src="assets/nc.gif" width="100%" /> </p>- 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.
The CLI
curl -fsSL https://nanocode.xyz/install | sh
nc
The SDK
[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.
License
MIT or Apache-2.0.
Nanocode alternatives
View more →Similar ai agents in Developer Tools, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Nanocode (this page) gakonst | 645 | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| Deepseek Harness deepseek-ai | 268k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Ponytail DietrichGebert | 182k | MIT | Oct 29, 2026 | Scanned, no flagged issues |
| Orca stablyai | 112k | MIT | Nov 1, 2026 | Scanned, no flagged issues |
| Deer Flow bytedance | 85k | MIT | Nov 1, 2026 | Scanned, no flagged issues |
| Ruflo ruvnet | 80k | MIT | Nov 1, 2026 | Scanned, no flagged issues |