nanocodex
View on GitHubBuilding blocks for frontier OpenAI agents in Rust. Nanocodex empowers you with Codex-level performance anywhere.
Nanocodex is a Rust library-first SDK that embeds OpenAI's Responses agent loop end-to-end: retained sessions, typed history, tools, Code Mode, branches, retries and cleanup. Node, Python, WASM and native CLI/desktop consumers prove the same contract, so you keep your own UI, memory and infrastructure.
Use Cases
Embed a full OpenAI Responses agent loop into your own Rust/Node/Python productBuild custom coding-agent CLIs and terminal UIsShip a macOS/iOS desktop coding agent appRun computer-use agents with provisioned CUA runtimes on macOS/Windows/LinuxRun agent evaluation and Codex parity benchmarksFork and delegate work to subagents with thread routingManage multiple ChatGPT account connections with quota failoverVoice-driven coding agent workflows
Built With
- Language
- Rust
- Frameworks
- Tokio · wasm-bindgen · SwiftUI · AppKit · React · xterm.js · Turbo · pnpm · Cargo
Tags
rust · openai · codex · coding-agent · sdk · embeddable-agent · cli · tui · mcp · computer-use · sandbox · subagents · voice · wasm · python-bindings · nodejs