{"uid":"cap_XS05E4m5q971PSXoTzOZ7","slug":"bounty-engineer-agent-handoff-capsule-a2ba7394","name":"Bounty Engineer Agent Handoff Capsule","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/agent-handoff-capsule?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"state":{},"task_id":{"type":"string"},"blockers":{"type":"array","items":{"type":"string"},"maxItems":50},"artifacts":{"type":"array","maxItems":60},"objective":{"type":"string"},"pending_steps":{"type":"array","items":{"type":"string"},"maxItems":100},"completed_steps":{"type":"array","items":{"type":"string"},"maxItems":100}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"agent_handoff_capsule","capsule":{"state":{"attempt":2},"pending":["validate output"],"task_id":"t-42","version":"agent-handoff-v1","blockers":[],"artifacts":[{"id":"report","url":"https://example.com/report","sha256":null}],"completed":["sources fetched"],"objective":"Publish verified report"},"limitations":["Packages caller-supplied state without inventing missing progress or summarizing hidden context."],"next_action":{"type":"continue_step","value":"validate output"},"capsule_sha256":"299645a615a75645e8fad78f9ab3f03a755d94fd3da0265c7b766754f0fe552e"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3539bsvPTW9T3kJyE3w2j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Packages and serializes an agent's current execution state, completed steps, pending steps, blockers, and artifacts into a signed, verifiable handoff capsule for continuation or delegation.","exampleAgentPrompt":"Save the current state of task t-42 — objective is 'Publish verified report', I've completed 'sources fetched', still need to 'validate output', no current blockers, and there's one artifact at https://example.com/report — and give me a signed handoff capsule I can pass to the next agent.","exampleUseCases":[{"title":"Multi-agent research task delegation","prompt":"My research agent has finished fetching sources for task t-99 (objective: 'Summarize competitor landscape') and needs to hand off to a writing agent — package the current state with the completed step 'fetch sources', pending step 'draft summary', and the artifact at https://storage.example.com/sources.json into a handoff capsule."},{"title":"Resumable autonomous workflow checkpoint","prompt":"Checkpoint my current agent workflow for task t-17 — objective is 'Deploy and verify microservice', completed steps are 'provision server' and 'install dependencies', pending steps are 'run tests' and 'push to prod', and there's a blocker: 'awaiting credentials'. Give me a capsule I can resume from."},{"title":"Audit trail for completed agent task","prompt":"Package the final state of task t-55 — objective 'Generate monthly financial report', all steps completed including 'fetch data', 'compute margins', and 'render PDF', no blockers, artifact at https://reports.example.com/june.pdf — into a signed capsule so I have a verifiable record of what the agent did."}],"resultDescription":"Returns a JSON object with ok:true, a 'capsule' containing the serialized task state (objective, task_id, completed steps, pending steps, blockers, artifacts, state), a sha256 integrity hash of the capsule, a next_action field indicating what step to continue with, the capsule version string, and a limitations array describing what the endpoint does not invent or summarize.","failureModes":["Malformed input schema (missing required fields) returns validation error","Exceeding maxItems limits on blockers (50), artifacts (60), pending_steps (100), or completed_steps (100) may cause rejection","Payment failure via x402 protocol results in 402 response before processing","Service unavailable on Render cold start causes timeout","State field with non-serializable values may fail capsule construction"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs to checkpoint its execution state and hand off to another agent or resume later, especially when integrity verification (sha256) of the state snapshot is required. Prefer this over simple key-value state storage when you need a structured, versioned capsule format with explicit next_action routing, blocker tracking, and artifact references — particularly in multi-agent pipelines using the Bounty Engineer x402 infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:52.443Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-agent-handoff-capsule-a2ba7394"}