Cortex

Cortex · devnet

Programmable wallets
for AI agents

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.

  • On-chain limits : per-call cap, daily cap, owner override
  • Open registry : any author can publish a paid skill
  • Single-tx settlement : PDA-signed CPI to author's ATA

Agent vault

cortex-demo-agent

Live

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
15 calls lifetime12 skills available

Skills registered

12

Agent wallets

2

Calls settled

15

lifetime

Volume

1.98

devUSDC

Three roles

One program, three sides of the marketplace.

01

Skill author

Register a slug, set a USDC price-per-call, link your manifest. Revenue accrues directly to your token account on every paid call.

See registry

02

Agent owner

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 wallet

03

Agent runtime

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 + demo

How a call settles

One Solana transaction. Three guarantees.

  1. STEP 01

    Agent signs

    The agent runtime signs pay_for_call with its own keypair. Your owner key never has to be online.

  2. STEP 02

    Program enforces

    Skill is active · mint matches · price ≤ per-call limit · daily spent + price ≤ daily limit. Reverts otherwise.

  3. STEP 03

    USDC settles

    PDA-signed CPI moves price_per_call from the agent vault straight to the author's ATA. Counters update.