Nodecode
A Common Lisp coding agent that rewrites its own running program through a single eval tool, shared by terminal, browser, phone and chat bots.
- Source repo
- nodecode-ai/nodecode
- Stars
- ★ 275
- Last updated
- 6d ago
- FARS reviewed
- Oct 30, 2026
- License
- MIT
- Primary language
- Common Lisp
- FA score
- 49/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who want a capability to stick: ask it to read a PDF, it defines
read-pdf, the layer keeps it, and the tool still exists after a restart. - Not a fit if
- Teams that need a sandboxed, least-privilege runtime — Nodecode ships none
- Developers on arm64 Linux or Intel Macs — no builds exist yet
- Workflows that need a fixed, non-self-modifying runtime image
- Website
- nodecode.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-18+0.7 ★/day over 7 days
- Source review
- 49/100 · Major gaps
What does this agent do, and when should you use it?
Nodecode is a coding agent written in Common Lisp that runs as one SBCL process; terminal shells attach to it instead of owning it. The model gets a single tool, eval, which evaluates Lisp inside the running program: whatever it defines executes immediately, is stored one file per definition, committed to git and reloaded at every start. Capabilities are packaged as cells — folders that add a chat room, a provider login, a tool, a skill, an MCP server or a GitHub repo — installed with nodecode add nc://NAME and switched on in every attached shell. A local gateway server is the one endpoint the terminal UI, nodecode web, a phone via /link, Discord/Telegram/Slack bots and nodecode rpc programs all talk to, so a tool written in one client is available in all of them. Model access runs through four wire dialects (openai-completions, openai-responses, anthropic, google) with keys kept in ~/.nodecode/auth.json, and the software is MIT-licensed while your own provider bills the usage. It ships no sandbox: eval runs Lisp and shell commands with everything your user account can do.
You type a request in a shell, the local gateway hands it to the running Nodecode, and the model calls its only tool, eval, to execute Lisp inside the live program: new definitions take effect at once and are kept as one file per definition, git-committed and loaded on every start, so a missing capability becomes a tool the agent writes itself. The agent edits its own context — old turns leave the window whole rather than being rewritten into a summary, (recall-entry N) reads any of them back word for word, and /evict frees room on request. Capabilities arrive as cells: nodecode add nc://NAME installs one from the hub and /cells toggles them; shipped cells cover chat bots, chrome browser control, websearch search and page fetch, mcp server tools, cron scheduled prompts, goal turns-until-check-passes sessions, team/board multi-session work, prs pull-request review, experience reflections and recaps, guard risky-command refusal and qa anonymous counts. The gateway also fronts every client: terminal, nodecode web, /link on a phone, bots configured with nodecode gateway setup discord|telegram|slack, and programs over nodecode rpc, all against the same running agent. Updates land in the running program too — most releases go live one changed definition at a time, with nodecode generations, nodecode rollback N and --pristine for control. Requests are sent in one of four wire dialects to the provider you pick, configured through /models from the models.dev catalog, and /usage reports spend.
- Developers who want a capability to stick: ask it to read a PDF, it defines
read-pdf, the layer keeps it, and the tool still exists after a restart. - Individuals or small teams needing an always-on agent: on Linux and macOS the background gateway starts at login and keeps Nodecode running with no shell open, reachable from the terminal,
nodecode webor a phone via/link. - Teams that want a coding agent inside a chat room:
nodecode gateway setup telegram(or discord, slack) walks one channel from bot token to connected bot, with the token in a private file or env var and allowlists deciding who may send. - People already invested in another agent: first-run setup names a detected Claude Code, Codex, Hermes Agent, OpenCode, Cursor CLI, Gemini CLI and asks before importing keys, instructions, memory, skills, MCP servers, bots and jobs.
- Work that should run without a human in the loop each turn: the
croncell fires prompts on a schedule,goalkeeps a session taking turns until its check passes, andteam/boardlet several sessions work one task in a shared folder. - Maintainers shortening the review loop: the
prscell ranks and reviews pull requests minutes after each push.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://nodecode.ai/install.sh | shirm https://nodecode.ai/install.ps1 | iex
- Config files
~/.nodecode/auth.json- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
On Linux and macOS the install script fetches the build and puts nodecode on your PATH:
curl -fsSL https://nodecode.ai/install.sh | shOn Windows, in PowerShell:
irm https://nodecode.ai/install.ps1 | iexSupported hosts: Linux x86_64 with glibc 2.34 or newer; macOS 15+ on Apple Silicon with Homebrew openssl@3 and zstd; Windows x86_64 with Git for Windows. There are no builds yet for arm64 Linux or Intel Macs. Building from source needs SBCL, Quicklisp, git, python3 and just:
git clone https://github.com/nodecode-ai/nodecode && cd nodecode
just test # run the core suite
just release # pull the shipped cells, dump ./nodecode
./nodecodeA source build does not update itself; pull again and rerun just release.
How do you use this agent?
Run nodecode; the first launch opens setup. It names any other coding agent it finds on the machine (Claude Code, Codex, Hermes Agent, OpenCode, Cursor CLI, Gemini CLI and more) and asks before reading anything — choose Import to bring over keys, instructions, memory, skills, MCP servers, bots and jobs, or Skip and run /import later — then pick a provider, a model and the reasoning effort.
nodecodeInside a shell:
/models # connect a provider from the models.dev catalog and pick its model
/cells # toggle cells with Space
/evict # free context space
/usage # report provider spend
/doctor # list what is missing and the fix for eachProvider keys are saved in ~/.nodecode/auth.json; point base_url at a local server to use a self-hosted model. Add capabilities and clients:
nodecode add nc://cline # install a cell from the hub
nodecode web # open a browser tab on the same agent
nodecode gateway setup discord # or telegram, slack
nodecode rpc # talk to the agent from a program
nodecode gateway # show the background gateway stateGrowth is versioned and reversible:
nodecode generations # list the generations the agent kept
nodecode rollback N # restore generation N
nodecode --pristine # run the binary alone, without what the agent defined
nodecode update # move to the latest release nowSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Self-modification is versioned: every definition the model writes is one file, committed with git and reloaded at start, and
nodecode generations,nodecode rollback Nand--pristinelet you inspect or undo the growth. - One gateway, many clients: the same running agent serves the terminal UI,
nodecode web, a phone via/link, Discord/Telegram/Slack bots andnodecode rpcprograms, so a tool written anywhere works everywhere. - Real provider choice: four wire dialects (
openai-completions,openai-responses,anthropic,google), local servers viabase_url, and a Backup model list for failing turns. - Documented token and cost results on all 25 public ARC-AGI-3 games: 54% fewer tokens and 41% less cost than Claude Code, 66% fewer tokens and 24% less cost than the Codex CLI on the same models.
- Shipped cells do concrete jobs —
chrome,websearch,mcp,cron,goal,team/board,prs,guard,qa— and new ones install withnodecode add nc://NAMEor can be written by the agent itself.
- No sandbox at all:
evalruns Lisp and shell commands with your full user authority, and theguardcell is explicitly not a security boundary. - Narrow platform coverage: Linux x86_64 with glibc 2.34+, macOS 15+ Apple Silicon, Windows x86_64 with Git for Windows and no background gateway; no builds for arm64 Linux or Intel Macs.
- The runtime mutates itself — most releases go live in the running program definition by definition — so the Lisp image you are debugging may have changed underneath you, and source builds never self-update.
- A cell, and any message in an allowlisted chat channel, is code with full access to your files and keys, so third-party cells must be vetted by you.
- Benchmark evidence comes from the project's own research write-up (Foresight Labs FL-2026-006), and the GPT-6.1 Sol runs were routed through a LiteLLM gateway and a third-party API relay.
How does this agent compare with similar options?
The README benchmarks against Claude Code and the Codex CLI on the 25 public ARC-AGI-3 games (183 levels, official scorecard rule, all harnesses at xhigh reasoning): on Claude Opus 5.5 both Nodecode and Claude Code score 100, with Nodecode using 181M tokens ($124) against 393M ($210); on GPT-6.1 Sol both win all 25 games, Nodecode at 58M tokens ($33) against 172M ($43) for the Codex CLI. First-run setup can also import keys, instructions, memory, skills, MCP servers, bots and jobs from Claude Code, Codex, Hermes Agent, OpenCode, Cursor CLI, Gemini CLI and other detected agents.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Nodecode This agent | 49 · Major gaps | CLIFree + model costs | ★ 275 | 6d ago | Common Lisp | OpenAI API · Claude API |
| Kun Workspace | 57 · Major gaps | Desktop appFree + model costs | ★ 6.4k | today | TypeScript | ChatGPT · Codex · OpenAI API · Claude API |
| agentty | 73 · Some gaps | CLIFree + model costs | ★ 561 | 1d ago | C++ | OpenAI API · Claude API |
| zerostack | 69 · Some gaps | CLIFree + model costs | ★ 1.8k | 5d ago | Rust | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
README openly states there is no sandbox and eval runs Lisp and shell with full user authority; guard is self-described as not a security boundary, so least_privilege is 1. Importing another agent's keys/memory asks first, but chat messages and cells inherit equal authority, so user_confirmation is 1. Data flow is documented (~/.nodecode/, update feed, models.dev, opt-in qa counts), giving 2. Keys live in auth.json/private files but no encryption or minimization is described, so sensitive_data_handling is 1. Dependency security only names Quicklisp/openssl/zstd with no pinning or audit, giving 1. External effects (self-update, background gateway, login autostart) are described but default-on with coarse control, giving 1. generations/rollback/--pristine give a real rollback path, scoring 2. NOTICE and credits list cl-tuition and CC BY sources, so source_attribution is 2.
README, CI/release workflows and proof scripts corroborate the build and upgrade flow, so self_consistency is 2. Dependency availability relies on external sites and Quicklisp with no version lock, giving 1. /doctor and failure hints exist but are thin, so failure_messages is 1.
Targets terminal, browser, phone, chat bots and RPC, so audience_and_scenarios is 2. Supported and unsupported platforms are listed explicitly, giving capability_boundaries 2. Trigger precision (when eval fires, guard rules) is described only loosely, giving 1. Environment fit (Linux/macOS/Windows differences, glibc requirement) is well covered, giving 2.
README is well structured with rich collapsible FAQ, so information_architecture is 2. Install commands and source-build steps are complete, giving install_notes 2. Naming (cell, generation, gateway) is stable but versioning appears only as a v0.1.2 example, so naming_stability is 1. Examples and FAQ are ample, giving 2. Safety and platform limits are called out, giving known_limitations 2. MIT LICENSE is complete, scoring 3. No CHANGELOG; versions rely on tags, so versioning_changelog is 1. Maintenance points to Discord/email while publisher identity is unverified, so maintenance_responsibility is 1.
Output usability is supported by a demo and docs, giving 2. Differentiation (self-rewriting, cells, context editing) is clear, so marginal_value is 2. Cost comparison comes from in-house research and a third-party relay, weakly reproducible, so cost_benefit is 1.
ARC-AGI-3 benchmarks and paper citations are traceable but self-reported, so claim_traceability is 1. README, CI and proof scripts partially corroborate each other, giving cross_source_corroboration 1. Facts and inferences (e.g. 'fewer tokens') are mixed, so fact_inference_separation is 1.
- No sandbox: eval runs Lisp and shell with full user authority and guard is not a security boundary; run in a container or VM.
- Self-update and the background gateway are on by default and start at login; set update.mode or disable the gateway manually.
- Importing another agent's keys and memory widens credential exposure; confirm each item.
- Cost comparison comes from in-house research via a third-party relay and is weakly reproducible independently.
- Publisher identity is unverified; maintenance and update paths depend on external sites.
FAQ
Does Nodecode itself cost anything?
/usage reports the spend.Can it be stopped from running dangerous commands?
guard cell refuses listed risky shell commands before they run, but the README states plainly that it is not a security boundary and no sandbox ships. Run it in a container or VM before leaving it working alone.Which providers and models work?
openai-completions, openai-responses, anthropic or google. /models connects one from the models.dev catalog, saves its key in ~/.nodecode/auth.json and picks the model; a local server works through base_url, and the Backup tab lists models a failing turn moves on to.Do the agent's own definitions survive updates?
nodecode generations lists the generations and nodecode rollback N restores one.Does Nodecode work on Windows?
irm https://nodecode.ai/install.ps1 | iex.Is Nodecode open source?
Is Nodecode safe to use?
Is Nodecode still maintained?
Who makes Nodecode?
What is Nodecode's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.