EveryDev.ai
Subscribe
Home
Tools

3,697+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Nanocodex
    Nanocodex icon

    Nanocodex

    Agent Frameworks
    Featured

    A headless, library-first Rust SDK for building products around an OpenAI coding-agent stack with retained sessions, typed history, tools, Code Mode, branches, and events.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully open-source under MIT OR Apache-2.0. Free to use, modify, and distribute.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent FrameworksAI Development LibrariesMCP Tools

    Alternatives

    agent-proxy-kitdocx-editorAx LLM
    Developer
    gakonstgakonst is the author and maintainer of Nanocodex, a headles…

    Listed Aug 2026

    About Nanocodex

    Nanocodex is an open-source, headless SDK authored by gakonst that embeds a complete OpenAI Responses agent loop directly into Rust, JavaScript, and Python applications. Released under MIT OR Apache-2.0, version 0.5.0 shipped on August 12, 2026, and the repository has accumulated 430 stars and 50 forks since its creation in July 2026. It is not a provider abstraction or an app server — the public product is an embeddable agent with an owned lifecycle that callers drive through a cheap, cloneable command handle.

    What It Is

    Nanocodex is a multi-language agent SDK that wraps the OpenAI Responses WebSocket API into a fully managed, owned lifecycle. The core is written in Rust and exposed to JavaScript (Node, browser, WASM) and Python via native bindings. The key design premise is that callers should not have to rebuild prompt ordering, response-ID threading, tool-result routing, compaction, reconnect replay, or subprocess cleanup — Nanocodex owns all of that. The caller keeps the interface, data, memory, infrastructure, and policy. Supported models are the gpt-5.6-sol family (sol default, terra, and luna selections).

    Architecture and Module Boundaries

    The crate is structured as an Alloy-style facade (nanocodex) over focused lower-level crates:

    • nanocodex-agent — owned driver, turns, results, events, history policy, snapshots, compaction, branches, and cancellation
    • nanocodex-oai-api — OpenAI auth, typed Responses and Realtime boundaries, persistent transports, managed context, retry, pricing, and Tower client
    • nanocodex-tools — tool contract, standard workspace tools, shell/process lifecycle, Code Mode, deferred BM25 tool search, MCP (stdio and Streamable HTTP), and remote dispatch
    • nanocodex-observability — optional full-fidelity tracing and application-owned OpenTelemetry/OTLP initialization
    • nanocodex-durability — optional append-only execution journal with memory, SQLite, and Postgres stores

    Applications that only need a managed OpenAI conversation can use the lower-level OpenAi → Session → ResponseTurn → Response API without adopting agent policy.

    Multi-Language Deployment Model

    Each language path runs the same Rust-owned agent lifecycle:

    • Rust: cargo add nanocodex; the primary surface with the full API
    • Node.js 22.13+: npm install nanocodex; viem-style Agent, Actions, and Transport namespaces
    • Browser/WASM: runs the Rust agent in a Worker with OPFS filesystem persistence, Pyodide, wasm-clang, browser Git, and optional subagent trees
    • Python 3.11+: native PyO3 binding built with Maturin; blocking result waits release the GIL
    • Native CLI/TUI: installable on Apple Silicon macOS and x86-64 glibc Linux via a curl installer; built on Ratatui

    The JavaScript and Python bindings expose the same turn results, typed events, history, snapshots, branches, and shutdown semantics as the Rust API.

    Tools, Code Mode, and MCP

    Tools are caller-owned capabilities registered via the typed Tool trait or the #[tool] attribute macro on async Rust functions. The default native workspace runtime supplies bounded exec_command, retained write_stdin sessions, Rust-verified apply_patch, view_image, planning, web search, and image generation. Code Mode presents one compositional JavaScript execution tool to the model; inside a cell, code can loop, branch, fan out with Promise.all, and call typed tools through await tools.<name>(...). MCP is part of the native tools crate — stdio and Streamable HTTP servers are discovered in the background, deferred tools are found with BM25 tool_search, and OAuth persistence, allow/deny lists, bounded concurrent startup, and hot reload are managed at that boundary.

    Update: v0.5.0

    Version 0.5.0 was published to crates.io on August 12, 2026, and is 100% documented on docs.rs. The release stabilizes the four published crates (nanocodex, nanocodex-agent, nanocodex-oai-api, nanocodex-tools) and the optional nanocodex-observability. Experimental crates — browser, VM, voice, egress, and eval — remain workspace members passing all CI gates but are not yet published to crates.io. The repository's retained benchmark evidence includes a PR #50 release gate where the project reports 39/39 latency gates passed and a 97.879% model-time ratio across a paired 10-turn plus three-fork workload.

    Nanocodex - 1

    Community Discussions

    Be the first to start a conversation about Nanocodex

    Share your experience with Nanocodex, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully open-source under MIT OR Apache-2.0. Free to use, modify, and distribute.

    • Full Rust SDK (nanocodex, nanocodex-agent, nanocodex-oai-api, nanocodex-tools)
    • JavaScript bindings for Node.js, browser, and WASM
    • Python bindings via PyO3/Maturin
    • Native CLI/TUI
    • Optional observability, durability, and subagents crates

    Capabilities

    Key Features

    • Owned agent lifecycle with cheap cloneable command handle
    • Retained OpenAI Responses WebSocket sessions with typed history
    • Ordered turn submission with FIFO prompt queue
    • Typed event stream independent from turn result awaiting
    • Code Mode: compositional JavaScript execution tool for the model
    • MCP support (stdio and Streamable HTTP) with BM25 deferred tool search
    • #[tool] attribute macro for defining typed JSON function tools
    • Branching: spawn, fork, fork_from, and SessionSnapshot for resumption
    • Optional nanocodex-durability: append-only journal with SQLite/Postgres stores
    • Automatic USD cost estimation per turn from provider token usage
    • Native CLI/TUI consumer built on Ratatui
    • JavaScript bindings for Node.js, browser, and WASM
    • Python bindings via PyO3/Maturin
    • Optional nanocodex-observability with OpenTelemetry/OTLP tracing
    • Experimental browser automation (nanocodex-browser) with Chromium control
    • Experimental VM workspaces via libkrun (nanocodex-vm)
    • Experimental voice input via GPT Realtime (nanocodex-voice)
    • Experimental evaluation harness with VM-isolated attempts (nanocodex-eval)
    • Subagent task-tree with seven canonical child-agent tools (nanocodex-subagents)
    • Cancellation targeting one active or queued turn with subprocess group cleanup

    Integrations

    OpenAI Responses API
    OpenAI Realtime API
    MCP (Model Context Protocol) servers
    Tokio async runtime
    Tower HTTP middleware
    OpenTelemetry / OTLP
    SQLite
    PostgreSQL
    Cloudflare Durable Objects
    Cloudflare Workers
    Rivet Actors
    Vercel Workflows
    Pyodide (Python in browser)
    Ratatui (terminal UI)
    React
    Vite
    wterm / xterm.js
    libkrun (VM)
    Chromium / CDP (browser automation)
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Nanocodex and help others make informed decisions.

    Developer

    gakonst

    gakonst is the author and maintainer of Nanocodex, a headless Rust SDK for building products around OpenAI coding agents. The project ships a complete owned agent lifecycle with multi-language bindings for Rust, JavaScript, and Python. The repository is hosted on GitHub under Apache-2.0 / MIT dual license and is associated with Paradigm's engineering ecosystem.

    Read more about gakonst
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    agent-proxy-kit icon

    agent-proxy-kit

    A lightweight TypeScript library that normalizes long-running agent and LLM streams into stable, provider-agnostic progress events for UI rendering.

    docx-editor icon

    docx-editor

    Open-source WYSIWYG .docx editor for React and Vue with canonical OOXML, tracked changes, real-time collaboration, and an Agent API for AI-driven document editing.

    Ax LLM icon

    Ax LLM

    An open-source DSPy-inspired framework for building typed, validated LLM calls and agents natively in TypeScript, Python, Java, C++, Go, and Rust.

    Browse all tools

    Related Topics

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    651 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    290 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    83 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions