Agent CLI

One CLI to give your AI agents full onchain superpowers.

polygon-agent setup

Try with your agent

polygon-agent send --to 0x742d...4e2B --amount 5 --symbol USDC --broadcast

Try with your agent

polygon-agent swap --from POL --to USDC --amount 10 --broadcast

Try with your agent

polygon-agent polymarket clob-buy 0xabc123 YES 10 --broadcast

Try with your agent

polygon-agent x402-pay --url https://api.data.com/feed --broadcast

Try with your agent

polygon-agent agent register --name "SentientTrader" --broadcast

Try with your agent
UPDATE

     Live
Operations

polygon-agent setup

{
  ok: true,
  eoaAddress: "0x1a2B...3c4D",
  accessKey: "ak_live_...",
  projectId: 42,
}
01
SETUP

polygon-agent send --to 0x742d...4e2B --amount 5 --symbol USDC --broadcast

{
  ok: true,
  txHash: "0x8a3f...b21e",
  explorerUrl: "someurl"
}
01
Send

polygon-agent swap --from POL --to USDC --amount 10 --broadcast

{
  ok: true,
  fromToken: "POL",
  toToken: "USDC",
  depositTxHash
}
01
Swap

polygon-agent polymarket clob-buy 0xabc123 YES 10 --broadcast

{
  ok: true,
  question: "Will ETH hit $5k?",
  outcome: "YES",
  amountUsd: 10,
  orderId
}
01
Polymarket

polygon-agent x402-pay --url https://api.data.com/feed --broadcast

{
  ok: true,
  status: 200,
  paymentTx
}
01
x402 Pay

polygon-agent agent register --name "SentientTrader" --broadcast

{
  ok: true,
  agentId: 1,
  contract: "IdentityRegistry",
  txHash
}
01
Register
PRIMER

     Core
Modules

01

Smart Wallets

Create Sequence smart wallets with session-based keys, spending limits, and browser-approved permissions. No seed phrases.
02

On-chain Identity

Register agents on the ERC-8004 registry on Polygon.Store metadata, link wallets, and resolve agent identities onchain.
03

Cross-chain Yield Optimization

Schedule your agent to automatically move funds to the best yield opportunities anywhere they may be.
04

Polymarket Trading

Full Polymarket CLOB integration. Place buy/sell orders, manage positions, and query market data programmatically.
05

X402 Payments

Pay-per-request HTTP protocol. Agents automatically pay for API access with USDC when servers respond with 402.
06

Token Operations

Send, swap, bridge, and check balances across chains. Fund wallets from external accounts. Multi-chain via Sequence and Trails

Ready to Launch Crypto Payments?

Let's build