Nanocodex banner
gakonst gakonst

Nanocodex

Development community

Description

Building blocks for frontier OpenAI agents in Rust. Nanocodex empowers you with Codex-level performance anywhere.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Nanocodex

The coding agent is the library.

Embed the complete OpenAI Responses loop—retained sessions, typed history, tools, Code Mode, branches, events, retries, and cleanup. Keep your interface, data, memory, infrastructure, and policy.

[![CI](https://img.shields.io/github/actions/workflow/status/gakonst/nanocodex/ci.yml?branch=master)][ci] [![Crates.io](https://img.shields.io/crates/v/nanocodex.svg)][crates] [![Docs.rs](https://img.shields.io/docsrs/nanocodex)][docs] [![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)][license]

**[Rust](#rust-start-here)** · **[JavaScript](#javascript-node-browser-and-wasm)** · **[Python](#python)** · **[Capabilities](#one-agent-owned-end-to-end)** · **[Evaluation](#evaluation-is-a-product-boundary)** · **[Deployments](#deployment-proofs)** · **[Status](#what-is-stable)**

Nanocodex is a headless, library-first SDK for building products around one deliberately supported OpenAI coding-agent stack. It is not a provider abstraction and it is not an app server. The public product is an embeddable agent with an owned lifecycle; the native CLI/TUI, browser apps, Python and JavaScript packages, durable actors, sandboxes, voice client, and evaluation harness are consumers that prove the same contract.

The important difference from assembling a model client and a loop is what the caller does **not** have to rebuild:

  • no passing previous messages, response IDs, or tool results back on every turn;
  • no separate state machine for prompt ordering, steering, compaction, reconnect replay, or partially completed responses;
  • no coupling between receiving a typed result and consuming an event stream;
  • no orphaned shell sessions or subprocess trees when a turn is canc