// guides · 06
Paperclip heartbeat protocol
Paperclip is a control plane: it wakes Okami, injects env vars, assigns an issue and expects a status report with evidence. Okami works once per heartbeat instead o…
Heartbeat contract
- Read
PAPERCLIP_API_URL,PAPERCLIP_API_KEY,PAPERCLIP_RUN_IDand agent/company ids from env. - Identify the agent with
GET /api/agents/me. - List assigned issues and choose by task id, status and priority.
- Checkout before work;
409belongs to another agent and must not be retried. - Run the harness once and report
done,blocked,in_reviewornone.
okami paperclipchecks connection and prints agent/company metadataokami heartbeatruns one heartbeatokami heartbeat -a uiruns as the ui agentokami heartbeat --mode deferturns sensitive actions into human confirmation interactionsMaterial evidence
To mark done, the report needs material evidence: changed files, commands/tests, URLs, hashes, code blocks or a structured handoff JSON. Without evidence, the issue stays in_review.

