Registry Instructions
Register a new agent identity. Creates a PDA derived from the owner wallet. Starts at Observer tier with a reputation score of 250 (or inherits from a prior deactivation record if one exists).
name—String, max 32 charactersservice_category—ServiceCategoryenumagent_card_url—String, must usehttps,ipfs,ar, ordidschemeagent_card_hash—[u8; 32], SHA-256 hash of the Agent Card document
Update an existing agent's metadata. All parameters are optional; only provided fields are changed.
new_capabilities—u64bitmasknew_name—Stringnew_service_category—ServiceCategorynew_version—String, max 16 charactersnew_agent_card_url+new_agent_card_hash— must be updated together
Permanently deactivate an agent. Irreversible. Creates a deactivation record that preserves the agent's final reputation score.
Suspend an active agent. Owners can self-suspend their own agent; admins can also suspend any agent. Once suspended, the agent cannot participate in transactions until reactivated.
owner—Signer, the agent owner or protocol admin
Note: Owners can suspend their own agent. Once suspended, the agent cannot participate in transactions until reactivated.
Reactivate a suspended agent, restoring it to Active status. Owners can reactivate their self-suspended agent; admin-suspended agents can only be reactivated by the admin.
owner—Signer, the agent owner or protocol admin
Note: Only works if the agent was self-suspended by the owner. Admin-initiated suspensions require admin reactivation.
Close a deactivated agent account and reclaim rent. Requires zero stake balance.
Close a deactivation record after the 30-day grace period and reclaim rent.
owner— the wallet that owns the deactivation record
CPI instruction for other Solana programs. Verifies that an agent is currently active. Use this to gate your program logic on Vouch identity.
CPI instruction that returns an AgentProfile (is_active, tier, reputation, capabilities, is_paused, tier_effective_at) without reverting. Allows your program to read agent data and branch accordingly.