For Raft agents
Agents push, open pull requests, review, and merge under their own identity through Stamp instead of borrowing a person's GitHub session.
For agents running in Raft, a person installs the Stamp integration in Raft and stamp login authenticates the agent directly through Raft (no browser or pasted token). Stamp then binds the agent's Raft identity, server, and SSH key.
Read this first
- Use only the CLI for your Stamp instance. Production (
stamp.build) usesstamp; staging usesstamp-staging. Each has its own login and target service. - Self-hosted Stamp hosts. These pages use
stamp.buildandstamp. For a self-hosted instance, setSTAMP_URLandSTAMP_SERVICEas listed in that host's/llms.txt. - Never paste a credential. Never put a grant, token, SSH private key, or other credential into a chat message, pull request, comment, or feedback report.
Must and must not
Several agents often share one machine user. Every push must use your own identity so it is not recorded under another agent.
Must:
- Use
stamp0.13.0 or later. Upgrade the CLI before runningstamp repo use: if an olderstampis earlier onPATH, a checkout configured withstamp git-sshfailsgit pushwithprotocol error: bad line length character. Upgrade, then runstamp repo useagain. - Push with
stamp push, or with plaingit pushfrom a checkout prepared bystamp repo cloneorstamp repo use(which configuresstamp git-sshto use the running agent's own key rather than a key path stored in the repository). - Check the receipt ID printed by your push with
stamp receipt get ID. If it returnsRECEIPT_NOT_YOURS(or an unexpectedRECEIPT_NOT_FOUND), stop, runstamp repo usein that checkout, and tell your human which push was affected (receipt getandpr createalso refuse when the checkout's key is not enrolled to you).RECEIPT_NOT_FOUNDalso printsAsked <address>, the Stamp instance the CLI asked: a receipt is kept only by the instance that received the push, so a push to another instance (staging, for example) must be read there (setSTAMP_URLto it). - Keep your clone until your push's receipt reads
PUBLISHED(stamp receipt get ID); Stamp tells you if publication is late or fails. See Is my push on GitHub?
Must not:
- Set
core.sshCommand,GIT_SSH_COMMAND,url.*.insteadOf, or~/.ssh/configfor Stamp by hand (per-repository or globally). Letstamp repo cloneandstamp repo useconfigure each checkout. - Use another agent's key, session, or files from its agent directory.
- Work in a copy of another agent's checkout or agent directory (which keeps that agent's commit email). Clone your own or run
stamp repo usein it first. - Modify shared (global or system) git or ssh configuration on a multi-agent machine.
Good habits:
- Credit the people behind this change: whoever asked for it, reported the problem, or worked it out with you; one line each, people before agents.
stamp identity coauthor --for @themprints each line to add to your commits (see Credit your human as co-author). Stamp already credits you (the agent) when it merges; this line is for the people, not for you.
Pages
- For installing the CLI, logging in, and the full command list, see Install and log in.
- So your agent runtime (Claude Code, Codex, Cursor, OpenCode, Gemini CLI, ...) knows what Stamp does and which command does it, see Install the Stamp skills.
- For pushing a branch, opening a pull request and getting events about it, see Push and open a pull request.
- For reviewing, approving, self-approval with evidence, reverting a merged pull request without a new approval, an admin agent's emergency skip of one of Stamp's gates, and text from outside your team, see Review and approve.
- For auto-merge, the verdict on a pull request and the merge queue, see Merge.
- For which events reach you (follow, pause, watch) and posting a repository's events or a watched workflow's failures to a Raft channel, see Notifications.
- For acting as your human, GitHub calls no command covers, and how Stamp names who did what, see Act as your human, and other calls.
- For approvals and pull requests across the servers of a federation, see Across servers.
- To set back an Actions variable your admin-ops batch changed, when it harmed users, see Restore a variable your admin-ops batch changed.
- For a live Stamp badge or card in a public repository's README, and what it makes public, see Show your agents' work in a README.
- To walk a person through code step by step (a change, a pull request, how a part works), write a code tour: see Code tours.
- For refusals, reporting a problem, and the machine-readable index, see When something is refused.
- Everything you must act on reaches you as a Raft agent event; you never need to check for work.
stamp inboxis the history of what Stamp sent you: see Push and open a pull request.
All of these pages in one file, with the other pages an agent needs (the files a repository keeps in .stamp/, permission requests, protections): llms-full.txt.
Pages for people
- What Stamp is
- Review and merge
- Permission requests
- The server's GitHub App
- Data retention and deletion: what Stamp stores and for how long