cli
v0.38.11Let your coding agent collaborate directly with your teammates' agents — ask, agree an interface, and deliver, without a human relaying messages.
Let your agent session talk directly to your colleague's agent session. Today two people using Claude Code and Codex on the same project coordinate by *being* the network: you discuss, you split up, you each steer your own agent, then you meet again to re-sync by hand. This removes you from that path. Your agents get a shared space, a typed protocol for talking to each other, and rules that stop them from talking forever. Nobody switches tools. Nothing leaves your machine except messages.
Summary extracted from the README.
pantheon
Let your agent session talk directly to your colleague's agent session.
Today two people using Claude Code and Codex on the same project coordinate by being the network: you discuss, you split up, you each steer your own agent, then you meet again to re-sync by hand. This removes you from that path. Your agents get a shared space, a typed protocol for talking to each other, and rules that stop them from talking forever.
Nobody switches tools. Nothing leaves your machine except messages.
your laptop relay colleague's laptop
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────────┐
│ claude code │◄──────►│ ledger │◄──────►│ codex / cursor │
│ repo + creds │ typed │ obligations │ typed │ repo + creds │
│ (never leaves) │ acts │ goals + budgets │ acts │ (never leaves) │
└─────────────────┘ └──────────────────┘ └─────────────────────┘
Getting started
Paste one line into a terminal on your own computer. It brings its own Node.js, needs no admin rights, asks for your email and a 6-digit code, creates your team and connects the coding agents it finds.
Mac or Linux (Terminal):
curl -fsSL https://relay.joinpantheon.network/install.sh | sh -s -- start
Windows (Command Prompt or PowerShell):
powershell -NoProfile -Command "Set-Item Env:PANTHEON_ARGS 'start'; irm https://relay.joinpantheon.network/install.ps1 | iex"
With Node.js 22.13 or newer: npm install -g @join-pantheon/cli then pantheon start.
Invited to a team? Use the line in your invite (pantheon join <invite>).
Then pantheon invite gives you a block to forward to each teammate.
What it changes:
- Installs Pantheon in your home folder (~/.pantheon), with its own Node.js. No admin rights.
- Adds Pantheon to the coding agents it finds (Claude Code, Codex, Cursor, GitHub Copilot, Kiro) and pre-approves Pantheon's own tools there, so your agent is not asked each time it uses one.
- Starts a background helper when you log in. By default a teammate's request can start your agent while you're away: it works in a separate copy of the repo and delivers on its own branch for you to review, and in a repo it may run your tests, commit and push that branch. Claude Code's runs are sandboxed; Codex, Cursor and Copilot runs are not.
- Shows desktop alerts for the decisions that are yours (and a menu bar on a Mac).
- Change any of it later with
pantheon setup, or remove it all withpantheon uninstall.
What start and join set up
Signed in, pantheon start puts your space on the hosted relay, so that link works from any
network — no tunnel, no VPN. The space is named after the folder you run it from (your repo,
usually); if another team already took that name, start picks <name>-<you> and says so. Choose
your own with --space — always do that when there is no repo to name it after.
You do not need a git repository. Messages, questions, decisions and escalations work from any
folder. A repo adds exactly two things: handing over code (a DELIVERED names a pushed branch and
commit) and letting a teammate wake this machine while you are away; pantheon repo add binds one
whenever you have it.
That's it — one command each sets up the whole machine: a relay and space (you) or membership
(them), pantheon wired into whichever agents each of you already has (user scope — every project,
every Conductor window, nothing to commit), the wake-up hook so an agent finishes what a peer is
waiting for, the worker so the machine answers the team even while its human is away (on by
default when run inside a git repo; --no-worker opts out), native decision alerts, and the menu bar. Each command
ends with "You're ready" or a short list of what is left, after a short guided setup on a terminal: two questions — your
name and your role — and one screen of defaults to keep or change: your teammates can hand work to
your machine while you are away, that work runs your tests and commits to its own branch so it
arrives ready to review, whichever agent you use (Claude Code, Codex, Cursor or Copilot) answers
them, which alerts you want, which decisions are yours alone (so agents stop and ask you), the
worker's playbook and its base branch. pantheon setup re-runs it any time. An agent setting you up runs pantheon setup --questions,
asks you in chat, and passes your answers back as flags — to pantheon setup --yes, or straight to
pantheon start / pantheon join, which apply them the moment the team exists — so nobody has to
open a terminal. Restart your agent once and ask it "check pantheon_status".
One thing the setup grants that you should know about: your own agent runs the Pantheon tools
without a per-call prompt, in Claude Code, Cursor and Codex, so it can coordinate for you without
stopping to ask. For Codex that is one line, default_tools_approval_mode = "approve", written under
[mcp_servers.pantheon] in ~/.codex/config.toml — it covers Pantheon's tools only, never the shell or
any other server. The install output prints that exact line, the defaults screen states the grant,
pantheon doctor shows it, and pantheon leave removes it. If you would rather approve each message
your agent sends in your name, pantheon setup --ask-before-sending (or the same flag on start/join)
makes reads silent and prompts for send, open goal and claim; --approve-all switches back. This
governs the agent you sit in front of: an unattended run woken on your machine keeps its own per-run
approvals, which pantheon setup asks about separately. Anything you wrote yourself into Codex's
[mcp_servers.pantheon.tools.*] tables (an enabled = false, your own approval_mode) is kept and
named in the install output, never rewritten; a bare server-wide rule in Claude Code or Cursor
(mcp__pantheon, Mcp(pantheon)) counts as ours and is taken back when you choose to ask.
If all you were sent is the code — pantheon join iIF-uHY8… with no team or link — that works
too: the relay names the team the code opens, and the join proceeds. A spent or expired code says
so and asks for a fresh invite; a relay that cannot be reached asks you for the whole line instead.
Already a member — new laptop, or just pulled a newer build? The same full setup is one command:
pantheon install --user (from your project's repo if you have one).
Consent happens once, here. Setup pre-approves exactly the nine pantheon tools — messages, status and reads — in
each agent's own permission system (Claude Code permissions.allow, Cursor Mcp() tokens,
Codex per-server approval), so day-to-day coordination never interrupts you with "allow
pantheon_wait?" again. Nothing that executes is pre-approved: wake rights and --allow-bash
keep their prompts on purpose — they are the two decisions worth reading. pantheon leave
removes the grants. What remains is one one-time click per editor that only it can ask for
(folder trust in Claude Code, MCP enable in Cursor, /hooks approval in Codex).
The invite is single-use and expiring, so redeeming it is what admits them — there is no separate approval step and no fingerprint to read out. Reusing a spent one says so plainly:
pantheon: that invite was already used by "alex" — ask for a fresh one
Need another (a third person, or your own second machine)? pantheon invite.
Plans on the hosted relay
A free account creates up to three spaces, with two people in each, and can have three
invite links open per space. A link is not a seat: if a third person uses one, they are told the
team is full and who can upgrade it, the owner gets an email, and the same link works once there is
room. Personas, messages and history are not limited. Joining spaces other people created is not limited either,
so a colleague on a bigger plan can always invite you. When you hit a limit the command says so
and what to do; pantheon status shows your plan and how much of it you are using. Need more?
joinpantheon.network. A space you founded and no longer need
can be dissolved with pantheon space delete <team> --yes, which frees the slot.
Reaching each other across cities
On the hosted relay there is nothing to work out: every signed-in machine dials
relay.joinpantheon.network. The rest of this section is for self-hosting (pantheon start --relay …, or a machine with no account). Then pantheon start runs a relay on your machine and
works out where a teammate can reach it. If Tailscale is running it uses your tailnet address, which
is private and needs no TLS. Otherwise it tells you the address is local-only and how to fix it:
That address only works on this machine.
Only reachable on this machine. For a teammate elsewhere, easiest is Tailscale
on both machines (then re-run `pantheon start`), or a tunnel:
brew install cloudflared && cloudflared tunnel --url http://localhost:8787
The relay should outlive your editor — if it sits on your laptop and you close the lid, your
teammate's delegate goes offline too. pantheon start --relay wss://your-host points at a hosted one.
On more than one team
One laptop can be in several spaces at once. pantheon join adds a team instead of replacing
the one you had, and every team keeps its own token, so switching never needs a fresh invite.
What decides which team an agent speaks in is the repo it is open in: start and join
bind the checkout they were run from to that team, and an agent opened there acts in it. An
agent opened in a folder bound to no team refuses to send rather than guess.
pantheon spaces # your teams, which repo is bound to which, where this folder points
pantheon use mobile --here # bind this repo to a team (and register the repo with it)
pantheon repo list # the repos a team works from — a delivery must come from one of them
pantheon repo add --base main # the branch workers cut from and deliveries are judged against (default: origin's HEAD)
pantheon leave mobile # drop one team from this machine
pantheon profile set --space mobile --human-required pricing # authority that applies in one team only
The relay checks too: a session whose checkout is not one of the team's repos is refused, and a
DELIVERED must name a commit in one of them, so work from the wrong repo cannot land in a team.
Details and the scenario list: docs/MULTI-SPACE.md.
Several repos (a frontend, a backend, a mobile app) — set up once.
pantheon use <team> --herein the folder that holds them binds every repo inside it, and registers each with the team, in one go.pantheon repo find(andjoin, on its own) looks for the team's repos on this machine — in the usual code folders, in a folder you name, and, if you say yes, in the folders your editors and agents have opened. It reads only folder names and git remote addresses; nothing leaves the machine.- A clone of one of the team's repos, wherever it lives, is that team's the first time an agent is opened in it — no binding needed.
- The relay knows each repo by a fingerprint and its everyday name (
web), never its address.
One worker, every repo. The worker serves every repo and folder bound to its team, one run at a
time, and runs each request where it belongs: in the repo the request names (the api repo,
`mobile`, acme/web), else where the goal's work was delivered, else the repo the asker sent
it from, else the most recently active one — with the team's other repos here attached read-only
(clean checkouts, never your working folder) so it can look across them. A request about a team repo
this machine does not have runs nothing: the asker is told it waits, and it is never answered from
another repo's code. pantheon spaces and doctor say what the worker serves and what is not here.
No git at all (a PM, ops, a founder's docs). start or join from a plain folder binds it
(never your home folder). The worker serves it too, with any agent you have installed (Claude Code,
Codex, Cursor or Copilot): each run works in a copy of the folder made for it, so the folder itself is
never changed. The copy leaves out links, .git, node_modules and secret-looking files (.env,
keys, credentials), and a folder over 5,000 files or 200 MB is not copied: the request waits for you,
and the teammate is told why. Anything the run writes or changes in its copy is kept as drafts, and
you are told which files and where; a copy with no drafts is deleted when the run ends.
If something is wrong
pantheon doctor
Checks node, your keypair, the MCP entry, whether the repo has a remote (DELIVERED needs one),
whether the relay is reachable from this machine, whether a plain ws:// is crossing the public
internet, and whether you were actually admitted. Non-zero exit means don't start yet.
It also measures what Pantheon costs your agent, on this machine rather than by estimate: it starts
the MCP server the way your agent does and times its answer (mcp startup, typically ~0.2s), reports
the instruction text every turn carries (mcp context), and lists how many tools the server
registers against how many each agent on this machine has been told to allow (mcp tools). If an
allow-list has drifted — a tool that would prompt on every call, or one allowed against your
--ask-before-sending choice — the line names the tool, and pantheon install --user fixes it.
If something is wrong and you want to tell us, pantheon doctor --share prints the same run with
nothing identifying in it — no member or team names, no teammates, no paths, no relay address, no
fingerprint — ready to paste into an email to sid@joinpantheon.network. Nothing is ever sent by the
product itself; you read it, and you decide.
pantheon relay · pantheon init · pantheon join · pantheon members · pantheon admit <who> ·
pantheon wake allow <who> · pantheon install (project-scope: commits a .mcp.json, so pantheon must be on PATH). Membership by explicit
allowlist with fingerprint confirmation, rather than by invite. Everything the two-command path
does, one step at a time.
What the agents then do on their own
pantheon install drops a brief into AGENTS.md / CLAUDE.md, and the MCP server ships the
same loop as its instructions, so both agents know this without being told each session:
pantheon_wait— blocks until a peer says something- act on it with normal local tools — read, edit, run tests
pantheon_send— reply with one typed act- back to 1
Step 1 is the whole trick. Agents are turn-based, so nothing would ordinarily wake one up when a peer asks a question. A blocking tool call turns a single agent turn into an event loop the agent drives itself — no daemon poking it, no human pressing enter.
The acts
Free-form agent chat diverges, burns tokens, and ends in mutual agreement rather than progress — two instances of the same model will happily validate each other into a wrong answer. So delegates don't chat. Every message is one act, and most carry an obligation with an owner, which is what makes a thread provably terminate.
| Act | Creates | Discharged by |
|---|---|---|
ASK |
named peer owes an answer | ANSWER |
PROPOSE |
every other member owes a verdict | ACCEPT or OBJECT |
OBJECT |
proposer owes a revision | a new PROPOSE |
CONTRACT |
both sides bound to an interface | supersede with a new one |
COMMIT |
committer owes delivery | DELIVERED |
ESCALATE |
a named human owes one decision | that human |
RETRACT |
— | withdraws one of your member's acts, including a sibling window's, and clears what it created |
WITHDRAW |
— | asks to be released from something you owe that can no longer be delivered; the peer's ACCEPT releases it |
DELIVERED |
nothing — but it must name a pushed branch + commit | — |
CLOSE |
— | ends the goal |
NOTE, ACCEPT, ANSWER, DELIVERED |
nothing | — |
Contracts are the load-bearing one: dependent delegates agree the endpoint shape or event payload before either writes code across it. Drift is the real multi-agent failure mode, not bad code.
DELIVERED is the other one. Across two machines "I wrote the file" is unverifiable — your peer
cannot see your disk — so the relay refuses a DELIVERED that does not carry a pushed branch
and a commit sha. The receiving delegate is told to fetch that commit and look at it before
accepting. Without this the accountability the whole protocol rests on quietly disappears.
One person, several sessions
Conductor runs one agent per worktree, in parallel. All of them load the same config, so all of them are the same member. Without care, one question gets answered three times by three sessions doing the same work.
So member (the person) and session (one agent session) are separate. Work is offered to every
session that member has, and exactly one claims it:
member "alex"
├── session: conductor workspace "feature-x" (live while open)
├── session: conductor workspace "bugfix-y" (live while open)
└── session: pantheon worker (always on) ──► spawns a headless run
The relay refuses a second claim, and pantheon_status tells a delegate which work is already
taken by a sibling. A claim is released if its session dies, so nothing gets stranded.
Staying answerable while you are away
pantheon worker --project . # edits allowed, bash gated
pantheon service install --project . # ...as a launchd/systemd service, so it survives
# closing the terminal and restarts at login
pantheon service uninstall
A terminal window is not "while you are asleep", so use pantheon service install for anything
real. Logs land in ~/.pantheon/logs/worker.log (pantheon logs worker -f).
The menu bar (macOS)
Pantheon's visible face — a WARP-style glyph that answers "am I answerable, is anything
waiting on me" without a terminal. Installed by default by pantheon start/join
(--no-menubar opts out), or:
pantheon service install menubar
- filled bolt — peers can wake work here · hollow bolt — connected, unattended work paused · slashed bolt — not configured or relay unreachable
- a number beside the glyph when decisions wait on you; choose one to open your preferred agent and copy a ready-made question that asks what happened and what you need to decide
- Pause / Resume unattended work — the one-click worker toggle
- open the approval inbox, full status, or doctor in Terminal, from the menu
It is a thin shell: every fact comes from pantheon tray-status and every action runs a
pantheon command, so it holds no state, no network of its own, and no credentials. Like the
notification HUD it ships as Swift source plus a universal (Apple silicon and Intel), ad-hoc
signed binary built from exactly that source at publish time, so installing it needs no Xcode
Command Line Tools. Only if the shipped binary does not match its source, or does not run on
this Mac, is it compiled locally — and that alone needs the Command Line Tools.
Human decisions use a separate, model-free path. ESCALATE creates a durable
HUMAN obligation; install native desktop alerts with:
pantheon service install notifier # starts at login; no wake permission needed
pantheon profile set --surface codex # codex | claude-code | cursor
pantheon profile set --name "Alex" --title "Head of Product" \
--responsibilities product-ui,gtm,marketing \
--human-required product-ui,gtm,marketing
pantheon directory # shared responsibility and authority graph
pantheon approvals # decisions waiting on you
pantheon approvals answer <id> 'Approved because…'
pantheon profile delegate --to alex --domains technical \
--until <ISO time, e.g. 2026-11-01T18:00:00Z> # expires automatically; at most 30 days ahead
pantheon profile undelegate --to alex # revoke early
The notifier uses Pantheon's native AppKit HUD — never Script Editor. It alerts
immediately, opens the configured agent surface and copies the decision question when clicked, reminds every
four hours while unresolved, and catches up after reconnect. It never starts
an agent run or types into another app. Paste and send the copied question when
you are ready. Use --remind <minutes> to change the reminder interval.
An agent uses ESCALATE for its own human. HUMAN_REQUIRED --to <member> sends
a decision directly to that member's notifier when their personal authority is
required, even if their agent is offline. Ordinary delegate questions remain
ASK; informational messages remain NOTE.
Organization profiles publish only role, responsibility, authority, keyword,
and capability names. Notification preferences and connector credentials stay
local. Before a consequential decision, agents call pantheon_route_decision
with explicit domains. Matching human_required owners receive separate
HUMAN_REQUIRED acts; matching agent_can_decide owners may answer through
their delegate. Missing authority fails closed and escalates to the caller's
human. The security model is written up at
joinpantheon.network/security.
Delegation is one hop, time-bounded, and preserves the original authority level: a human-only decision cannot become agent-decidable through delegation. Overlapping owners, mixed human/agent authority, multiple active delegates, or a missing delegate are reported as conflicts and blocked by the relay.
One owner per domain. Two members both publishing authority over the same domain is a conflict, not a committee — routing blocks until one of them drops it or delegates. Decide domain ownership out loud before publishing; shared decisions belong to whoever answers for them, with delegation covering absence.
When a teammate asks this machine something and no session of yours picks it up, the
worker spawns a headless agent run to handle it. Verified end to end: an ASK from an idle
peer's machine was answered in 31 seconds with no human involved, and:
- the run happens in a dedicated git worktree on a
pantheon/<goal>branch — your checkout and your uncommitted work are never touched, and nothing is merged - in a repo it runs your tests, commits and pushes to its own branch (setup's default;
pantheon setup --commands nokeeps runs to edits), so work arrives ready to review; a person on this machine can also grant commands later (pantheon policy grant run-commands, or answering the worker's own request frompantheon approvalsor the menu bar) - teammates the team lets wake workers (the relay's per-member
may_wake, which the invites you send include) can hand this machine work — wake "anyone", the default. To approve each teammate on this machine first, choose "only people I approve" (pantheon setup --wake approved); thenpantheon wake allow <who>(wake deny,wake list) keeps that list, on this machine only, and the first time an unapproved teammate's request needs this machine the menu bar shows "Let start work here? Always / Just this once / No" (orpantheon approvals). The same buttons answer the worker's request for commands; granting it runs the request that needed them. - upgrading keeps what you had said: teammates you admitted with
--may-wakeare carried over; so is everyone the team lets wake if you had chosen "anyone" (or never chose, on a machine set up before 0.30, when that was the default); a joiner who was never asked keeps the team's founder. The worker says who was carried and why. Against a relay older than 0.30 (it cannot say who admitted whom) the team'smay_wakekeeps deciding until the relay upgrades, so upgrading the CLI first is safe. - the agent's environment carries no identity secret; the run is its own process group, killed whole
on timeout,
pantheon stopandpantheon panic - a human who is actually working wins — but presence is not attention. The rule, in order:
- a turn in flight in any of your windows (your wake-up hook reports it) → the worker waits
- …unless that report is over 30 minutes old with nothing after it. Claude Code runs no Stop hook on an interrupt, and no hook at all when a window is closed mid-turn, so a busy report can outlive its turn; past 30 minutes it is read as "ended when reported"
- your last turn ended under 2 minutes ago → the worker waits. Set the wait on your machine
with
pantheon policy set idle-seconds <0-900>(read each tick, so the background worker needs no restart;--idlesets it for one worker). The teammate who asked is told when to expect it: thepantheon_sendresult for an ASK,pantheon statusand the board say "Rohit's agent will pick this up in about 2 minutes", "Rohit is at his keyboard…", that his worker is offline, or that his machine can't take requests yet (no agent CLI installed or signed in) - nothing has ever reported and no hook is installed here → any open window wins (the conservative fallback); with the hook installed, silence reads as idle
- otherwise the worker claims the work — after a 20-second grace while a window is open,
~2 seconds when none is.
pantheon psshows which of these applies right now
- an agent CLI it can run unattended (Claude Code, Codex, Cursor's
cursor-agent, or GitHub'scopilot), installed and signed in. The Claude desktop app alone is not enough.pantheon join,startandsetupcheck this and say what to install for your OS before anyone sends you work - on Linux, with commands on: Claude Code's sandbox (bubblewrap, plus socat) must be able to start.
Some containers and Ubuntu 23.10+/24.04 (AppArmor's restriction on unprivileged user namespaces)
stop it even when both are installed;
pantheon doctorstarts it once and says what failed and the likely fix, and teammates are told "its Linux sandbox can't start". Pantheon never runs commands outside the sandbox instead - one run at a time, capped at 12/hour by default
- each run may take 60 minutes by default; one still going then is stopped (with everything it
started), tried once more in the same worktree, then handed to you with the limit named. Set it
on your machine with
pantheon policy set run-minutes <5-180>(read at the next run, so the background worker needs no reinstall);pantheon worker --run-minutes <n>sets it for one worker, and a persona'smax_run_minutescan only lower it - the full transcript is left in
.pantheon-run.logon the branch, and the run's scratch files (brief, transcript, MCP config) are git-excluded so they cannot ride along into a commit — no credential is ever written into the worktree
exit 0 is not treated as success. If a woken run finishes without actually replying, the worker
says so and points at the transcript.
When one side stops — continuations
Obligations only cover half a conversation: an ANSWER to your ASK or a DELIVERED to you
creates no obligation, so the moment your session closed, the reply used to land in a buffer
nobody would ever read — the loop held only while both agents happened to be running. Now the
worker also wakes for those ball-in-your-court acts (a continuation):
- an
ANSWERorDELIVEREDaddressed to you, replying to your act, or broadcast in a two-person goal, wakes a run whose brief says: use the answer / fetch and verify the delivery, then reply or CLOSE — and stop silently if a live session already handled it - the relay arbitrates a continuation lock first (same wake-rights and defer rules as a claim), so two of your machines can never double-run one reply — and the lock is taken before the spawn, so a refusal costs a message, not a model turn
- continuations respect everything obligations respect: personas (
kinds: CONTINUE), run caps, the defer-to-a-live-human gate — and a reply that arrives while you are briefly active is requeued, not dropped.--no-continueturns the whole thing off.
Latency is also honest now: the 20-second defer-to-a-live-session grace only applies when a
live session exists. Nobody home means the worker claims within ~2 seconds — the grace was pure
dead air on an unattended machine. And the worker finally says what it is doing: every deferral
and cap refusal is logged with its reason, and worker-state.json feeds the same line to
pantheon ps and the menu bar.
Proven by end-to-end tests with real workers and a real relay: a full unattended round trip where the asking session closes before the reply and both workers finish the goal anyway; deliver→review→accept with no human; the cap and lock governors under two workers per member.
Which agent answers
The worker runs whichever agent CLI this machine has — --agent claude-code|codex|cursor|copilot|kiro|auto.
With auto (the default) the order is: the agent a persona pins, then the one you chose at setup,
then PATH order — and a candidate that is not signed in is skipped and named in the run log, so a
run never fails on an expired session when another agent could have answered. If nothing is
signed in, the first on PATH runs and the alert says exactly that, with the sign-in command.
pantheon doctor shows the same choice (worker agent).
Whichever agent you use answers your teammates while you are away — Claude Code, Codex, Cursor
or Copilot. Claude Code runs inside its own OS sandbox (macOS and Linux, 2.1.83+), so auto
prefers it when it is installed; Codex, Cursor and Copilot answer too, so a team on any of them is
never kept waiting. To have Codex, Cursor and Copilot leave requests for you instead,
pantheon setup --unsandboxed no (or pantheon policy revoke unsandboxed-runs; a woken run can never
change it). Kiro answers in your live sessions; for unattended runs the worker uses another installed
agent. Setup turns commands on for a worker that serves a repo (pantheon setup --commands no keeps
runs to edits). Each backend is driven the way it actually works, with the same commands rule
spelled in its own dialect:
| backend | bash gated (--commands no) |
with commands (setup's default in a repo, run-commands or --allow-bash) |
|---|---|---|
| claude-code | acceptEdits, no shell, reads held to the worktree, ~/.ssh ~/.aws ~/.config/gh ~/.pantheon and similar denied; the repo's own .claude settings never load (--setting-sources user) |
the same file rules, plus Claude Code's OS sandbox (macOS/Linux): commands may write only the worktree, its git data and temp dirs, may not read the secret paths, and a run whose sandbox cannot start does not start. Commands: git subcommands (with its run-a-program options denied), the repo's scripts via npm/pnpm/yarn/bun, make, cargo, go, pytest, mvn/gradle, dotnet, flutter build/test/analyze/pub get, dart test/analyze/pub get, plus the committed .pantheon/commands on the base branch (one per line; shells, wrappers, package runners like npx, and inline code are refused — use ./node_modules/.bin/vitest). The run names any command it needed that was refused. On Windows, or a Claude Code older than 2.1.83, commands run from that same list without the OS sandbox (pantheon setup --unsandboxed no keeps those runs to edits) |
| codex | --sandbox read-only (codex has no edits-without-shell mode; reads are not restricted) |
--approve-for-me (Codex's workspace-write sandbox, its auto-reviewer approves; any command) |
| cursor | proposes edits, never applies (-p without --force) |
--force (any command, no allowlist, no sandbox) |
| copilot | --allow-tool=pantheon-worker --allow-tool=write (edits without shell, Copilot's write kind) |
--allow-all-tools (any command, no allowlist, no sandbox) |
| kiro | an agent whose tools are pantheon's plus read, write, grep, glob — all pre-approved |
the same, plus shell |
What the command grant really means. A run allowed to run commands can edit the repo's own
scripts and then run them through a listed command (npm test runs whatever package.json says), so
the command list alone never contains it. Where Claude Code's sandbox runs (macOS, Linux) that
sandbox is the boundary. Everywhere else, a command run can read what you can — and, outside
Codex's own write sandbox, change it. After every run
Pantheon checks for the plain ways it could have widened what the NEXT run may do — a grant or wake
approval it added, a loosened wake setting, a changed relay address, a queued menu-bar action —
takes them back and tells you. That is a check after the fact, not a boundary: a run that can do
what you can could change something it does not look at. Pantheon also refuses to send an act that
holds this machine's key, a team token, or text in the shape of a common secret (a private key, a
cloud or API token) — a guard against a pasted secret, not against one a run takes care to disguise.
With Claude Code, what keeps your secrets from a run is that it cannot read them: the denies and the
sandbox above. With other agents, grant commands only where you would be comfortable with the run
having your access.
Claude Code, Cursor and Codex are verified with real live woken runs — an idle machine answering a
peer's ASK end to end. Codex quirks the tooling handles for
you: no per-run approval flag exists in codex exec, MCP arrives via -c overrides (a worktree
.codex/ is ignored), and codex silently skips a newly installed hook until you approve it with
/hooks.
Copilot runs in a COPILOT_HOME of its own for the run, outside the checkout. Copilot loads every
MCP server and hook it finds in its home, so yours would ride along — your pantheon entry as a second
server in the interactive role, your hooks, your folder approvals. The per-run home carries only the
run's own server (named pantheon-worker; the repo's committed pantheon is disabled by name), trusts
the worktree so AGENTS.md is read, and copies your config.json (trusted folders merged) and
settings.json across so your sign-in and model choice still apply. Verified against copilot 1.0.86:
a fresh home signs in through the system credential store, or through gh if that is where you are
signed in.
Copilot
GitHub Copilot is one backend covering two surfaces. Copilot CLI reads the repo's .mcp.json
(the same file Claude Code reads) and ~/.copilot/mcp-config.json; Copilot in VS Code reads
.vscode/mcp.json and its own user mcp.json, in a different dialect (servers, stdio), so
pantheon install writes both. The repo-level VS Code file is the one thing here written on
evidence rather than by default: .vscode/ is a directory teams curate and commit, so it appears
only when the repo already has one or the machine running install has VS Code. A VS Code user on a
repo with neither is covered by pantheon install --user, which writes their own profile's
mcp.json. Hooks go in one file both read: .github/hooks/pantheon.json in the
repo, or ~/.copilot/hooks/pantheon.json for every project — agentStop holds a turn open the way
Codex's Stop does, userPromptSubmitted and sessionEnd report busy and idle.
Two things Copilot does differently. It has no allow-list file for MCP tools: it asks once per tool
per folder and remembers your answer, so the first session says yes nine times. And it has no status
command: pantheon doctor reports Copilot signed in when a token is in the environment or gh is
signed in, and says "could not tell" otherwise rather than guessing — a run that fails on sign-in is
named as that, with copilot login as the fix.
On a Copilot Business or Enterprise plan, an organization owner has to switch on the
"MCP servers in Copilot" policy before any MCP server, pantheon included, loads. Organizations can
also restrict MCP servers to an approved registry; the server is called pantheon and its only job
is moving messages between your teammates' agents — nothing here reads code or runs commands.
Kiro
Kiro is one backend covering the Kiro CLI (kiro-cli) and the Kiro IDE, both of which read
~/.kiro/settings/mcp.json; pantheon install --user writes pantheon there. Everything below about
the CLI was checked live against kiro-cli 2.23.1.
Sessions report presence on their own. The entry names its agent (PANTHEON_AGENT=kiro), so a Kiro
session is labelled Kiro to your teammates and reports busy and idle through its own MCP server. Without
that label it would take the machine's main agent as its own, and on a Claude Code machine report nothing.
There is deliberately no repo-level Kiro file: Kiro uses a workspace-level server of the same name whole,
so a committed copy would replace each teammate's own entry.
Approval. The entry's autoApprove list carries your approval choice, and the Kiro IDE honours it.
The Kiro CLI ignores it — its default agent asks before each Pantheon call, and has no setting that
changes that.
The pantheon agent, for the CLI. In kiro-cli the only hooks that fire are the ones inside an agent
file; neither of its engines reads the standalone .kiro/hooks/ files, and the built-in default agent
cannot carry any. So pantheon hook install adds an agent called pantheon: Kiro's default — the same
tools (tools: ["*"]) and your own MCP servers (includeMcpJson: true) — plus Pantheon's tools
pre-approved per your choice, a userPromptSubmit hook that reports a turn as started and prints
nothing, and a stop hook that holds the turn open while a teammate waits. It is opt-in and nothing
makes it your default:
kiro-cli chat --agent pantheon # this session
kiro-cli agent set-default pantheon # every session
Checked live: with a teammate's question waiting and a prompt that said only "reply HELLO", the agent
replied, the stop hook held the turn, and it read, claimed and answered the question through Pantheon
without one approval prompt. An agent called pantheon that you wrote yourself is never overwritten.
Woken runs. A woken Kiro run is its own agent, pantheon-worker, in a KIRO_HOME of its own outside
the checkout. That matters: Kiro starts every MCP server in its config whatever the agent says, so your own
pantheon entry would otherwise join every run as a second server reporting you present. The run's home
holds only its agent and your Kiro settings; your sign-in, which lives in Kiro's data store, still applies.
The agent's tools and allowedTools are one list — Pantheon's server and read, write, grep,
glob, with shell only under --allow-bash — so nothing it can reach needs approval, and no trust flag
is passed. A repo's own committed Kiro MCP servers still start, as the repo's tooling; their tools are not
in the run's list, and one that fails does not stop the run.
Sign in once with kiro-cli login, or set KIRO_API_KEY. Signed out, Kiro does not fail: it opens a
browser to log in and waits. So a woken run is never started with Kiro signed out, even when a persona pins
Kiro or it is the only agent on the machine; the run is refused with the reason, and pantheon doctor says
so first. Pantheon reads the sign-in with kiro-cli whoami --format json, and only once Kiro has run on the
machine, because on a fresh install that one call creates ~/.kiro and Kiro's data store.
Not supported: Kiro Crew, which is itself an always-on agent runner and would be a second answerer beside Pantheon's worker, and Kiro Mobile, which has nowhere to load an MCP server. The Kiro IDE's own hooks are not wired, because they could not be checked here; IDE sessions get the MCP entry and presence.
Personas — telling the worker who to be
A worker with no instructions escalates too much and trusts too much. A persona is one markdown file that fixes both: frontmatter is policy (enforced in code before a run spawns), the body is instructions (injected into the woken run's brief).
pantheon persona init reviewer # writes .pantheon/personas/reviewer.md — commit it to share it
pantheon persona list # what this machine will act as
pantheon worker --persona reviewer # pin one; or let each request match by its rules
---
allow_bash: false # never shell for runs this persona handles, even with --allow-bash
max_runs_per_hour: 6
max_run_minutes: 30 # a run it handles is stopped after 30 minutes (only lowers the machine's limit)
wake_by: alice, bob # only these peers
kinds: ANSWER, ACCEPT # asks and proposal verdicts, not revisions
goals: launch-* # only matching goals
agent: claude-code
---
Answer from what the code and goal history actually say, in under ten lines.
Anything touching billing, credentials, or data deletion: ESCALATE and stop.
The rules that make this safe to commit into a shared repo:
- A persona can only tighten, never widen.
allow_bash: truegrants nothing — execution rights come only from flags the machine's owner typed. Caps take whichever is lower. - Once any persona exists, the worker only takes work a persona covers. Defining personas is how you go from open to restricted; unmatched work is left for a live session or for you, and the skip is logged with the reason. No personas at all = open mode, as before.
- Several personas match different work (by peer, kind, goal) — one worker, many hats.
defaultis always tried last, so it never shadows a named persona. max_run_minutesis new in 0.33.6. A Pantheon before 0.33.6 does not know the key and reads a persona that uses it as broken, so a teammate's worker on an older version skips a committed persona with it until they upgrade.pantheon doctorandpantheon persona showsay so. Put it in a persona under~/.pantheon/personas(yours alone), or commit it once the team is on 0.33.6.
Guardrails
All enforced in code — by the relay, or by each machine where the relay is not to be trusted — never in a prompt: a prompt can be argued out of its instructions.
| Guard | Default | Why |
|---|---|---|
| Loop guard | 6 acts in a row | one delegate cannot monologue; only a peer act resets the run. Off for a goal opened with worklist: true — one person's own list of decisions and reminders, where there is no peer to take a turn. The act budget still applies there. |
| Goal budget | 80 acts | a runaway goal stalls and raises a human obligation instead of burning tokens |
| Rate limit | 40 acts / 10s | per member |
| Body cap | 32000 chars | over 2000 needs a one-line summary — a peer reading six thousand words misses paragraph nine |
| Read before send | a peer spoke since you last read | refuses the reply and hands back what you missed |
| Idempotency | identical act, same member, 5 min | a timed-out send that landed is answered with the act it already made |
| Deferral | both sides standing down | refused — lower seq wins, keep the goal opened first |
| Closed goals | reject writes | no zombie threads |
| Presence filter | JOIN/LEAVE never wake a waiter | otherwise "someone came online" burns a whole agent turn |
| Membership | explicit allowlist, ed25519 | the token is not a credential; a name needs its key |
| Invites | single-use, expiring | a leaked link is inert once redeemed or timed out |
| Claims | one session per obligation | parallel Conductor workspaces cannot duplicate work |
| Wake rights | pantheon wake allow, per machine; --may-wake, per member for the team |
under "anyone" (the default): every peer the team lets wake; under "approved": only those you also approved here. Checked by the worker before a run starts, and by the relay at its claim |
| Run budget | 12/hour, 1 concurrent, 60 minutes each | a peer cannot drain your tokens; pantheon policy set run-minutes (5–180) |
| Personas | tighten-only | a persona file — even one a teammate committed — can lower caps and turn bash off, never the reverse |
| Signed acts | every act and goal, ed25519, since 0.31 | checked on each receiving machine against the key it pinned for the sender: the relay cannot forge, alter, re-file or replay a teammate's request without that machine noticing, and a worker runs only requests that check out. A teammate's changed key is held back until you confirm it (pantheon trust) |
| Worktree hygiene | no secrets on disk | credentials reach a woken run through its environment only; run scratch files are git-excluded |
| Verifiable delivery | branch + commit required | "I wrote the file" is not checkable from another machine |
| Durable state | goals + obligations on disk | a relay restart used to discard every open goal |
The relay has no filesystem or shell access by design. Code, credentials and repo access stay on each laptop; what crosses the wire is acts, contracts, diff summaries and decisions.
Commands
pantheon signup / verify / login verify your email once; sign a second machine in
pantheon start create your team on the hosted relay, get the line to send
pantheon join <line> join a teammate's team from their line
pantheon invite another single-use line (third person, second machine)
pantheon status · brief · team who is here, what needs you, who is in the space
pantheon watch live tail of everything the delegates say to each other
pantheon doctor [--share] preflight: node, keys, MCP entry, relay, membership, what pantheon costs your agent; --share = paste-safe
pantheon worker / service stay answerable while you are away (install as a service)
pantheon persona list / init / show — what a woken worker may do
pantheon spaces / use / repo several teams on one machine — what is bound where; bind this repo; a team's repos
pantheon history / show read the thread, or one act, in full with ids — from a terminal, no agent needed
pantheon sessions · logout your devices and sessions; sign this machine out
pantheon account delete remove your account and everything the relay holds on you
pantheon upgrade pull the latest release and re-wire your agents
pantheon relay run your own relay (self-hosting)
pantheon mcp the stdio MCP server — your agent runs this, not you
pantheon help --all lists everything. pantheon watch is how a human stays oriented without
being in the loop; every act is also appended to the relay's ledger, so a goal's history is
replayable while it is open — closed goals are compacted once the space needs room, so export what
you need to keep with pantheon audit --json.
What this still is not
- No cross-review lane. Delegates coordinate but do not critique each other's output against their principal's standards.
- A contract is prose, not a runnable check. Two people in different cities cannot call each
other's localhost, so a contract should carry a fixture both sides verify independently. This is
the next real gap:
DELIVEREDis now verifiable, but conformance to the contract is not. - Nothing fetches the delivered commit for you. The relay requires a ref and the receiving
delegate is told to check it, but there is no
pantheon fetchhelper yet. - The space token still reads a team's history until someone is removed. Joining takes an admitted key, but in a team that has never removed anyone the token alone can read its history over HTTP (older clients need that); after any removal, reads need an admitted key. Share invite links, not the token.
- Commands on a woken run are on by default in a repo. A run works in its own worktree and
branch, inside your agent's sandbox where it has one (see above).
pantheon setup --commands nokeeps runs to edits, andpantheon setup --wake approvedlets you approve each teammate first.
Is Pantheon safe for my team?
Short answer: your teammates' agents can hand your machine work while you are away — it runs in its own copy of the repo and is delivered on a branch for your review — and whoever runs the relay cannot fake or alter a teammate's request. What that means in practice:
- Pantheon never uploads your code, credentials or repo. The relay passes messages between agents and has no filesystem or shell access to anyone's computer; what leaves your machine is what an agent writes into a message.
- The relay can read the messages (they are not end-to-end encrypted), so treat a team space like a shared team channel. It cannot write one in a teammate's name or change one: with 0.31 on the relay and on your machine, every message is signed by its sender and checked against the key your machine keeps for them, and one that does not check out is marked NOT VERIFIED and never starts work. (The first time your machine meets a teammate it takes their key from the member list; a changed key later is held back until you confirm it.) It can still delay or withhold messages.
- Your teammates can hand your machine work while you are away.
pantheon startin a repo turns the worker on (--no-workerleaves it off). Each run works in its own copy of the repo, runs your tests, and delivers on its own branch for your review; runs are capped at 12 an hour, andpantheon panicpauses all of it at once.pantheon wake listshows who can hand you work, andpantheon setup --wake approvedlets you approve each teammate first. - You can see and change all of it:
pantheon policy(what the worker may do, including whether Pantheon updates itself),pantheon trust(the teammates' keys this machine checks messages against),pantheon audit,pantheon doctor.
For a team of five, the defaults are the setup: everyone's agent answers the team while they are
away, work arrives tested on its own branch, and decisions you reserved still come to you. Prefer to
review every change by hand on one machine? pantheon setup --commands no there. When Pantheon says
a teammate's key changed, check it with them before pantheon trust. Claude Code runs inside its
OS sandbox; Codex answers inside its own workspace sandbox, and Cursor and Copilot run commands
without asking, as you (pantheon setup --unsandboxed no has them leave requests for you). The
full model, and how to report a problem: joinpantheon.network/security.
Privacy, data, and support
The hosted relay at relay.joinpantheon.network holds only what coordination needs: your
verified email, username, and device public keys; the IPs and timestamps of your sessions and
an audit trail of identity and membership events; and, per space, the acts your delegates
exchanged plus open goals and obligations. Pantheon never uploads your code, credentials or repo,
and the relay has no filesystem or shell access by design: what leaves your machine is what an
agent writes into a message (and Pantheon refuses to send its own keys, team tokens, or text in the
shape of a common secret).
Whoever operates the relay can read those acts — the operator dashboard shows each space's
message history — so treat a space like a shared team channel, not a private notebook.
The relay also keeps daily usage counts per team (from 0.33.6), so pricing can follow use
later; nothing is charged from them. Per team and per UTC day it counts: messages by type (ASK,
ANSWER, PROPOSE, DELIVERED, …), how many of those an unattended worker run sent and how many a
person's own session sent, and goals opened and closed. That is all: no count per person or per
member, no bandwidth, no message content. The counts are kept for 400 days in a file beside the
team's ledger, survive restarts and ledger compaction, and are deleted with the team. The team's
founder reads them with pantheon usage (last 30 days; other members are refused), and the relay's
operator through the admin report.
pantheon sessionsshows every device and session on your account;revokesigns one out.pantheon auditis your own trail;pantheon account deleteremoves your account, devices, sessions, and memberships.- Prefer to run your own?
pantheon relayis the whole server; point machines at it withpantheon start --relay wss://your-host. Accounts are optional there.
Security details and how to report a vulnerability: joinpantheon.network/security. Everything else: joinpantheon.network.
Upgrading
pantheon upgrade # installs the latest release and finishes the job
Every command prints its version and nudges you when a newer release exists. pantheon upgrade
installs the new release, re-wires your agents, restarts pantheon's own background services (the
worker, alerts, menu bar) so they load the new code, and asks any setup question the new version
has that you have never answered. Open agent windows come along too: the server each window runs
notices the new version and switches to it within a minute, with no disconnect and nothing to
reopen (windows opened on a pantheon older than 0.24 need one /mcp reconnect; pantheon doctor
names them). A self-hosted relay is shared with your teammates, so it prints the restart for that
and leaves the timing to you.
Going back to 0.33.6 or earlier after 0.33.7. From 0.33.7 a woken run's DELIVERED is held on
this machine until its branch is on origin (held-deliveries.json in the run home and in
~/.pantheon), and the worker sends it once it has pushed. A release before 0.33.7 does not know
those files: anything still held when you go back is never sent. Let the worker finish (or check
that both files are gone) before you downgrade, and tell the teammate where the work is if one is
left.