Polygon Introduces Agent CLI for Onchain AI Agents

Polygon launches Agent CLI, giving AI agents wallets, payments, swaps, bridging & onchain identity in a single install.

Polygon Introduces Agent CLI for Onchain AI Agents
Polygon Introduces Agent CLI for Onchain AI Agents

Polygon Labs has introduced the Polygon Agent CLI, a new developer toolkit designed to help AI agents securely operate onchain. The open-source release provides agents with built-in infrastructure for wallets, payments, swaps, bridging, identity, & data access through a single installation.

The release reflects a broader shift toward agent-driven economies, where autonomous software systems transact, access APIs, & coordinate with other agents. Polygon’s new toolkit aims to simplify the infrastructure required for these interactions.

While AI agents are increasingly capable of planning tasks & executing workflows, interacting with blockchain infrastructure has remained complex. Developers typically combine multiple tools such as wallet libraries, swap services, bridges, identity layers, & RPC providers.

This fragmented stack introduces operational risks & additional complexity for systems designed to operate autonomously.

Polygon’s Agent CLI attempts to consolidate these components into a single integrated toolkit, allowing agents to interact with blockchain networks without managing multiple third party services.

What the Polygon Agent CLI Enables

The CLI provides agents with an end-to-end set of tools for performing financial & identity-related operations onchain.

With a single installation, agents can:

  • Create & manage wallets
  • Send tokens across chains
  • Swap tokens & access DeFi services
  • Bridge assets between networks
  • Query balances & transaction history
  • Register onchain identity
  • Pay for APIs & services

Polygon describes the system as infrastructure for programmable money, where software agents can hold funds, make payments, & interact with services without manual intervention.

Security & Wallet Architecture

One of the key design considerations behind the CLI is security for autonomous agents. The system introduces session-scoped smart contract wallets, allowing developers to define spending limits, contract permissions, & expiry times for agent transactions.

Importantly, private keys remain encrypted & never enter the agent’s language model context, reducing the risk of prompt injection attacks or accidental key exposure. Before any transaction is executed, the CLI also performs a preview simulation, allowing developers to review what the agent intends to execute before it reaches the blockchain.

One install and your agent gets supercharged with a wallet, gas abstraction, token swaps, crosschain bridging, onchain identity, and x402 payments.

The agent economy needs proper infrastructure. Here it is. Pre-integrated and secure by default. pic.twitter.com/lD1GT43VcZ— Polygon | POL (@0xPolygon) March 5, 2026

Please become a free member to unlock this article and more content.

Already have an account? Sign in

Subscribe to join the discussion.

Please create an account to become a member and join the discussion.

Already have an account? Sign in

Sign up for EtherWorld.co newsletters.

Stay up to date with curated collection of our top stories.

Please check your inbox and confirm. Something went wrong. Please try again.