Polygon Launches AI Toolkit for On-Chain Agents

Polygon has launched Agent CLI, an AI toolkit designed to help developers create and deploy on-chain agents. The new tool enables AI agents to create wallets, manage funds, and interact with smart contracts. The move aims to boost the usability of the L2 by making it easier to build sophisticated, automated applications.

The Agent CLI bundles previously fragmented components, offering developers a single toolkit for on-chain AI. Before this, developers had to manually integrate separate wallet libraries, gas abstraction layers, swap and bridge APIs, and identity systems, none of which were designed for the specific security threats faced by autonomous agents. Polygon's solution packages these into one command-line interface, installable as a skill for AI frameworks like Claude and Openclaw. Security is a core focus, with agents operating through session-scoped smart contract wallets that have configurable allowances, spending limits, and 24-hour expiries. Private keys are never exposed to the AI's context window, a crucial feature to mitigate the risk of prompt injection attacks where an attacker could try to trick the AI into revealing sensitive information. Every transaction is also previewed by default before being broadcast to the chain. The toolkit heavily leverages stablecoins, allowing agents to pay for all on-chain actions, including gas fees, with assets like USDC. This is part of a native gas abstraction layer, meaning developers and their agents don't need to manage the native POL token for transaction fees. This design choice aims to simplify multi-chain deployments and shield autonomous agents from the volatility of gas tokens. A key component is the native support for ERC-8004, an emerging Ethereum standard for verifiable on-chain identity and reputation for AI agents. Co-authored by teams from MetaMask, the Ethereum Foundation, Google, and Coinbase, this standard allows an agent to register its identity with a single command and begin building a portable, trustless reputation based on its actions. The toolkit also integrates the x402 protocol, which utilizes the long-dormant HTTP "402 Payment Required" status code for machine-to-machine micropayments. This enables agents to pay for APIs and data feeds on a per-request basis with stablecoins, eliminating the need for traditional subscriptions or API key management. This launch positions Polygon in a growing field of blockchain networks building infrastructure for the AI agent economy. Injective recently launched a similar CLI tool to allow AI agents to interact directly with its network from a terminal. Polygon's move is part of a broader strategy articulated by founder Sandeep Nailwal, who described the toolkit as giving agents their own "Open Money Stack" to enable a functioning agent economy with real financial rails.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.