Agent vault
cortex-demo-agent
Daily budget used
1.98 / 2.00 USDC
- demo-price-feed0.02 USDCsettled
- demo-summarize0.08 USDCsettled
- demo-translate0.12 USDCsettled
- demo-onchain-audit0.18 USDCsettled
- demo-image-gen0.25 USDCsettled
Cortex · devnet
An Anchor program enforces per-call and daily caps on the agent vault. Authors register paid skills on-chain. Every call settles in one SPL transfer at sub-cent fees.
Agent vault
Daily budget used
1.98 / 2.00 USDC
Skills registered
12
Agent wallets
2
Calls settled
15
lifetime
Volume
1.98
devUSDC
Three roles
01
Register a slug, set a USDC price-per-call, link your manifest. Revenue accrues directly to your token account on every paid call.
See registry02
Open an AgentWallet PDA, set hard per-call and daily caps, deposit USDC. Hand the agent a separate signer; you keep the override and withdraw.
Live wallet03
One pay_for_call instruction = one SPL transfer to the author. Limits are enforced on-chain; a runaway loop loses at most a day's budget.
SDK + demoHow a call settles
STEP 01
The agent runtime signs pay_for_call with its own keypair. Your owner key never has to be online.
STEP 02
Skill is active · mint matches · price ≤ per-call limit · daily spent + price ≤ daily limit. Reverts otherwise.
STEP 03
PDA-signed CPI moves price_per_call from the agent vault straight to the author's ATA. Counters update.