shugo
docs
introduction

zero-custody delegation protocol overview

quickstart

deploy your first guardrail in under 5 minutes

zero-custody

solana subscriptions & allowances cpi mechanics

velocity caps

epoch-based mathematical spend bounding

cli
shugo init

scaffold local agent policy workspaces

shugo delegate

sign and broadcast on-chain allowance policy

shugo inspect

stream real-time spend accumulators and epochs

shugo revoke

instant emergency key revocation via single instruction

proofs
kani model checker

bounded verification runs eliminating panics & overflows

velocity invariants

formal mathematical proof against balance exhaustion

revocation soundness

proof that revoked agent keys cannot sign or proxy cpis

verification logs

reproducible artifacts, harnesses, and test traces

playground
Explorer
launch dashboardplayground
introduction

zero-custody delegation protocol overview

quickstart

deploy your first guardrail in under 5 minutes

zero-custody

solana subscriptions & allowances cpi mechanics

velocity caps

epoch-based mathematical spend bounding

shugo init

scaffold local agent policy workspaces

shugo delegate

sign and broadcast on-chain allowance policy

shugo inspect

stream real-time spend accumulators and epochs

shugo revoke

instant emergency key revocation via single instruction

kani model checker

bounded verification runs eliminating panics & overflows

velocity invariants

formal mathematical proof against balance exhaustion

revocation soundness

proof that revoked agent keys cannot sign or proxy cpis

verification logs

reproducible artifacts, harnesses, and test traces

shugo / 守護 / शुगोgithub.com/Shugo-protocol/Shugo

faq's

no. the agent does not possess the treasury's private keys. it only possesses execution authority bounded by shugo's on-chain cpi proxy. if an agent attempts to exceed its epoch cap or call a non-allowlisted program, the anchor program rejects the transaction.

multisigs require synchronous human signatures for every transaction, defeating the purpose of an autonomous agent. shugo is a delegation engine: humans sign once to establish cryptographic bounds, and the agent executes autonomously within them.

the velocity tracking accumulators and mathematical bounds are formally verified using the aws kani model checker. we mathematically prove that integer overflows and epoch-bypass vectors are impossible under any execution path.

no. shugo is strictly a zero-custody protocol. assets remain in your native solana wallet. we leverage the official solana subscriptions & allowances (s&a) program to act solely as a strict authorization proxy.

the attacker is mathematically bound by the exact same velocity caps and target allowlists. furthermore, the treasury owner can revoke the agent's cpi execution authority instantly via a single shugo revoke instruction.

note: explicitly architected for solana foundation's s&a delegation standards.