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.

Stars
★ 275
Last updated
6d ago
FARS reviewed
Oct 30, 2026
License
MIT
Primary language
Common Lisp

At a glance

How it runs
CLISelf-hosted service
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
SBCLQuicklispgitpython3justHomebrew openssl@3 and zstd (macOS)Shell / CLINetwork accessLocal filesystemMCP Server
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

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.

  1. 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.
  2. 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 web or a phone via /link.
  3. 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.
  4. 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.
  5. Work that should run without a human in the loop each turn: the cron cell fires prompts on a schedule, goal keeps a session taking turns until its check passes, and team/board let several sessions work one task in a shared folder.
  6. Maintainers shortening the review loop: the prs cell 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 | sh
  • irm 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 | sh

On Windows, in PowerShell:

irm https://nodecode.ai/install.ps1 | iex

Supported 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
./nodecode

A 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.

nodecode

Inside 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 each

Provider 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 state

Growth 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 now

Safety 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Self-modification is versioned: every definition the model writes is one file, committed with git and reloaded at start, and nodecode generations, nodecode rollback N and --pristine let 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 and nodecode rpc programs, so a tool written anywhere works everywhere.
  • Real provider choice: four wire dialects (openai-completions, openai-responses, anthropic, google), local servers via base_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 with nodecode add nc://NAME or can be written by the agent itself.
Limitations
  • No sandbox at all: eval runs Lisp and shell commands with your full user authority, and the guard cell 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?

FollowAgents source review · FARS-2.1
Major gaps
49/ 100 5-point scale 2.5 / 5
Trust 13/29
Reliability 6/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability10 / 18 · 2.8/5

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.

Convention10 / 18 · 2.8/5

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.

Effectiveness7 / 13 · 2.7/5

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.

Verifiability3 / 8 · 1.9/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Oct 30, 2026 Reviewed revision cfa3be26836b
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/nodecode.svg)](https://followagents.com/en/agents/nodecode)
<a href="https://followagents.com/en/agents/nodecode"><img src="https://followagents.com/badge/nodecode.svg" alt="FARS review"></a>

FAQ

Does Nodecode itself cost anything?
No. It is MIT-licensed and runs on your own provider key, so the provider bills you; /usage reports the spend.
Can it be stopped from running dangerous commands?
The 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?
Any provider speaking 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?
They are not silently dropped: definitions are kept one file per definition, git-committed and loaded at every start, and most releases are applied to the running program one definition at a time. nodecode generations lists the generations and nodecode rollback N restores one.
Does Nodecode work on Windows?
Yes. The install notes on this page include a Windows command: irm https://nodecode.ai/install.ps1 | iex.
Is Nodecode open source?
Yes. The source code is on GitHub (nodecode-ai/nodecode) under the MIT licence.
Is Nodecode safe to use?
FollowAgents' FARS review (Oct 30, 2026) scored Nodecode 13/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Nodecode still maintained?
Yes. The latest commit on GitHub is from 2026-11-18, within the last 30 days.
Who makes Nodecode?
Nodecode is published on GitHub by the account nodecode-ai. FollowAgents has not verified which person or company is behind that account.
What is Nodecode's official website?
The project's GitHub repository lists https://nodecode.ai as its website. That link is set by the repository owner; the source code itself is on GitHub (nodecode-ai/nodecode).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts