PanCode / Tutorials
Learn PanCode
on a real repository.
Each guide is one task on a repository you know, with the commands to run and what you should see. Pick the path that fits you, or open one guide.
Path 1 / Coding agents
You already use a coding agent
Keep your agent and put the harness around it. By the end you can check a change against the tests you name, hand bounded work to the agents you already use, and leave a run unattended within limits.
Path 2 / Science and HPC
You write research code and run it on a cluster
For research code, where a wrong number matters. By the end you can follow a numerical fix to recorded verification, keep a speed-up only when a measurement proves it, and coordinate workers on other machines over SSH.
Path 3 / Local models
You run your own models
No account and no key. By the end you can choose models for conversation and for delegated work, read what each session cost, carry a long task through a handoff, and compare your models blind.
Start with these

Getting started / 5 min
Your first session with PanCode
Connect a model, open a repository, and ask PanCode to explain how it builds and runs its tests.
Read the tutorial
Getting started / 4 min
Desktop or terminal: find your workspace
See both interfaces, learn how to launch them, and choose where to start your next coding session.
Read the tutorial
Safety and autonomy / 7 min
Let PanCode work without watching every call
Check the sandbox, undo a change with /rewind, tell the safety judge about your machine, and know when yolo is the right call.
Read the tutorial
Checks and records / 8 min
Script PanCode in CI
Build a CI job on one JSON result, typed exit codes, run limits, a dry run, and an answer validated against your schema.
Read the tutorial
Models and agents / 6 min
Choose a model for your project
Connect a local server, a cloud API, or a supported subscription route, then choose models separately for conversation and delegated work.
Read the tutorial![Terminal Local coding agents panel with 4 proposed and 0 connected: Claude Code, Codex, OpenCode and GitHub Copilot are listed as not configured with their launch commands, and the detail for Claude Code shows its path under /home/researcher, [a] connect, which appends exactly this entry to delegation.agents, [x] decline, and the start of that entry.](/assets/guides/tui-interop.webp?v=295727628a)
Models and agents / 6 min
Coordinate the coding agents you already use
Hand a bounded task to a coding agent you have installed, tell a managed run from an interactive handoff, and review what comes back before you combine it.
Read the tutorial
Checks and records / 5 min
Check a change against your repository
Name the checks that matter, run them through verify, and see whether a passing result still matches the files you are reviewing.
Read the tutorial
Models and agents / 4 min
Run PanCode on a local model
Connect a local server with no account or key, check what PanCode learned about it, and see what else to check if code must stay on your machine.
Read the tutorialAll guides
Getting started
- Your first session with PanCodeConnect a model, open a repository, and ask PanCode to explain how it builds and runs its tests.5 min
- Desktop or terminal: find your workspaceSee both interfaces, learn how to launch them, and choose where to start your next coding session.4 min
Models and agents
- Choose a model for your projectConnect a local server, a cloud API, or a supported subscription route, then choose models separately for conversation and delegated work.6 min
- Coordinate the coding agents you already useHand a bounded task to a coding agent you have installed, tell a managed run from an interactive handoff, and review what comes back before you combine it.6 min
- Diffusion models in the terminalConnect Inception's Mercury models for chat and workers, and watch an answer refine as a whole instead of arriving token by token. Terminal display only3 min
- Run PanCode on a local modelConnect a local server with no account or key, check what PanCode learned about it, and see what else to check if code must stay on your machine.4 min
- Set up a lab from one setup fileWrite one YAML file that connects every lab member to your model gateway, check what it may carry, and test the route.5 min
Checks and records
- Script PanCode in CIBuild a CI job on one JSON result, typed exit codes, run limits, a dry run, and an answer validated against your schema.8 min
- See what a session cost and what a run didRead session cost and stop reasons from local journals, verify a sealed record, and prepare an archive that uploads nothing.4 min
- Check a change against your repositoryName the checks that matter, run them through verify, and see whether a passing result still matches the files you are reviewing.5 min
- Report a problem without leaking your machineDraft a bug report, read the exact text with your paths, names and keys masked, choose how it leaves, and share a diagnostic bundle only if you want to.5 min
Safety and autonomy
- Let PanCode work without watching every callCheck the sandbox, undo a change with /rewind, tell the safety judge about your machine, and know when yolo is the right call.7 min
- Run it unattended within limitsStart a headless run with a cost ceiling and a timeout, ask read-only questions, schedule turns, and know what stops each one.6 min
- Keep named files with the models you choseDeclare which paths and tool results may reach which model targets, approve the policy, and see a request to any other destination refused. Advanced, opt-in3 min
Workers and fleets
- Run a playbook from plan to commitRun the built-in sdlc playbook on one task, watch it work, and read the three commits it makes on your branch.5 min
- Work from a laptop with remote workersCoordinate workers on other machines over SSH from your laptop, once each node has the same PanCode version and the project at the same path.11 min
- Ask several agents at oncePoll two to five agents on one question and read the vote, or give a council roster one task and let a judge write a single answer.5 min
Context and memory
- Keep a long coding task on trackSee what fills the context, carry your decisions through a handoff, and resume the right branch of a long task.4 min
- Search by meaning and record worker runsIndex code, memory, and experiment folders with a local embedding model, and attach a redacted terminal recording to a worker's evidence. Beta, off by default6 min
Scientific software
- A numerical change, checked with PanCodeFollow a temperature-conversion example through a floating-point test failure, a correction, and recorded verification.5 min
- Pre-register a benchmark before you measureUse the experiment-protocol skill to lock thresholds, tolerances, and verdict conditions into a contract you commit before any result exists.5 min
- Keep results outside the tree with the project storeStore a result with a note, check it for drift, read it from a script, and let a worker write into one granted tag.5 min
- Run a research campaign and a blind arenaKeep a speed-up only when a measurement proves it and the answers still match, then compare model answers without knowing which model wrote them.7 min
Extend and share
- Add skills and plugins deliberatelyPreview a project skill or plugin, inspect its package pin, and load only what your task needs; installing is not a permission grant.5 min
- Write an extension with declared capabilitiesScaffold, test, and install a small extension, and see exactly what approving its capabilities covers.5 min
- Panes and docks: files and workersShow and hide a file browser and a live worker dashboard beside the terminal conversation with one key each. Experimental, off by default, needs Herdr5 min
- Share a folder with a teammate or a second terminalRun two sessions in one project, keep each person's state private, and commit project settings that can only make PanCode stricter.4 min