Configuring your own wallet by hand, as this guide describes, is the manual version of what
stellar agentgate init automates end-to-end against the canonical agent-policy instance — no policy deployment of your own required.Configuring an allow-list
agent-policy.configure sets a wallet’s allow-list and spend cap in one call, authenticated by the wallet itself (so only the wallet owner can change it):
Restricting the agent’s signer
A signer must be added withSignerLimits scoped to the target contract, requiring the policy as a co-signer — see Security Model for why an unlimited signer defeats the whole design:
Resetting to a pristine demo state
scripts/reset-demo.ts deploys an entirely fresh vault, policy, and wallet — new keys, zero prior spend, zero prior balance — and writes the result to .env:
See the full setup scripts
setup-wallet.ts, restrict-agent-signer.ts, and reconfigure-policy.ts cover the individual steps this guide describes, for when you don’t want a full fresh redeploy.