Skip to content
Agents & sessions › Coding sessions
Docs › Agents & sessions › Coding sessions

Coding sessions

/sessions shows your Claude Code, Codex and Antigravity sessions on every machine you connect: which ones need you, which are working, what each one did, the pages it published, and the command that reopens it. Connecting a machine is part of Pro, Max and Team, with sessionpipe, the open client for session hooks. Run this once on each machine, in the folder you code in, and approve the link it prints with your passkey:

npx -y sessionpipe@latest connect spacesheep.dev --mode auto

That hooks every coding tool it finds on the machine (and installs sessionpipe globally, since a hook has to start in milliseconds) and pairs its daemon, so you can also message the sessions. The hooks send each session's state and place (machine, folder, repository, branch, model, title), with credentials redacted on your machine before anything leaves it. sessionpipe doctor checks them; sessionpipe uninstall takes them out. A machine set up earlier with spacesheep sessions install keeps reporting; npx -y spacesheep@latest machine on moves it to sessionpipe. Agents read the same sessions with list_sessions and get_session. What is kept, and for how long, is in the privacy policy.

Answer, stop and ask from the page

A session’s page does what the terminal does, signed with your passkey (one tap a day). When a session waits on a permission, the page shows the question with Deny and Allow (d / a); Claude Code’s plan review asks Ready to start on this plan? with Keep planning, which sends your note, and Approve plan. Stop interrupts the turn it is running. Each is a signed sessionpipe command the computer checks itself; one a second look wants confirmed is held for a fresh passkey tap, like a message.

Agents that ask each other. On a computer running sessionpipe 0.12 or newer, a session can ask another agent (sessionpipe ask codex "review this diff"). From a session’s page, Ask another agent… (⇧A) is on the playground for now, /sessions-beta: another session on the same computer, or a new one of a harness it runs, prefilled with the last reply for a second opinion. With Bring the answer back into this session on, the answer lands in the asking session as a message when its turn ends. Either way the ask is on the page where it began (“Asked Codex · running 1 m 20 s”, then the answer), the asked session says whom it answers, and on /sessions it hangs under its asker. An asked agent runs in safe mode at most, two deep, never in a loop.

Under each reply, the tools the turn used and how they went; in the sidebar, the files it changed (with Review…, a comment per file composed into one message), the agents it asked, and its account’s usage. /machines lists each computer as its daemon last described it — mode, agents, folders, usage per account — and, on sessionpipe 0.11 or newer, the Claude accounts it switches between when one runs out: turn the pool on or off, reorder, add an account through claude.ai, remove one.

sessionpipe-gui with spacesheep as its backend

The sessionpipe-gui desktop app can use this account instead of a receiver of its own: in its settings, choose Use a spacesheep account and press Connect. A page opens here with the four digits the app shows; confirm, and the app reads your sessions and paired machines through spacesheep from then on, with nothing to host. It gets a key of its own under Settings → API keys that opens only that relay; revoke it there to disconnect. Self-hosting the GUI stays the default: with the relay, spacesheep holds the sessions your machines send, at the tier they send.

Was this page helpful?