Skip to content

About

Infrastructure for building agents on Polygon

Resources

Security policy

Stars

31 stars

Watchers

1 watching

Forks

Latest commit

 

History

687 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygon Agent CLI

Polygon Agent CLI

Monorepo for the Polygon Agent CLI — everything AI agents need to operate onchain.

Polygon Agent CLI

You're probably looking for the CLI. Head to the package for full documentation:

packages/polygon-agent-cli/ — @polygonlabs/agent-cli on npm

Personal assistants (Muse, OpenClaw, Hermes, Grok Bot, Claude Code, Codex, Cursor): give the assistant https://agents.polygon.technology/skill.md and ask it to set up your wallet. That page is the AgentPay skill (skills/agentpay/), your own agent for payments on the Open Money Stack (OMS): a short index that installs the CLI, checks the wallet's status, and opens a reference for each use case only when it's needed.

Install as a skill:

npx skills add https://github.com/0xPolygon/polygon-agent-cli

Or install the plugin, which bundles the same skill:

  • Claude Code: /plugin marketplace add 0xPolygon/polygon-agent-cli, then /plugin install agentpay@polygon-agent-cli
  • Codex and Cursor: add this repository (0xPolygon/polygon-agent-cli) as a plugin marketplace, then install agentpay

The manifests live at the repo root (.claude-plugin/, .codex-plugin/, .cursor-plugin/, .agents/plugins/) and point at plugins/agentpay/, whose skills/ and assets/ link back to the root folders.

Or install the CLI directly:

npx @polygonlabs/agent-cli --help

Other Packages

This repository also contains supporting packages:

  • packages/agentconnect-ui/ — React app (served at agentconnect.polygon.technology) that the CLI opens for browser-based wallet login with Google or email
  • packages/oidc-relay/ — Cloudflare Worker that pairs the login page with the CLI during browser login

Development

pnpm install
pnpm polygon-agent --help

Requirements: Node.js 20+, pnpm

License

MIT

About

Infrastructure for building agents on Polygon

Resources

Security policy

Stars

31 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages