TL;DR:
- Polygon launched the Agent CLI, an onchain toolkit for AI brokers that features wallets, funds, identification, and bridging in a single set up.
- Brokers function totally in stablecoins, without having to handle native fuel tokens. Non-public keys stay exterior the LLM context.
- The CLI contains native help for ERC-8004 and the x402 protocol.
Polygon launched the Agent CLI, a command-line software that unifies in a single set up every part an synthetic intelligence agent must function onchain: pockets creation, token sending and swapping, cross-chain bridging, identification registration, and stablecoin funds. The initiative goals to eradicate the infrastructure fragmentation that growth groups face when making an attempt to equip their brokers with autonomous monetary capabilities.
Till now, integrating an agent with the chain required assembling individually a pockets library, a fuel abstraction layer, a swap API, a bridge API, and an identification system, every part coming from a special supplier with no particular design for the risk fashions distinctive to brokers. Polygon’s CLI replaces that fragmented stack with an built-in system that installs with a single npm command.

Polygon Proposes an Agent Financial system on Onchain Rails
The structure is constructed on three layers. The primary consists of good contract wallets with session scope, per-token configurable spending limits, and a 24-hour expiration. Non-public keys by no means enter the language mannequin’s context, which neutralizes immediate injection assault vectors aimed toward extracting them.
The second is transaction orchestration via Polygon Trails, which handles routing, worth discovery, and execution with out the agent needing to know which DEX it makes use of in every operation. The third is native help for ERC-8004, an Ethereum normal for agent identification, co-authored by MetaMask, the Ethereum Basis, Google, and Coinbase.


ERC-8004 and x402: The Requirements Defining Agent-to-Agent Commerce
The ERC-8004 normal permits every agent to register its identification onchain, accumulate transportable popularity, and grow to be discoverable by different brokers and providers. Complementarily, help for the x402 protocol allows micropayments per HTTP request to be executed straight in stablecoins, without having to handle API keys or subscriptions. Brokers pay solely for what they eat in every interplay.
One other necessary safety component is the dry run mode enabled by default: earlier than any transaction is broadcast to the community, Polygon presents a full preview of what’s going to happen. In contexts the place an agent could make hundreds of choices, that affirmation step retains people in management over what truly touches the chain. The toolkit is appropriate with Claude, Openclaw, LangChain, and CrewAI, amongst different frameworks that help using the sort of software.

