Skip to main content

The common core

Every integration is the same two moves: read to decide, build to act. What differs between the models is only who signs and when — the API surface is identical.

Model 1 — Smart account

Best for

Anything that wants the guarantees the bundles are designed for: apps, agents and allocators running on ERC-4337 accounts.
  • Custody: the user’s own smart account.
  • Execution: the bundle goes out as one atomic user operation.
  • Gas: paid in USDC by the user’s ERC-20 paymaster. No native token on any chain.
  • What you need: an account on EntryPoint v0.7, a bundler and a paymaster.
This is the only model where loops, cross-chain redemption-plus-deposit, and the atomicity the simulation proves are actually available.

Execution Model

Accounts, the paymaster’s gas reserve, and the CCTP rules

Model 2 — EOA or existing wallet

Best for

Wallets, exchanges and apps with users on MetaMask, Coinbase Wallet or their own key infrastructure.
  • Custody: the user’s existing wallet.
  • Execution: the calls are sent in order, each receipt awaited.
  • Gas: the chain’s native token, as usual.
  • What you give up: atomicity. A bundle stopped halfway leaves the account holding whatever the last completed call produced.
Fine for a plain deposit or withdrawal — two or three calls whose intermediate states are harmless. Not the way to open a levered loop.

Model 3 — Agent-driven

Best for

AI agents, robo-advisors and automated allocators that decide continuously and execute through a client that holds the keys.
The agent does the reading and the building; the user’s client does the signing. Nothing in the loop needs a human to be online at the moment of execution, and the agent never holds a key.
A useful division of labour: Because the bundle is validated before it leaves the API, an agent’s worst case is a refusal to act — not a broken transaction it talked itself into.

AI Agents

The full agent integration path

Choosing

1

Does it need to run unattended?

Yes → Model 3, on top of Model 1’s execution.No → next question.
2

Do your users already have smart accounts, or can you give them one?

Yes → Model 1.No → Model 2, accepting sequenced calls and native gas.
3

Do you need loops or cross-chain?

Yes → Model 1 is required, not merely recommended.No → either model works.

Next steps

API Cookbook

End-to-end recipes, in TypeScript

Calldata API

Parameters, responses, errors

How It Works

What happens between the request and the bundle

Use Cases

Worked integrations by audience