Aller au contenu
TakoAPI
Retour aux skills

demo-agents-sdk

par jameslawton

Coding Agents & IDEs
396Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Complete Polygon agent toolkit.

Description

Ce que fait ce skill

CLI toolkit for running agents on Polygon with session-based smart contract wallets. Handles token operations (send, swap, bridge, deposit), on-chain identity and reputation via ERC-8004, and x402 micropayments. Encrypted local storage keeps keys and session data on disk.

Bundles wallet creation, session approval, token operations, and on-chain identity into a single CLI so agents don't need separate integrations for each concern.

Quand l'utiliser

  • Sending USDC or native POL from an agent wallet to another address
  • Swapping tokens across chains without managing raw transaction signing
  • Registering an agent on-chain and querying its reputation score
  • Making x402 micropayments to paywalled API endpoints
  • Setting spending limits on a session wallet before handing it to an automated process

Exemple de workflow

ENTRÉE

User asks: register my agent on-chain and check its reputation

AGENT
  1. 1

    Runs polygon-agent setup --name MyAgent to create EOA and Sequence project

  2. 2

    Exports SEQUENCE_PROJECT_ACCESS_KEY and runs wallet create to provision session wallet

  3. 3

    Runs polygon-agent agent register --name MyAgent --broadcast to mint ERC-8004 NFT and get agentId

  4. 4

    Runs polygon-agent agent reputation --agent-id <id> to fetch on-chain reputation data

SORTIE

Agent is registered on Polygon mainnet with an ERC-721 identity NFT; reputation registry returns current score and tags

Prérequis

  • SEQUENCE_PROJECT_ACCESS_KEY (from Sequence Builder after setup)
  • SEQUENCE_INDEXER_ACCESS_KEY (for balance checks)
  • TRAILS_API_KEY (optional, for token operations via Trails)

Installation

clawhub install jameslawton/demo-agents-sdk

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens