Engineering

AI Agent Payments in 2026: What Developers Building Onchain Agents Actually Need

Coinbase shipped Agentic Wallets, AWS shipped AgentCore payments, and x402 is moving real volume. Here is a technical look at what AI agents that transact actually need — and the custody question almost nobody is asking about who holds the keys when an agent signs.

BlocLabs Team

BlocLabs Team

Editorial ·

AI Agent Payments in 2026: What Developers Building Onchain Agents Actually Need

Autonomous agents have a money problem, and 2026 is the year the industry started solving it in earnest. This is a technical walkthrough of what an AI agent that transacts onchain actually needs, what shipped this year, and the one architectural question — custody — that most of the coverage skips.

We build onchain infrastructure at BlocLabs, including an agent layer, so we have a position. We have tried to keep it to the last section and make the rest useful regardless of what you build on.

Why agents need wallets

A card is built around a human. There is a billing address, a chargeback window, a 16-digit number that is a bearer secret, and a fraud model that assumes a person is on the other end. None of that fits an autonomous agent that needs to buy an API call, pay for a minute of compute, or settle with another agent — thousands of times, programmatically, with no human in the approval loop.

What an agent needs instead is closer to a wallet with rules: an identity it controls, the ability to sign a payment without a human present, and hard limits on what it is allowed to spend. That is a wallet-and-policy problem, and it is why the agent-payments conversation is really an onchain conversation.

What shipped in 2026

The reference implementation right now is Coinbase’s. It is worth separating three things that get conflated:

  • AgentKit is an open-source toolkit (first released November 2024) for giving an agent a wallet and onchain actions. It is framework- and wallet-agnostic, ships in TypeScript and Python, and integrates with LangChain, the Vercel AI SDK, MCP, and others.
  • Agentic Wallets is the wallet product Coinbase launched on February 11, 2026, packaging custody, spending guardrails, and x402 payments specifically for agents.
  • x402 is the payment protocol underneath, which we will come back to.

Integrating an agent wallet today looks like this. AgentKit’s current provider class is CdpEvmWalletProvider (configured with a wallet secret — note this is not the older CdpWalletProvider you will find in 2024-era tutorials):

import { CdpEvmWalletProvider } from "@coinbase/agentkit";

const walletProvider = await CdpEvmWalletProvider.configureWithWallet({
  apiKeyId: process.env.CDP_API_KEY_ID,
  apiKeySecret: process.env.CDP_API_KEY_SECRET,
  walletSecret: process.env.CDP_WALLET_SECRET,
  networkId: "base-sepolia",
});

From there you compose action providers — ERC-20 transfers, an x402 client, WETH, and so on — and hand the resulting tools to your agent framework. For a developer on Base or an EVM chain, this covers a large share of what you need today. It is good infrastructure, and the right starting point for many teams.

Amazon Bedrock AgentCore payments, previewed in spring 2026, takes a similar shape at the cloud-platform layer: built with Coinbase and Stripe (Stripe via its Privy subsidiary), it runs on x402 and enforces per-session spending limits through a PaymentSession with a maxSpendAmount — once the budget or expiry is hit, further payments are denied. Both providers there operate stablecoin wallets; this is not a “Coinbase does crypto, Stripe does cards” split.

The custody question nobody is asking

Here is the question that determines your real risk, and it is rarely the headline: when an agent signs a transaction, who holds the key?

For Coinbase Agentic Wallets, the answer is a trusted execution environment. Per Coinbase’s server-wallet documentation, private keys are generated and used inside a TEE that “CDP handles,” and the key is never exposed to your server, the agent’s prompt, or the model. Coinbase describes this as non-custodial, on the grounds that it cannot extract the plaintext key from the enclave.

That is a real security property, and it is worth understanding precisely, because “non-custodial” is doing subtle work. The full key lives inside Coinbase-operated infrastructure. The developer never holds a key or a key share; control is gated by scoped API credentials and a wallet secret. So “non-custodial” here means Coinbase cannot see or exfiltrate the key — not the developer holds the key. (This is a different model from the deprecated v1 server wallets, which used 2-of-2 MPC with one share held by the developer. The 2026 agent wallets are enclave-based, not MPC.)

Why does the distinction matter for an agent? Because the failure modes are operator-shaped. If the API credential that authorizes signing leaks, an attacker can direct the enclave to sign. If the operator has an outage, your agent cannot transact. If the operator changes policy, deprecates a product, or is compelled to act, the key is in their environment, not yours. None of this makes the TEE model wrong — it is a strong design — but an agent that may sign thousands of times unattended deserves an explicit answer to “what is the worst an operator-side failure can do?” That answer should be a design input, not a footnote.

What EVM-native, non-custodial agent wallets need

If you are building for agents that act unattended, these are the requirements we hold ourselves to:

  1. Per-agent key isolation. Each agent signs with its own scoped, short-lived authority. Compromise of one agent’s key exposes only that agent’s bounded budget, not a shared treasury. This is least privilege applied to autonomy.
  2. Policy-enforced spending limits. Because no human reads each prompt, spend authority must be rule-bound — amount caps, allowlists, time windows — enforced at the signing layer, not assumed by trust. The enforcement should live where the key lives.
  3. Non-custodial signing without a single custodian. A threshold or enclave model that removes the lone-operator single point of failure, so that no one party — including the infrastructure provider — can unilaterally move funds.
  4. Multi-service support. A real agent does not only pay. In one flow it might pay for an API, mint an NFT receipt, check an onchain identity, and manage a subscription. If each of those is a separate vendor, you have rebuilt the integration tax inside your agent.
  5. EVM-native standards. ERC-4337 gives you smart-account validation, bundlers, and paymasters; ERC-7702 — live on mainnet since Pectra in May 2025 — lets an existing account delegate to contract logic and adopt scoped sub-keys. Together they are the substrate for session keys and programmable spending, on the chains where most value already settles.

x402 versus the full stack

x402 deserves its momentum. Created by Coinbase and now stewarded by the x402 Foundation under the Linux Foundation, it revives the HTTP 402 status code into a clean machine-to-machine payment flow: a server answers a request with 402 and machine-readable terms, the client signs a stablecoin payment, and a facilitator settles it onchain. Chainalysis reported more than 100 million cumulative agentic transactions on Base through Q1 2026 — real adoption, not a demo.

But x402 is, by design, a payment layer. It authenticates the payment, not the payer. It does not give you identity, NFTs, subscriptions, or multi-agent coordination — and it does not pretend to. That is the right scope for a protocol. It is the wrong scope for an application. An agent that only ever pays for things can live on x402 alone. An agent that needs to be something onchain — hold an identity, own assets, carry state across interactions — needs more than a payment rail underneath it.

This is the gap between a protocol and a stack. x402 is excellent at the one job it has. The full set of jobs an autonomous onchain agent accumulates is larger.

What FabricBloc is building

This is the problem we are building FabricBloc for: an EVM-native, non-custodial onchain stack where the same primitives — wallets, payments, NFTs, identity — are exposed to AI agents over MCP, with threshold-based signing so no single operator holds the key, and policy enforced where signing happens. One SDK, five services, the human still in control of the keys.

FabricBloc is in early access and built and operated by BlocLabs. If you are building agents that transact and the custody question above is one you take seriously, we would like to talk.

Request early access to FabricBloc →

For the wider wallet landscape, see our guides to Privy alternatives in 2026 and the two-vendor problem. You can also explore our blockchain API services or see the work we have shipped. Learn more about FabricBloc at fabricbloc.com.