DEV Community

AgentWallex
AgentWallex

Posted on

The Three Custody Models for AI Agents — And Why Only One Scales

$65M raised this week alone for AI agent financial infrastructure. Catena Labs closed $30M from a16z to build an "AI-native bank." Sapiom raised $35M for transaction routing. The market has spoken: AI agents need to transact on-chain.

But everyone's solving access. The harder problem — the one that determines who wins in three years — is custody architecture.

When an agent holds $100,000 in stablecoins and the server crashes, who recovers the private key? When an agent goes rogue and tries to drain its balance, what stops it? When compliance asks for an audit trail, where is it?

There are three models. Two of them break at scale.

Model 1: Account Abstraction (Agent Operates Your Wallet)

How it works: Session keys. The agent gets temporary permission to operate your wallet within defined parameters. Biconomy Smart Sessions and ZeroDev are the main implementations.

Why it's fast: The agent signs directly. No coordination overhead. Sub-100ms transactions.

Why it fails for autonomous agents: The agent doesn't own the wallet. It's borrowing permissions from a human user's account. This works for "agent assistants" (book a flight on my behalf). It breaks for "agent employees" (the agent IS the economic actor).

Recovery is your problem, not the agent's. Compliance liability stays with the human. And if the session key leaks, the attacker operates your wallet until the session expires.

Verdict: Wrong abstraction layer. Built for delegation, not autonomy.

Model 2: Multi-Sig (Agent Is One Signer Among Many)

How it works: M-of-N signatures required per transaction. Safe is the dominant implementation. You might configure 2-of-3: agent + human operator + backup key.

Why it's secure: No single point of failure. One compromised key can't drain funds.

Why it fails for high-frequency agents: Latency. Every transaction requires coordination across multiple signers. Expect 2-5 seconds per authorization. If your agent makes 100 micropayments per minute (pay-per-API-call via x402 protocol), multi-sig is a non-starter.

Multi-sig was designed for DAO treasuries and human governance — scenarios where deliberation is a feature, not a bug.

Verdict: Architecturally sound but operationally too slow for autonomous commerce.

Model 3: MPC Threshold Signatures (Agent Participates, Never Holds Full Key)

How it works: The private key is split into shares using cryptographic threshold schemes. A 2-of-3 setup might look like:

  • Share 1: Held by the agent runtime
  • Share 2: Held by the platform's secure enclave
  • Share 3: Held in cold backup (HSM or distributed custody)

To sign a transaction, the agent and platform cooperate. Neither ever reconstructs the full key. If the agent is compromised, the attacker gets one useless share.

Why it's fast: No blockchain-level coordination. Signing happens off-chain via secure multi-party computation. Authorization completes in <150ms.

Why it scales for agents: The agent participates in custody without holding existential risk. Recovery doesn't depend on the agent's uptime. You can rotate shares without changing the on-chain address.

The missing piece: MPC solves key management. It doesn't solve policy. You still need programmatic controls.

The Policy Engine: MPC's Compliance Layer

MPC prevents key theft. A policy engine prevents authorized abuse.

Real-world policy rules for agent wallets:

  • Spending limits: $500/day, $5,000/month
  • Recipient allowlists: Only pay verified API providers
  • Rate limiting: Max 100 transactions per hour
  • Time windows: No transactions between 2 AM - 6 AM UTC
  • Amount caps per transaction: Single payment cannot exceed $100

Every authorization request runs through the policy engine before the MPC signing ceremony. If the policy rejects, signing never happens. No human approval loop. No manual review tickets.

This is how enterprises adopt agent payments. The CFO doesn't want to babysit an AI. They want programmable guardrails with a full audit trail.

Why Stablecoins Won

x402 protocol data: 99.3% of AI agent payments use USDC. Not ETH. Not native tokens. Stablecoins.

Agents need predictable unit economics. If an API call costs $0.02, the agent can't tolerate 15% gas fee variance or token price volatility. USDC on Base gives sub-cent fees and zero FX risk.

The winning custody model will be stablecoin-native, not retrofitted.

What This Means for the Market

Catena's $30M validates agent banking. Sapiom's $35M proves cost routing matters. But neither solves the custody question.

The infrastructure that wins will combine:

  1. MPC threshold signing (security + speed)
  2. Programmable policy engine (compliance without humans)
  3. Stablecoin-first architecture (predictable unit economics)
  4. Sub-150ms authorization (high-frequency commerce ready)

Account Abstraction is elegant but structurally wrong for autonomous agents. Multi-sig is secure but operationally too slow. MPC + policy is the only model that gives agents custody and enterprises control.

The race to build agent financial rails is accelerating. But access without custody is a house with no foundation.

We're building the foundation.

Try the sandbox: app.agentwallex.com

Waitlist: 3,600+ teams and counting.


Follow & Try AgentWallex

Top comments (0)