v0.9.7 source-available What’s new in v0.9.7
The model is a choice.
The harness is what you keep.
PanCode is one harness for the models and coding agents you already use. It routes each task, runs commands inside limits you set, and checks finished work against what actually ran.
curl -fsSL https://pancode.dev/install.sh | shThe last-page test fails. Find the cause, fix it, and run the test check.
▸ explored 1 search ✓
│ last page|last-page
$ checked test · 1.5KB ✗ failed
│ ℹ fail 1
▸ explored 2 files, 1 search ✓
⇢ chained 2 steps ✓
Fixed the last-page bug. src/paginate.ts:10 rounded 25 books at 10 per page down to 2 pages, so the guard at src/server.ts:36 returned 404 for page 3. Using Math.ceil counts the partial page. The test check passed: all 7 tests, including the last-page test.
✓ Done · 18:33
default · bookshelf-api · main* │ ✓ readyctx ▰▱▱▱▱▱ 6% · low · gpt-6.2-sol
What PanCode is
A harness for coding work,
in three steps.
PanCode runs in your terminal, with a desktop app in alpha. It works beside the coding agents you already use and replaces none of them.
- Step 1
Install
One command installs a verified bundle that carries its own Node.js. It needs no root and no account.
Install commands - Step 2
Connect a model or an agent you already use
Connect a modelpancode configurefinds the model connections on this machine, or takes an API key, a subscription, a model server such as Ollama or vLLM, or a setup file from your lab. Claude Code, Codex, OpenCode, Pi and the Antigravity CLI join as workers. - Step 3
Give it work
Describe the task in the terminal or the desktop app. PanCode routes it, runs commands inside the limits you set, and checks the result against what ran.
Your first session

pancode gui --open.Around any agent, five things are decided. PanCode holds them:
1 / Route
Use every model and agent
you already have.
PanCode connects a model server on your own GPU, a lab gateway, a cloud API or a subscription you already pay for. /model changes the model mid-session, and chat and workers can run on different models. A 32K local model gets the same tools, rules and checks as a frontier API.
default · bookshelf-api · main │ ✓ readyctx 272k · low · gpt-6-luna
default · bookshelf-api · main │ ✓ readyctx 200k · low · claude-sonnet-5.5
default · bookshelf-api · main │ ✓ readyctx 200k · low · gemini-4-argon
/model switched the model twice and the context size followed.2 / Verify
“Done” is a claim,
checked against what ran.
Declared tests, builds and numerical comparisons run through verify and are recorded with their exit status. An edit after the last passing check reopens the claim. A turn that ends without a reply is failed, never Done. In a script, pancode run --verify "npm test" --fail-on-verify exits 1 when the check fails.
$ checked test · exit 0 · 22 lines ✓
│ … 20 earlier lines · /view
│ ℹ pass 9
│ ℹ fail 0
■ GET /books?year=1847 now returns only books published in 1847. The filter runs before pagination, so totals count only matching books. Added tests for filtering and invalid years. The test check passed all 9 tests.
✓ Done · 8 calls · in 63.7k · out 710 · cached 44.9k · cache write 4.2k · 18:26
3 / Contain
Let it work,
inside limits you set.
Shell commands run in an OS sandbox when the host has one, and files are snapshotted before they change. /rewind restores them. Hard blocks on protected paths stay, even in yolo. External agents and workers on fleet nodes run outside PanCode’s sandbox.
▌ Check that .env sets DATABASE_URL: run grep -c DATABASE_URL .env with bash and tell me exactly what happens. If it is blocked, name the rule.
$ bash grep -c DATABASE_URL .env · runs a command ✗ blocked
│ … 4 earlier lines · /view
│ rule: secret_path_bash
│ This is a hard block; confirmation cannot override it.
■ The command did not run. PanCode blocked it under the secret_path_bash rule because .env matches a zero-access path. The block cannot be overridden in this run, so whether DATABASE_URL is set remains unverified.
✓ Done · 18:27
4 / Delegate
Hand bounded tasks
to a graded fleet.
PanCode hands bounded tasks to workers: its own on any model you connected, or Claude Code, Codex, OpenCode, Pi and the Antigravity CLI, also a fleet connection. Each run takes a slot on its endpoint, and each role owes specific evidence. A worker that returns without it can be retried once on another model. pancode fleet land lands the branches a run kept.

5 / Remember
Long tasks
keep what matters.
A context window fills. PanCode moves old tool output out to exact records before any paid summary runs, and a summary carries file hashes, the latest numeric results and your request word for word. A note tied to a command that succeeded becomes a lesson once other sessions demonstrate it or you approve it.

What it costs
Free for individuals, small organizations,
noncommercial research and teaching.
- Free to use
- Free for individuals, small organizations (fewer than 100 people and under $1M revenue), and noncommercial research and teaching.
- Source on GitHub
- The full source is available under the PanCode License 1.0, to read, build and file issues against.
- No account
- PanCode runs on your machine with your own model connections and sends nothing home.
- Larger organizations
- One person may evaluate PanCode for the organization for up to 32 consecutive days. After that, the organization needs a commercial license from PanStudio.
Install
Install PanCode
and connect a model.
You need a model with tool calling. Linux, macOS and WSL are the primary platforms.
macOS, Linux and WSL
curl -fsSL https://pancode.dev/install.sh | shOne verified bundle with its own Node.js, no root, x64 Linux with glibc as old as 2.17. On Linux it offers the desktop app at the end. The macOS sandbox-exec profile is not yet verified on a real Mac. Open a new terminal afterwards so pancode is on your PATH.
Windows PowerShell
irm https://pancode.dev/install.ps1 | iexNative Windows is best effort and has no sandbox. The install has been run by hand on one x64 machine, so WSL remains the recommended route.
npm or bun
npm install -g @panstudio/pancodebun add -g @panstudio/pancodeNeeds Node.js 22.19 or newer on your PATH. An npm install updates with pancode upgrade. After a bun update, run pancode upgrade --post-install.
- Connect a model
pancode configure - Start the terminal
pancode - Or the desktop app · alpha
pancode gui --open
Verify the download Install on a cluster Quickstart and troubleshooting
Questions
Common questions.
Does PanCode replace my coding agent?
No. PanCode works beside it. Panos can hand a bounded task to Claude Code, Codex, OpenCode, Pi or the Antigravity CLI, and pancode interop adopt brings an agent’s skills and prompts in after you review them. External agents run outside PanCode’s sandbox.
Do I need a PanCode account?
No. PanCode runs locally with your own model connections. Your cloud provider may require credentials and charge for inference.
Can I use a local model?
Yes. Connect a supported server or compatible API endpoint. Choose a model that supports tool calling. The connection guide covers setup.
What can PanCode change on my machine?
PanCode can edit files and run commands. At default autonomy, your session’s bash and run_script calls and dispatched native workers run in an OS sandbox when available (bubblewrap on Linux, an unverified sandbox-exec profile on macOS). yolo keeps that sandbox by default. Without a sandbox backend, or at unconfined yolo, commands run with your user’s access. Review permissions and changes as you work.
Does it update itself?
Installer installs update in the background, at most once a day. On Linux and macOS, npm, pnpm, bun, and volta installs you own update after an interactive session quits. Set interface.autoUpdate: false to keep the notice and update by hand with pancode upgrade.
What is not finished?
PanCode is pre-1.0, so commands and settings can change between minor releases. The desktop app is in alpha. The macOS sandbox profile is not yet verified on a real Mac, and native Windows has no sandbox. On the research pages, every first experiment is proposed and not yet run.