The agent proves identity through its Agent Passport and local signer.
The signed intent carries the requested target, selector, spend, and Visa Scope.
KeeperHub validates the Passport/Visa, executes allowed work, and returns proof.
Use agentpassport_keeperhub_gate
Guides task-intent build, local signing, async KeeperHub submit, and final status polling.
Sign with the skill script
Use sign-intent.ts and .agentPassports/keys.txt. Never send the private key to MCP.
Safe Passport/Visa execution flow
- Use the
agentpassport_keeperhub_gateprompt for guided execution. - Call
build_task_intentwith explicit public inputs to receive unsigned intent JSON and typed data. - Sign locally with the skill-provided
sign-intent.tsscript. - Call
submit_taskwith the signed payload; it returns a KeeperHub execution id quickly by default. - Call
check_task_statuswith that execution id until KeeperHub returns final status, logs, errors, tx hash evidence, and KeeperHub Stamps.
Authority boundary
KeeperHub validates the Agent Passport, Visa Scope, action limits, workflow routing, and execution. MCP does not create keys, receive private keys, perform local authorization checks, or convert KeeperHub output into a local approval decision.
Thin MCP tools
build_task_intentPackages explicit public task inputs into typed data. No local Visa validation happens inside MCP.
submit_taskForwards the owner-approved, locally signed payload to KeeperHub and returns an execution id quickly.
check_task_statusReads final KeeperHub execution state, logs, errors, tx hashes, and KeeperHub Stamp evidence.
Resources
agentpassport://tasks/{agentName}Agent-facing task input shape for a Passport and its scoped Visa.
agentpassport://keeperhub/{agentName}Execution and Stamp context for the KeeperHub workflow protecting that Passport.
Stop conditions
Stop if a private key would leave the local machine, the unsigned intent JSON is altered before signing, the signature is malformed, or KeeperHub returns a blocked/error Stamp.