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. Personal keys stay exterior the LLM context.
- The CLI contains native assist for ERC-8004 and the x402 protocol.
Polygon launched the Agent CLI, a command-line software that unifies in a single set up all the pieces an artificial 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 improvement 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 element 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 Economy 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. Personal 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 by means of 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 assist for ERC-8004, an Ethereum customary 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 customary permits every agent to register its identification onchain, accumulate moveable status, and turn out to be discoverable by different brokers and providers. Complementarily, assist for the x402 protocol permits 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 ingredient is the dry run mode enabled by default: earlier than any transaction is broadcast to the community, Polygon presents a full preview of what is going to happen. In contexts the place an agent could make 1000’s of choices, that affirmation step retains people in management over what really touches the chain. The toolkit is appropriate with Claude, Openclaw, LangChain, and CrewAI, amongst different frameworks that assist the use of the sort of software.













