[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-polygon-polygon-agent-cli":3,"mdc--hoh3z9-key":37,"related-org-polygon-polygon-agent-cli":4023,"related-repo-polygon-polygon-agent-cli":4073},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"polygon-agent-cli","perform on-chain operations on Polygon","Complete Polygon agent toolkit for on-chain operations on Polygon. Use this skill whenever helping an agent set up a wallet, check balances, send or swap tokens, bridge assets, deposit or withdraw from yield (Aave aTokens, ERC-4626 vaults), register on-chain identity, submit or query reputation\u002Ffeedback, or make x402 micropayments. Covers the full lifecycle: OMS smart contract wallets, Trails DeFi actions, ERC-8004 identity + reputation, x402 payments. Single CLI entry point (`agent`), AES-256-GCM encrypted storage.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"polygon","Polygon","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fpolygon.jpg","0xPolygon",[13,17,20,23],{"name":14,"slug":15,"type":16},"Automation","automation","tag",{"name":18,"slug":19,"type":16},"CLI","cli",{"name":21,"slug":22,"type":16},"Web3","web3",{"name":24,"slug":25,"type":16},"Ethereum","ethereum",26,"https:\u002F\u002Fgithub.com\u002F0xPolygon\u002Fpolygon-agent-cli","2026-07-27T06:07:29.717032",null,16,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Infrastructure for building agents on Polygon","https:\u002F\u002Fgithub.com\u002F0xPolygon\u002Fpolygon-agent-cli\u002Ftree\u002FHEAD\u002Fskills\u002Fpolygon-agent-cli","---\nname: polygon-agent-cli\ndescription: \"Complete Polygon agent toolkit for on-chain operations on Polygon. Use this skill whenever helping an agent set up a wallet, check balances, send or swap tokens, bridge assets, deposit or withdraw from yield (Aave aTokens, ERC-4626 vaults), register on-chain identity, submit or query reputation\u002Ffeedback, or make x402 micropayments. Covers the full lifecycle: OMS smart contract wallets, Trails DeFi actions, ERC-8004 identity + reputation, x402 payments. Single CLI entry point (`agent`), AES-256-GCM encrypted storage.\"\n---\n\n# Polygon Agentic CLI\n\n## Prerequisites\n- Node.js 22+\n- Install globally: `npm install -g @polygonlabs\u002Fagent-cli` (reinstall to update)\n- Entry point: `agent \u003Ccommand>`\n- Storage: `~\u002F.polygon-agent\u002F` (AES-256-GCM encrypted)\n\n> **Note for the agent: on first install, tell the user this is a global npm install** — installs the `agent` CLI system-wide so it runs from any terminal, may need sudo on some setups, re-running the same command updates it, and `npm uninstall -g @polygonlabs\u002Fagent-cli` removes it. Mention once on first install.\n\n## If a command fails with \"Unknown argument\" or \"command not found\"\n\nThis skill is versioned with the CLI — commands and flags drift across releases. Check your version, compare to latest, and upgrade if behind:\n\n```bash\nagent --version                        # currently installed\nnpm view @polygonlabs\u002Fagent-cli version        # latest published\nnpm install -g @polygonlabs\u002Fagent-cli@latest   # upgrade\n```\n\n## Architecture\n\nThe CLI uses the **OMS (Open Money Stack) V3 embedded-wallet** model (`@polygonlabs\u002Foms-wallet`). By default, `wallet login` opens the agentconnect login page (`POLYGON_AGENT_LOGIN_UI`, default `https:\u002F\u002Fagentconnect.polygon.technology`), where the user chooses Google or email (email sends a 6-digit code to the user's inbox, entered on the page). This works whether the browser is on this machine or a different one, so there is no separate headless mode. `--local` falls back to the legacy loopback flow (raw Google sign-in URL plus a localhost callback; browser must be on this same machine; Google only). `--remote` is deprecated and is now a no-op that prints a notice. Once the user signs in, the wallet is created or unlocked and the session credential is stored encrypted on disk. There is no on-chain permission scoping.\n\n| Wallet | Created by | Purpose | Fund? |\n|--------|-----------|---------|-------|\n| Embedded wallet (V3) | `wallet login` | Primary spending wallet | YES |\n\nThe wallet address is the **same across all EVM chains**. Sessions last ~1 week before re-login is needed.\n\n## Environment Variables\n\n### OMS credentials (optional)\n\nNo setup step is required. The CLI ships a default OMS publishable key, and `wallet login` automatically provisions a dedicated Builder project and access key on first login, saving it to `~\u002F.polygon-agent\u002Fbuilder.json`.\n\n| Variable | Description |\n|----------|-------------|\n| `OMS_PUBLISHABLE_KEY` | Advanced override: point at your own OMS Builder project instead of the default |\n\nSet it via env, or persist once with `setup` so every command reads it from `~\u002F.polygon-agent\u002Fbuilder.json`:\n```bash\nagent setup --oms-publishable-key \u003Ckey>\n```\n\n`--oms-project-id \u003Cproj_...>` is also accepted but optional — it's kept only as legacy display metadata. Plain `setup` (no key) still works for manual or `--force` re-provisioning.\n\n### Optional overrides\n| Variable | Default |\n|----------|---------|\n| `POLYGON_AGENT_LOGIN_UI` | Base URL of the browser login page opened by `wallet login` (default `https:\u002F\u002Fagentconnect.polygon.technology`) |\n| `POLYGON_AGENT_OIDC_RELAY` | Base URL of the OIDC relay used by `wallet login` (default `https:\u002F\u002Foidc-relay.polygon.technology`); also settable per run with `--relay-url` |\n| `SEQUENCE_PROJECT_ACCESS_KEY` | Used only as the Trails API key for DeFi earn-pool lookups (optional) |\n| `TRAILS_TOKEN_MAP_JSON` | Token-directory lookup |\n| `POLYGON_AGENT_DEBUG_FETCH` | Off — logs HTTP to `~\u002F.polygon-agent\u002Ffetch-debug.log` |\n| `POLYGON_AGENT_DEBUG_FEE` | Off — dumps fee options to stderr |\n\n## Complete Setup Flow\n\n```bash\n# Step 1: Log in in the browser\nagent wallet login\n# → opens the agentconnect login page; choose Google or email (email sends\n#   a 6-digit code to the user's inbox, entered on the page)\n# → works whether the browser is on this machine or elsewhere, so there is\n#   no separate headless mode\n# → --local falls back to the legacy loopback flow (Google only, browser\n#   must be on this machine)\n# → session saved to ~\u002F.polygon-agent\u002Foms\u002Fmain\u002F; prints the walletAddress\n# → no setup step needed: the CLI ships a default OMS publishable key, and\n#   login auto-provisions a Builder project + access key to\n#   ~\u002F.polygon-agent\u002Fbuilder.json\n\n# Step 1b: Choose transaction mode (asked once)\n# → if the login output includes a `modePrompt` field, ask the user whether to\n#   enable auto mode (writes broadcast immediately, no preview), then run:\nagent mode auto      # or: agent mode dry-run\n# → dry-run (default) previews every write; auto broadcasts immediately.\n#   Never enable auto mode without the user's explicit answer.\n\n# Step 2: Fund wallet\nagent fund\n# → reads walletAddress from session, builds Trails widget URL with toAddress=\u003CwalletAddress>\n# → ALWAYS run this command to get the URL — never construct it manually or hardcode any address\n# → send the returned `fundingUrl` to the user; `walletAddress` in the output confirms the recipient\n\n# Step 3: Verify balances\nagent balances\n\n# Step 4: Register agent on-chain (ERC-8004, Polygon mainnet only)\nagent register --name \"MyAgent\" --broadcast\n# → mints ERC-721 NFT, emits Registered event containing agentId\n# → retrieve agentId: open the tx on https:\u002F\u002Fpolygonscan.com, go to Logs tab,\n#   find the Registered event — agentId is the first indexed parameter\n# → use agentId for reputation queries, reviews, and feedback\n```\n\n## Use-Case Skills\n\nFor specific workflows, fetch and load the relevant sub-skill **before attempting the task**:\n\n| Use Case | Skill URL |\n|----------|-----------|\n| Polymarket prediction market trading | https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-polymarket\u002FSKILL.md |\n| Swap, bridge & deposit (also yield withdraw) | https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-defi\u002FSKILL.md |\n| x402 discovery & pay-per-call APIs | https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-discovery\u002FSKILL.md |\n\n> **IMPORTANT — x402 calls:** If the user asks to use x402 to fetch data or call a service (web search, scraping, news, LLM inference, email, on-chain wallet analytics, multi-chain RPC, etc.), follow these steps in order before making any request:\n>\n> 1. Fetch and read the discovery skill: `GET https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-discovery\u002FSKILL.md`\n> 2. Run `agent wallet list` — if no wallet exists, log in: `agent wallet login` and sign in on the login page (Google or email), then fund the wallet before continuing. No setup step is needed first.\n> 3. Run `agent balances` — confirm USDC is available before proceeding; x402 calls will fail with an EOA funding error if the wallet is empty\n>\n> Do not guess endpoints or search the web for x402 providers. The discovery skill documents the correct, working endpoints with exact URL formats.\n\n---\n\n## Commands Reference\n\n### Setup\n```bash\nagent setup [--name \u003Cname>] [--force]\n  [--oms-publishable-key \u003Ckey>] [--oms-project-id \u003Cproj_...>]  # save OMS credentials (project id optional\u002Flegacy)\nagent mode [auto|dry-run]   # show or set the persisted transaction mode\n```\n\n### Wallet\nValid `--chain` values for operations: `polygon` (default\u002Fmainnet), `amoy` (Polygon testnet), `mainnet` (Ethereum), `arbitrum`, `optimism`, `base`. ERC-8004 agent operations only support `polygon`. The embedded wallet address is the same on every chain.\n\n```bash\nagent wallet login [--name \u003Cn>] [--local] [--no-fund] [--force]\n# Opens the agentconnect login page; choose Google or email. Works whether the browser is local or remote, so there is no separate headless mode.\n# --local falls back to the legacy loopback flow (raw Google URL + localhost callback; browser must be on this machine; Google only). --remote is deprecated (now a no-op with a notice).\nagent wallet logout [--name \u003Cn>]   # clears the local session\nagent wallet list\nagent wallet address [--name \u003Cn>]\nagent wallet remove [--name \u003Cn>]\n```\n\n### Operations\n```bash\nagent balances [--wallet \u003Cn>] [--chain \u003Cchain>] [--chains \u003Ccsv>]\nagent send --to \u003Caddr> --amount \u003Cnum> [--symbol \u003CSYM>] [--token \u003Caddr>] [--decimals \u003Cn>] [--broadcast]\nagent send-native --to \u003Caddr> --amount \u003Cnum> [--broadcast] [--direct]\nagent send-token --symbol \u003CSYM> --to \u003Caddr> --amount \u003Cnum> [--token \u003Caddr>] [--decimals \u003Cn>] [--broadcast]\nagent swap --from \u003CSYM> --to \u003CSYM> --amount \u003Cnum> [--to-chain \u003Cchain>] [--slippage \u003Cnum>] [--broadcast]\nagent deposit --asset \u003CSYM> --amount \u003Cnum> [--protocol aave|morpho] [--broadcast]\nagent withdraw --position \u003Caddr> --amount \u003Cnum|max> [--chain \u003Cchain>] [--broadcast]\nagent fund [--wallet \u003Cn>]\nagent x402-pay --url \u003Curl> --wallet \u003Cn> [--chain \u003Cchain>] [--method GET] [--body \u003Cstr>] [--header Key:Value]\n```\n\nEvery write command accepts `--broadcast` (execute) and `--dry-run` (force preview); with neither, the persisted `agent mode` decides.\n\n### Agent identity & reputation (ERC-8004)\n```bash\nagent register --name \u003Cn> [--agent-uri \u003Curi>] [--metadata \u003Ck=v,k=v>] [--broadcast|--dry-run]\nagent identity --agent-id \u003Cid> [--key \u003Cmetadata-key>]   # agent payment wallet + optional metadata\nagent reputation --agent-id \u003Cid> [--tag1 \u003Ctag>] [--tag2 \u003Ctag>]\nagent reviews --agent-id \u003Cid> [--tag1 \u003Ct>] [--tag2 \u003Ct>] [--include-revoked]\nagent feedback --agent-id \u003Cid> --value \u003Cscore> [--tag1 \u003Ct>] [--tag2 \u003Ct>] [--endpoint \u003Ce>] [--feedback-uri \u003Curi>] [--broadcast|--dry-run]\n```\n\n**ERC-8004 contracts (Polygon mainnet):**\n- IdentityRegistry: `0x8004A169FB4a3325136EB29fA0ceB6D2e539a432`\n- ReputationRegistry: `0x8004BAa17C55a88189AE136b182e5fdA19dE9b63`\n\n## Key Behaviors\n\n- **Transaction mode** — in the default `dry-run` mode, write commands preview and require `--broadcast` to execute. `agent mode auto` persists always-broadcast; `--dry-run` on any command forces a preview regardless of mode. After the first `wallet login`, if the login JSON contains a `modePrompt` field, relay that question to the user and run `agent mode auto` or `agent mode dry-run` per their answer before continuing. Never enable auto mode without the user's explicit answer.\n- **Smart defaults** — `--wallet main`, `--chain polygon`\n- **`balances --chains`** — comma-separated chains (max 20); two or more return JSON with `multiChain: true` and a `chains` array (same wallet address on each)\n- **Fee preference** — auto-selects USDC over native POL when both available; the relayer pays gas in whichever fee token the wallet can afford\n- **`fund`** — returns the agentconnect dashboard funding URL (wallet and chain prefilled) as the `fundingUrl`. Always run `agent fund` to get the URL and wallet address — never hardcode or construct manually.\n- **`deposit`** — picks highest-TVL pool via Trails `getEarnPools` and deposits directly. Full deposit reference: https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-defi\u002FSKILL.md\n- **Gas reserve** — when using `deposit` or any command that spends tokens, always reserve at least 0.1 USDC or 0.1 POL in the wallet for gas. Never attempt to spend the full balance. The `deposit` command enforces a 0.1 reserve automatically, but the agent must apply the same rule when constructing amounts for `send`, `swap`, or direct contract calls.\n- **`withdraw`** — `--position` = aToken or ERC-4626 vault; `--amount` = `max` or underlying units (Aave \u002F vault). Dry-run JSON includes `poolAddress` \u002F `vault`.\n- **`x402-pay`** — probes endpoint for 402, the wallet funds a builder EOA with the exact token amount, the EOA signs the EIP-3009 payment. Chain auto-detected from the 402 response\n- **`call`** — submit arbitrary pre-encoded calldata: `agent call --to \u003Caddr> --data 0x... [--value \u003Camt>] [--prefer-native-fee] [--broadcast]`. The wallet can call any contract (no permission scoping in the V3 model)\n- **`send-native --direct`** — bypasses ValueForwarder contract for direct EOA transfer\n- **No permission scoping** — the V3 embedded wallet can call any contract and spend any amount it holds; there are no per-contract whitelists or spend limits. Guard spending in agent logic, not at the wallet layer.\n- **Session expiry** — ~1 week from login; on expiry, re-run `wallet login`\n\n## Presenting Results to the User\n\nCLI commands output JSON (non-TTY). After running a command, always render the result as formatted markdown — never paste raw JSON into the conversation.\n\n| Command | How to present |\n|---------|---------------|\n| `balances` | Markdown table: Token \u002F Balance columns. Show wallet address and chain above the table. |\n| `send` \u002F `send-token` \u002F `send-native` | One-liner summary: amount, symbol, recipient. If broadcast, show tx hash as a code span and explorer URL as a link. |\n| `swap` | Summary: `X FROM → Y TO` with chain. If broadcast, show deposit tx hash + explorer link. |\n| `deposit` | Summary: amount, asset, protocol, pool address. If broadcast, show tx hash + explorer link. |\n| `withdraw` | Summary: `kind` (aave \u002F erc4626), position, amount, pool or vault. If broadcast, show tx hash + explorer link. |\n| `fund` | Show the `fundingUrl` as a clickable link with a brief instruction to open it. |\n| `wallet login` \u002F `wallet list` | Wallet name, truncated address, chain in a small table or bullet list. |\n| `register` | Show agent name and tx hash as a code span with Polygonscan link. Remind user to retrieve `agentId` from the Registered event on the Logs tab. |\n| `identity` | Show `agentId`, wallet address, whether a wallet is set, and the decoded metadata value when `--key` was passed. |\n| `reputation` | Format score and tag breakdown as a small table. |\n\n**Dry-run results** — always make it visually clear this was a simulation. Prefix with `⚡ Dry run` and show what *would* happen. Remind the user to re-run with `--broadcast` to execute.\n\n**Errors** — extract the `error` field and present it as a clear sentence, not a JSON blob. Include the relevant fix from the Troubleshooting table if applicable.\n\n---\n\n## Troubleshooting\n\n| Issue | Fix |\n|-------|-----|\n| `Wallet not found` | `wallet list`, then `agent wallet login` |\n| Session expired (`OMS_SESSION_EXPIRED`) | Run `agent wallet login` (~1-week lifetime) |\n| `Fee option errors` | Set `POLYGON_AGENT_DEBUG_FEE=1`, ensure wallet has POL or a fee token. For native-only wallets, add `--prefer-native-fee` on `call` |\n| Wrong recipient in Trails widget | Run `agent fund` (do not construct the URL manually) |\n| `x402-pay`: no 402 response | Endpoint doesn't require x402 payment, or URL is wrong |\n| `x402-pay`: payment token mismatch | Chain\u002Ftoken in the 402 response differs from wallet — check `--wallet` points to the right chain |\n| `x402-pay`: EOA funding failed | Wallet lacks sufficient balance to cover the payment amount — run `balances` and fund if needed |\n\n## File Structure\n```\n~\u002F.polygon-agent\u002F\n├── .encryption-key       # AES-256-GCM key (auto-generated, 0600)\n├── config.json           # transaction mode (auto | dry-run)\n├── builder.json          # publishableKey, omsProjectId, polymarket\u002FEOA keys (encrypted)\n├── wallets\u002F\u003Cname>.json   # OMS wallet pointer: walletAddress, loginMethod\n└── oms\u002F\u003Cname>\u002F           # OMS SDK session storage + encrypted credential key\n```\n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,51,58,106,138,144,149,240,246,306,370,382,388,395,415,454,474,520,546,552,714,720,1095,1101,1112,1187,1253,1257,1263,1268,1407,1412,1478,1699,1705,2566,2595,2601,3080,3088,3113,3119,3477,3483,3488,3740,3773,3791,3794,3800,4001,4007,4017],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"polygon-agentic-cli",[48],{"type":49,"value":50},"text","Polygon Agentic CLI",{"type":43,"tag":52,"props":53,"children":55},"h2",{"id":54},"prerequisites",[56],{"type":49,"value":57},"Prerequisites",{"type":43,"tag":59,"props":60,"children":61},"ul",{},[62,68,82,93],{"type":43,"tag":63,"props":64,"children":65},"li",{},[66],{"type":49,"value":67},"Node.js 22+",{"type":43,"tag":63,"props":69,"children":70},{},[71,73,80],{"type":49,"value":72},"Install globally: ",{"type":43,"tag":74,"props":75,"children":77},"code",{"className":76},[],[78],{"type":49,"value":79},"npm install -g @polygonlabs\u002Fagent-cli",{"type":49,"value":81}," (reinstall to update)",{"type":43,"tag":63,"props":83,"children":84},{},[85,87],{"type":49,"value":86},"Entry point: ",{"type":43,"tag":74,"props":88,"children":90},{"className":89},[],[91],{"type":49,"value":92},"agent \u003Ccommand>",{"type":43,"tag":63,"props":94,"children":95},{},[96,98,104],{"type":49,"value":97},"Storage: ",{"type":43,"tag":74,"props":99,"children":101},{"className":100},[],[102],{"type":49,"value":103},"~\u002F.polygon-agent\u002F",{"type":49,"value":105}," (AES-256-GCM encrypted)",{"type":43,"tag":107,"props":108,"children":109},"blockquote",{},[110],{"type":43,"tag":111,"props":112,"children":113},"p",{},[114,120,122,128,130,136],{"type":43,"tag":115,"props":116,"children":117},"strong",{},[118],{"type":49,"value":119},"Note for the agent: on first install, tell the user this is a global npm install",{"type":49,"value":121}," — installs the ",{"type":43,"tag":74,"props":123,"children":125},{"className":124},[],[126],{"type":49,"value":127},"agent",{"type":49,"value":129}," CLI system-wide so it runs from any terminal, may need sudo on some setups, re-running the same command updates it, and ",{"type":43,"tag":74,"props":131,"children":133},{"className":132},[],[134],{"type":49,"value":135},"npm uninstall -g @polygonlabs\u002Fagent-cli",{"type":49,"value":137}," removes it. Mention once on first install.",{"type":43,"tag":52,"props":139,"children":141},{"id":140},"if-a-command-fails-with-unknown-argument-or-command-not-found",[142],{"type":49,"value":143},"If a command fails with \"Unknown argument\" or \"command not found\"",{"type":43,"tag":111,"props":145,"children":146},{},[147],{"type":49,"value":148},"This skill is versioned with the CLI — commands and flags drift across releases. Check your version, compare to latest, and upgrade if behind:",{"type":43,"tag":150,"props":151,"children":156},"pre",{"className":152,"code":153,"language":154,"meta":155,"style":155},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","agent --version                        # currently installed\nnpm view @polygonlabs\u002Fagent-cli version        # latest published\nnpm install -g @polygonlabs\u002Fagent-cli@latest   # upgrade\n","bash","",[157],{"type":43,"tag":74,"props":158,"children":159},{"__ignoreMap":155},[160,183,212],{"type":43,"tag":161,"props":162,"children":165},"span",{"class":163,"line":164},"line",1,[166,171,177],{"type":43,"tag":161,"props":167,"children":169},{"style":168},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[170],{"type":49,"value":127},{"type":43,"tag":161,"props":172,"children":174},{"style":173},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[175],{"type":49,"value":176}," --version",{"type":43,"tag":161,"props":178,"children":180},{"style":179},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[181],{"type":49,"value":182},"                        # currently installed\n",{"type":43,"tag":161,"props":184,"children":186},{"class":163,"line":185},2,[187,192,197,202,207],{"type":43,"tag":161,"props":188,"children":189},{"style":168},[190],{"type":49,"value":191},"npm",{"type":43,"tag":161,"props":193,"children":194},{"style":173},[195],{"type":49,"value":196}," view",{"type":43,"tag":161,"props":198,"children":199},{"style":173},[200],{"type":49,"value":201}," @polygonlabs\u002Fagent-cli",{"type":43,"tag":161,"props":203,"children":204},{"style":173},[205],{"type":49,"value":206}," version",{"type":43,"tag":161,"props":208,"children":209},{"style":179},[210],{"type":49,"value":211},"        # latest published\n",{"type":43,"tag":161,"props":213,"children":215},{"class":163,"line":214},3,[216,220,225,230,235],{"type":43,"tag":161,"props":217,"children":218},{"style":168},[219],{"type":49,"value":191},{"type":43,"tag":161,"props":221,"children":222},{"style":173},[223],{"type":49,"value":224}," install",{"type":43,"tag":161,"props":226,"children":227},{"style":173},[228],{"type":49,"value":229}," -g",{"type":43,"tag":161,"props":231,"children":232},{"style":173},[233],{"type":49,"value":234}," @polygonlabs\u002Fagent-cli@latest",{"type":43,"tag":161,"props":236,"children":237},{"style":179},[238],{"type":49,"value":239},"   # upgrade\n",{"type":43,"tag":52,"props":241,"children":243},{"id":242},"architecture",[244],{"type":49,"value":245},"Architecture",{"type":43,"tag":111,"props":247,"children":248},{},[249,251,256,258,264,266,272,274,280,282,288,290,296,298,304],{"type":49,"value":250},"The CLI uses the ",{"type":43,"tag":115,"props":252,"children":253},{},[254],{"type":49,"value":255},"OMS (Open Money Stack) V3 embedded-wallet",{"type":49,"value":257}," model (",{"type":43,"tag":74,"props":259,"children":261},{"className":260},[],[262],{"type":49,"value":263},"@polygonlabs\u002Foms-wallet",{"type":49,"value":265},"). By default, ",{"type":43,"tag":74,"props":267,"children":269},{"className":268},[],[270],{"type":49,"value":271},"wallet login",{"type":49,"value":273}," opens the agentconnect login page (",{"type":43,"tag":74,"props":275,"children":277},{"className":276},[],[278],{"type":49,"value":279},"POLYGON_AGENT_LOGIN_UI",{"type":49,"value":281},", default ",{"type":43,"tag":74,"props":283,"children":285},{"className":284},[],[286],{"type":49,"value":287},"https:\u002F\u002Fagentconnect.polygon.technology",{"type":49,"value":289},"), where the user chooses Google or email (email sends a 6-digit code to the user's inbox, entered on the page). This works whether the browser is on this machine or a different one, so there is no separate headless mode. ",{"type":43,"tag":74,"props":291,"children":293},{"className":292},[],[294],{"type":49,"value":295},"--local",{"type":49,"value":297}," falls back to the legacy loopback flow (raw Google sign-in URL plus a localhost callback; browser must be on this same machine; Google only). ",{"type":43,"tag":74,"props":299,"children":301},{"className":300},[],[302],{"type":49,"value":303},"--remote",{"type":49,"value":305}," is deprecated and is now a no-op that prints a notice. Once the user signs in, the wallet is created or unlocked and the session credential is stored encrypted on disk. There is no on-chain permission scoping.",{"type":43,"tag":307,"props":308,"children":309},"table",{},[310,339],{"type":43,"tag":311,"props":312,"children":313},"thead",{},[314],{"type":43,"tag":315,"props":316,"children":317},"tr",{},[318,324,329,334],{"type":43,"tag":319,"props":320,"children":321},"th",{},[322],{"type":49,"value":323},"Wallet",{"type":43,"tag":319,"props":325,"children":326},{},[327],{"type":49,"value":328},"Created by",{"type":43,"tag":319,"props":330,"children":331},{},[332],{"type":49,"value":333},"Purpose",{"type":43,"tag":319,"props":335,"children":336},{},[337],{"type":49,"value":338},"Fund?",{"type":43,"tag":340,"props":341,"children":342},"tbody",{},[343],{"type":43,"tag":315,"props":344,"children":345},{},[346,352,360,365],{"type":43,"tag":347,"props":348,"children":349},"td",{},[350],{"type":49,"value":351},"Embedded wallet (V3)",{"type":43,"tag":347,"props":353,"children":354},{},[355],{"type":43,"tag":74,"props":356,"children":358},{"className":357},[],[359],{"type":49,"value":271},{"type":43,"tag":347,"props":361,"children":362},{},[363],{"type":49,"value":364},"Primary spending wallet",{"type":43,"tag":347,"props":366,"children":367},{},[368],{"type":49,"value":369},"YES",{"type":43,"tag":111,"props":371,"children":372},{},[373,375,380],{"type":49,"value":374},"The wallet address is the ",{"type":43,"tag":115,"props":376,"children":377},{},[378],{"type":49,"value":379},"same across all EVM chains",{"type":49,"value":381},". Sessions last ~1 week before re-login is needed.",{"type":43,"tag":52,"props":383,"children":385},{"id":384},"environment-variables",[386],{"type":49,"value":387},"Environment Variables",{"type":43,"tag":389,"props":390,"children":392},"h3",{"id":391},"oms-credentials-optional",[393],{"type":49,"value":394},"OMS credentials (optional)",{"type":43,"tag":111,"props":396,"children":397},{},[398,400,405,407,413],{"type":49,"value":399},"No setup step is required. The CLI ships a default OMS publishable key, and ",{"type":43,"tag":74,"props":401,"children":403},{"className":402},[],[404],{"type":49,"value":271},{"type":49,"value":406}," automatically provisions a dedicated Builder project and access key on first login, saving it to ",{"type":43,"tag":74,"props":408,"children":410},{"className":409},[],[411],{"type":49,"value":412},"~\u002F.polygon-agent\u002Fbuilder.json",{"type":49,"value":414},".",{"type":43,"tag":307,"props":416,"children":417},{},[418,434],{"type":43,"tag":311,"props":419,"children":420},{},[421],{"type":43,"tag":315,"props":422,"children":423},{},[424,429],{"type":43,"tag":319,"props":425,"children":426},{},[427],{"type":49,"value":428},"Variable",{"type":43,"tag":319,"props":430,"children":431},{},[432],{"type":49,"value":433},"Description",{"type":43,"tag":340,"props":435,"children":436},{},[437],{"type":43,"tag":315,"props":438,"children":439},{},[440,449],{"type":43,"tag":347,"props":441,"children":442},{},[443],{"type":43,"tag":74,"props":444,"children":446},{"className":445},[],[447],{"type":49,"value":448},"OMS_PUBLISHABLE_KEY",{"type":43,"tag":347,"props":450,"children":451},{},[452],{"type":49,"value":453},"Advanced override: point at your own OMS Builder project instead of the default",{"type":43,"tag":111,"props":455,"children":456},{},[457,459,465,467,472],{"type":49,"value":458},"Set it via env, or persist once with ",{"type":43,"tag":74,"props":460,"children":462},{"className":461},[],[463],{"type":49,"value":464},"setup",{"type":49,"value":466}," so every command reads it from ",{"type":43,"tag":74,"props":468,"children":470},{"className":469},[],[471],{"type":49,"value":412},{"type":49,"value":473},":",{"type":43,"tag":150,"props":475,"children":477},{"className":152,"code":476,"language":154,"meta":155,"style":155},"agent setup --oms-publishable-key \u003Ckey>\n",[478],{"type":43,"tag":74,"props":479,"children":480},{"__ignoreMap":155},[481],{"type":43,"tag":161,"props":482,"children":483},{"class":163,"line":164},[484,488,493,498,504,509,515],{"type":43,"tag":161,"props":485,"children":486},{"style":168},[487],{"type":49,"value":127},{"type":43,"tag":161,"props":489,"children":490},{"style":173},[491],{"type":49,"value":492}," setup",{"type":43,"tag":161,"props":494,"children":495},{"style":173},[496],{"type":49,"value":497}," --oms-publishable-key",{"type":43,"tag":161,"props":499,"children":501},{"style":500},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[502],{"type":49,"value":503}," \u003C",{"type":43,"tag":161,"props":505,"children":506},{"style":173},[507],{"type":49,"value":508},"ke",{"type":43,"tag":161,"props":510,"children":512},{"style":511},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[513],{"type":49,"value":514},"y",{"type":43,"tag":161,"props":516,"children":517},{"style":500},[518],{"type":49,"value":519},">\n",{"type":43,"tag":111,"props":521,"children":522},{},[523,529,531,536,538,544],{"type":43,"tag":74,"props":524,"children":526},{"className":525},[],[527],{"type":49,"value":528},"--oms-project-id \u003Cproj_...>",{"type":49,"value":530}," is also accepted but optional — it's kept only as legacy display metadata. Plain ",{"type":43,"tag":74,"props":532,"children":534},{"className":533},[],[535],{"type":49,"value":464},{"type":49,"value":537}," (no key) still works for manual or ",{"type":43,"tag":74,"props":539,"children":541},{"className":540},[],[542],{"type":49,"value":543},"--force",{"type":49,"value":545}," re-provisioning.",{"type":43,"tag":389,"props":547,"children":549},{"id":548},"optional-overrides",[550],{"type":49,"value":551},"Optional overrides",{"type":43,"tag":307,"props":553,"children":554},{},[555,570],{"type":43,"tag":311,"props":556,"children":557},{},[558],{"type":43,"tag":315,"props":559,"children":560},{},[561,565],{"type":43,"tag":319,"props":562,"children":563},{},[564],{"type":49,"value":428},{"type":43,"tag":319,"props":566,"children":567},{},[568],{"type":49,"value":569},"Default",{"type":43,"tag":340,"props":571,"children":572},{},[573,603,640,657,674,697],{"type":43,"tag":315,"props":574,"children":575},{},[576,584],{"type":43,"tag":347,"props":577,"children":578},{},[579],{"type":43,"tag":74,"props":580,"children":582},{"className":581},[],[583],{"type":49,"value":279},{"type":43,"tag":347,"props":585,"children":586},{},[587,589,594,596,601],{"type":49,"value":588},"Base URL of the browser login page opened by ",{"type":43,"tag":74,"props":590,"children":592},{"className":591},[],[593],{"type":49,"value":271},{"type":49,"value":595}," (default ",{"type":43,"tag":74,"props":597,"children":599},{"className":598},[],[600],{"type":49,"value":287},{"type":49,"value":602},")",{"type":43,"tag":315,"props":604,"children":605},{},[606,615],{"type":43,"tag":347,"props":607,"children":608},{},[609],{"type":43,"tag":74,"props":610,"children":612},{"className":611},[],[613],{"type":49,"value":614},"POLYGON_AGENT_OIDC_RELAY",{"type":43,"tag":347,"props":616,"children":617},{},[618,620,625,626,632,634],{"type":49,"value":619},"Base URL of the OIDC relay used by ",{"type":43,"tag":74,"props":621,"children":623},{"className":622},[],[624],{"type":49,"value":271},{"type":49,"value":595},{"type":43,"tag":74,"props":627,"children":629},{"className":628},[],[630],{"type":49,"value":631},"https:\u002F\u002Foidc-relay.polygon.technology",{"type":49,"value":633},"); also settable per run with ",{"type":43,"tag":74,"props":635,"children":637},{"className":636},[],[638],{"type":49,"value":639},"--relay-url",{"type":43,"tag":315,"props":641,"children":642},{},[643,652],{"type":43,"tag":347,"props":644,"children":645},{},[646],{"type":43,"tag":74,"props":647,"children":649},{"className":648},[],[650],{"type":49,"value":651},"SEQUENCE_PROJECT_ACCESS_KEY",{"type":43,"tag":347,"props":653,"children":654},{},[655],{"type":49,"value":656},"Used only as the Trails API key for DeFi earn-pool lookups (optional)",{"type":43,"tag":315,"props":658,"children":659},{},[660,669],{"type":43,"tag":347,"props":661,"children":662},{},[663],{"type":43,"tag":74,"props":664,"children":666},{"className":665},[],[667],{"type":49,"value":668},"TRAILS_TOKEN_MAP_JSON",{"type":43,"tag":347,"props":670,"children":671},{},[672],{"type":49,"value":673},"Token-directory lookup",{"type":43,"tag":315,"props":675,"children":676},{},[677,686],{"type":43,"tag":347,"props":678,"children":679},{},[680],{"type":43,"tag":74,"props":681,"children":683},{"className":682},[],[684],{"type":49,"value":685},"POLYGON_AGENT_DEBUG_FETCH",{"type":43,"tag":347,"props":687,"children":688},{},[689,691],{"type":49,"value":690},"Off — logs HTTP to ",{"type":43,"tag":74,"props":692,"children":694},{"className":693},[],[695],{"type":49,"value":696},"~\u002F.polygon-agent\u002Ffetch-debug.log",{"type":43,"tag":315,"props":698,"children":699},{},[700,709],{"type":43,"tag":347,"props":701,"children":702},{},[703],{"type":43,"tag":74,"props":704,"children":706},{"className":705},[],[707],{"type":49,"value":708},"POLYGON_AGENT_DEBUG_FEE",{"type":43,"tag":347,"props":710,"children":711},{},[712],{"type":49,"value":713},"Off — dumps fee options to stderr",{"type":43,"tag":52,"props":715,"children":717},{"id":716},"complete-setup-flow",[718],{"type":49,"value":719},"Complete Setup Flow",{"type":43,"tag":150,"props":721,"children":723},{"className":152,"code":722,"language":154,"meta":155,"style":155},"# Step 1: Log in in the browser\nagent wallet login\n# → opens the agentconnect login page; choose Google or email (email sends\n#   a 6-digit code to the user's inbox, entered on the page)\n# → works whether the browser is on this machine or elsewhere, so there is\n#   no separate headless mode\n# → --local falls back to the legacy loopback flow (Google only, browser\n#   must be on this machine)\n# → session saved to ~\u002F.polygon-agent\u002Foms\u002Fmain\u002F; prints the walletAddress\n# → no setup step needed: the CLI ships a default OMS publishable key, and\n#   login auto-provisions a Builder project + access key to\n#   ~\u002F.polygon-agent\u002Fbuilder.json\n\n# Step 1b: Choose transaction mode (asked once)\n# → if the login output includes a `modePrompt` field, ask the user whether to\n#   enable auto mode (writes broadcast immediately, no preview), then run:\nagent mode auto      # or: agent mode dry-run\n# → dry-run (default) previews every write; auto broadcasts immediately.\n#   Never enable auto mode without the user's explicit answer.\n\n# Step 2: Fund wallet\nagent fund\n# → reads walletAddress from session, builds Trails widget URL with toAddress=\u003CwalletAddress>\n# → ALWAYS run this command to get the URL — never construct it manually or hardcode any address\n# → send the returned `fundingUrl` to the user; `walletAddress` in the output confirms the recipient\n\n# Step 3: Verify balances\nagent balances\n\n# Step 4: Register agent on-chain (ERC-8004, Polygon mainnet only)\nagent register --name \"MyAgent\" --broadcast\n# → mints ERC-721 NFT, emits Registered event containing agentId\n# → retrieve agentId: open the tx on https:\u002F\u002Fpolygonscan.com, go to Logs tab,\n#   find the Registered event — agentId is the first indexed parameter\n# → use agentId for reputation queries, reviews, and feedback\n",[724],{"type":43,"tag":74,"props":725,"children":726},{"__ignoreMap":155},[727,735,752,760,769,778,787,796,805,814,823,832,841,851,860,869,877,900,909,918,926,935,948,957,966,975,982,991,1004,1012,1021,1059,1068,1077,1086],{"type":43,"tag":161,"props":728,"children":729},{"class":163,"line":164},[730],{"type":43,"tag":161,"props":731,"children":732},{"style":179},[733],{"type":49,"value":734},"# Step 1: Log in in the browser\n",{"type":43,"tag":161,"props":736,"children":737},{"class":163,"line":185},[738,742,747],{"type":43,"tag":161,"props":739,"children":740},{"style":168},[741],{"type":49,"value":127},{"type":43,"tag":161,"props":743,"children":744},{"style":173},[745],{"type":49,"value":746}," wallet",{"type":43,"tag":161,"props":748,"children":749},{"style":173},[750],{"type":49,"value":751}," login\n",{"type":43,"tag":161,"props":753,"children":754},{"class":163,"line":214},[755],{"type":43,"tag":161,"props":756,"children":757},{"style":179},[758],{"type":49,"value":759},"# → opens the agentconnect login page; choose Google or email (email sends\n",{"type":43,"tag":161,"props":761,"children":763},{"class":163,"line":762},4,[764],{"type":43,"tag":161,"props":765,"children":766},{"style":179},[767],{"type":49,"value":768},"#   a 6-digit code to the user's inbox, entered on the page)\n",{"type":43,"tag":161,"props":770,"children":772},{"class":163,"line":771},5,[773],{"type":43,"tag":161,"props":774,"children":775},{"style":179},[776],{"type":49,"value":777},"# → works whether the browser is on this machine or elsewhere, so there is\n",{"type":43,"tag":161,"props":779,"children":781},{"class":163,"line":780},6,[782],{"type":43,"tag":161,"props":783,"children":784},{"style":179},[785],{"type":49,"value":786},"#   no separate headless mode\n",{"type":43,"tag":161,"props":788,"children":790},{"class":163,"line":789},7,[791],{"type":43,"tag":161,"props":792,"children":793},{"style":179},[794],{"type":49,"value":795},"# → --local falls back to the legacy loopback flow (Google only, browser\n",{"type":43,"tag":161,"props":797,"children":799},{"class":163,"line":798},8,[800],{"type":43,"tag":161,"props":801,"children":802},{"style":179},[803],{"type":49,"value":804},"#   must be on this machine)\n",{"type":43,"tag":161,"props":806,"children":808},{"class":163,"line":807},9,[809],{"type":43,"tag":161,"props":810,"children":811},{"style":179},[812],{"type":49,"value":813},"# → session saved to ~\u002F.polygon-agent\u002Foms\u002Fmain\u002F; prints the walletAddress\n",{"type":43,"tag":161,"props":815,"children":817},{"class":163,"line":816},10,[818],{"type":43,"tag":161,"props":819,"children":820},{"style":179},[821],{"type":49,"value":822},"# → no setup step needed: the CLI ships a default OMS publishable key, and\n",{"type":43,"tag":161,"props":824,"children":826},{"class":163,"line":825},11,[827],{"type":43,"tag":161,"props":828,"children":829},{"style":179},[830],{"type":49,"value":831},"#   login auto-provisions a Builder project + access key to\n",{"type":43,"tag":161,"props":833,"children":835},{"class":163,"line":834},12,[836],{"type":43,"tag":161,"props":837,"children":838},{"style":179},[839],{"type":49,"value":840},"#   ~\u002F.polygon-agent\u002Fbuilder.json\n",{"type":43,"tag":161,"props":842,"children":844},{"class":163,"line":843},13,[845],{"type":43,"tag":161,"props":846,"children":848},{"emptyLinePlaceholder":847},true,[849],{"type":49,"value":850},"\n",{"type":43,"tag":161,"props":852,"children":854},{"class":163,"line":853},14,[855],{"type":43,"tag":161,"props":856,"children":857},{"style":179},[858],{"type":49,"value":859},"# Step 1b: Choose transaction mode (asked once)\n",{"type":43,"tag":161,"props":861,"children":863},{"class":163,"line":862},15,[864],{"type":43,"tag":161,"props":865,"children":866},{"style":179},[867],{"type":49,"value":868},"# → if the login output includes a `modePrompt` field, ask the user whether to\n",{"type":43,"tag":161,"props":870,"children":871},{"class":163,"line":30},[872],{"type":43,"tag":161,"props":873,"children":874},{"style":179},[875],{"type":49,"value":876},"#   enable auto mode (writes broadcast immediately, no preview), then run:\n",{"type":43,"tag":161,"props":878,"children":880},{"class":163,"line":879},17,[881,885,890,895],{"type":43,"tag":161,"props":882,"children":883},{"style":168},[884],{"type":49,"value":127},{"type":43,"tag":161,"props":886,"children":887},{"style":173},[888],{"type":49,"value":889}," mode",{"type":43,"tag":161,"props":891,"children":892},{"style":173},[893],{"type":49,"value":894}," auto",{"type":43,"tag":161,"props":896,"children":897},{"style":179},[898],{"type":49,"value":899},"      # or: agent mode dry-run\n",{"type":43,"tag":161,"props":901,"children":903},{"class":163,"line":902},18,[904],{"type":43,"tag":161,"props":905,"children":906},{"style":179},[907],{"type":49,"value":908},"# → dry-run (default) previews every write; auto broadcasts immediately.\n",{"type":43,"tag":161,"props":910,"children":912},{"class":163,"line":911},19,[913],{"type":43,"tag":161,"props":914,"children":915},{"style":179},[916],{"type":49,"value":917},"#   Never enable auto mode without the user's explicit answer.\n",{"type":43,"tag":161,"props":919,"children":921},{"class":163,"line":920},20,[922],{"type":43,"tag":161,"props":923,"children":924},{"emptyLinePlaceholder":847},[925],{"type":49,"value":850},{"type":43,"tag":161,"props":927,"children":929},{"class":163,"line":928},21,[930],{"type":43,"tag":161,"props":931,"children":932},{"style":179},[933],{"type":49,"value":934},"# Step 2: Fund wallet\n",{"type":43,"tag":161,"props":936,"children":938},{"class":163,"line":937},22,[939,943],{"type":43,"tag":161,"props":940,"children":941},{"style":168},[942],{"type":49,"value":127},{"type":43,"tag":161,"props":944,"children":945},{"style":173},[946],{"type":49,"value":947}," fund\n",{"type":43,"tag":161,"props":949,"children":951},{"class":163,"line":950},23,[952],{"type":43,"tag":161,"props":953,"children":954},{"style":179},[955],{"type":49,"value":956},"# → reads walletAddress from session, builds Trails widget URL with toAddress=\u003CwalletAddress>\n",{"type":43,"tag":161,"props":958,"children":960},{"class":163,"line":959},24,[961],{"type":43,"tag":161,"props":962,"children":963},{"style":179},[964],{"type":49,"value":965},"# → ALWAYS run this command to get the URL — never construct it manually or hardcode any address\n",{"type":43,"tag":161,"props":967,"children":969},{"class":163,"line":968},25,[970],{"type":43,"tag":161,"props":971,"children":972},{"style":179},[973],{"type":49,"value":974},"# → send the returned `fundingUrl` to the user; `walletAddress` in the output confirms the recipient\n",{"type":43,"tag":161,"props":976,"children":977},{"class":163,"line":26},[978],{"type":43,"tag":161,"props":979,"children":980},{"emptyLinePlaceholder":847},[981],{"type":49,"value":850},{"type":43,"tag":161,"props":983,"children":985},{"class":163,"line":984},27,[986],{"type":43,"tag":161,"props":987,"children":988},{"style":179},[989],{"type":49,"value":990},"# Step 3: Verify balances\n",{"type":43,"tag":161,"props":992,"children":994},{"class":163,"line":993},28,[995,999],{"type":43,"tag":161,"props":996,"children":997},{"style":168},[998],{"type":49,"value":127},{"type":43,"tag":161,"props":1000,"children":1001},{"style":173},[1002],{"type":49,"value":1003}," balances\n",{"type":43,"tag":161,"props":1005,"children":1007},{"class":163,"line":1006},29,[1008],{"type":43,"tag":161,"props":1009,"children":1010},{"emptyLinePlaceholder":847},[1011],{"type":49,"value":850},{"type":43,"tag":161,"props":1013,"children":1015},{"class":163,"line":1014},30,[1016],{"type":43,"tag":161,"props":1017,"children":1018},{"style":179},[1019],{"type":49,"value":1020},"# Step 4: Register agent on-chain (ERC-8004, Polygon mainnet only)\n",{"type":43,"tag":161,"props":1022,"children":1024},{"class":163,"line":1023},31,[1025,1029,1034,1039,1044,1049,1054],{"type":43,"tag":161,"props":1026,"children":1027},{"style":168},[1028],{"type":49,"value":127},{"type":43,"tag":161,"props":1030,"children":1031},{"style":173},[1032],{"type":49,"value":1033}," register",{"type":43,"tag":161,"props":1035,"children":1036},{"style":173},[1037],{"type":49,"value":1038}," --name",{"type":43,"tag":161,"props":1040,"children":1041},{"style":500},[1042],{"type":49,"value":1043}," \"",{"type":43,"tag":161,"props":1045,"children":1046},{"style":173},[1047],{"type":49,"value":1048},"MyAgent",{"type":43,"tag":161,"props":1050,"children":1051},{"style":500},[1052],{"type":49,"value":1053},"\"",{"type":43,"tag":161,"props":1055,"children":1056},{"style":173},[1057],{"type":49,"value":1058}," --broadcast\n",{"type":43,"tag":161,"props":1060,"children":1062},{"class":163,"line":1061},32,[1063],{"type":43,"tag":161,"props":1064,"children":1065},{"style":179},[1066],{"type":49,"value":1067},"# → mints ERC-721 NFT, emits Registered event containing agentId\n",{"type":43,"tag":161,"props":1069,"children":1071},{"class":163,"line":1070},33,[1072],{"type":43,"tag":161,"props":1073,"children":1074},{"style":179},[1075],{"type":49,"value":1076},"# → retrieve agentId: open the tx on https:\u002F\u002Fpolygonscan.com, go to Logs tab,\n",{"type":43,"tag":161,"props":1078,"children":1080},{"class":163,"line":1079},34,[1081],{"type":43,"tag":161,"props":1082,"children":1083},{"style":179},[1084],{"type":49,"value":1085},"#   find the Registered event — agentId is the first indexed parameter\n",{"type":43,"tag":161,"props":1087,"children":1089},{"class":163,"line":1088},35,[1090],{"type":43,"tag":161,"props":1091,"children":1092},{"style":179},[1093],{"type":49,"value":1094},"# → use agentId for reputation queries, reviews, and feedback\n",{"type":43,"tag":52,"props":1096,"children":1098},{"id":1097},"use-case-skills",[1099],{"type":49,"value":1100},"Use-Case Skills",{"type":43,"tag":111,"props":1102,"children":1103},{},[1104,1106,1111],{"type":49,"value":1105},"For specific workflows, fetch and load the relevant sub-skill ",{"type":43,"tag":115,"props":1107,"children":1108},{},[1109],{"type":49,"value":1110},"before attempting the task",{"type":49,"value":473},{"type":43,"tag":307,"props":1113,"children":1114},{},[1115,1131],{"type":43,"tag":311,"props":1116,"children":1117},{},[1118],{"type":43,"tag":315,"props":1119,"children":1120},{},[1121,1126],{"type":43,"tag":319,"props":1122,"children":1123},{},[1124],{"type":49,"value":1125},"Use Case",{"type":43,"tag":319,"props":1127,"children":1128},{},[1129],{"type":49,"value":1130},"Skill URL",{"type":43,"tag":340,"props":1132,"children":1133},{},[1134,1153,1170],{"type":43,"tag":315,"props":1135,"children":1136},{},[1137,1142],{"type":43,"tag":347,"props":1138,"children":1139},{},[1140],{"type":49,"value":1141},"Polymarket prediction market trading",{"type":43,"tag":347,"props":1143,"children":1144},{},[1145],{"type":43,"tag":1146,"props":1147,"children":1151},"a",{"href":1148,"rel":1149},"https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-polymarket\u002FSKILL.md",[1150],"nofollow",[1152],{"type":49,"value":1148},{"type":43,"tag":315,"props":1154,"children":1155},{},[1156,1161],{"type":43,"tag":347,"props":1157,"children":1158},{},[1159],{"type":49,"value":1160},"Swap, bridge & deposit (also yield withdraw)",{"type":43,"tag":347,"props":1162,"children":1163},{},[1164],{"type":43,"tag":1146,"props":1165,"children":1168},{"href":1166,"rel":1167},"https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-defi\u002FSKILL.md",[1150],[1169],{"type":49,"value":1166},{"type":43,"tag":315,"props":1171,"children":1172},{},[1173,1178],{"type":43,"tag":347,"props":1174,"children":1175},{},[1176],{"type":49,"value":1177},"x402 discovery & pay-per-call APIs",{"type":43,"tag":347,"props":1179,"children":1180},{},[1181],{"type":43,"tag":1146,"props":1182,"children":1185},{"href":1183,"rel":1184},"https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-discovery\u002FSKILL.md",[1150],[1186],{"type":49,"value":1183},{"type":43,"tag":107,"props":1188,"children":1189},{},[1190,1200,1248],{"type":43,"tag":111,"props":1191,"children":1192},{},[1193,1198],{"type":43,"tag":115,"props":1194,"children":1195},{},[1196],{"type":49,"value":1197},"IMPORTANT — x402 calls:",{"type":49,"value":1199}," If the user asks to use x402 to fetch data or call a service (web search, scraping, news, LLM inference, email, on-chain wallet analytics, multi-chain RPC, etc.), follow these steps in order before making any request:",{"type":43,"tag":1201,"props":1202,"children":1203},"ol",{},[1204,1215,1236],{"type":43,"tag":63,"props":1205,"children":1206},{},[1207,1209],{"type":49,"value":1208},"Fetch and read the discovery skill: ",{"type":43,"tag":74,"props":1210,"children":1212},{"className":1211},[],[1213],{"type":49,"value":1214},"GET https:\u002F\u002Fagentconnect.polygon.technology\u002Fpolygon-discovery\u002FSKILL.md",{"type":43,"tag":63,"props":1216,"children":1217},{},[1218,1220,1226,1228,1234],{"type":49,"value":1219},"Run ",{"type":43,"tag":74,"props":1221,"children":1223},{"className":1222},[],[1224],{"type":49,"value":1225},"agent wallet list",{"type":49,"value":1227}," — if no wallet exists, log in: ",{"type":43,"tag":74,"props":1229,"children":1231},{"className":1230},[],[1232],{"type":49,"value":1233},"agent wallet login",{"type":49,"value":1235}," and sign in on the login page (Google or email), then fund the wallet before continuing. No setup step is needed first.",{"type":43,"tag":63,"props":1237,"children":1238},{},[1239,1240,1246],{"type":49,"value":1219},{"type":43,"tag":74,"props":1241,"children":1243},{"className":1242},[],[1244],{"type":49,"value":1245},"agent balances",{"type":49,"value":1247}," — confirm USDC is available before proceeding; x402 calls will fail with an EOA funding error if the wallet is empty",{"type":43,"tag":111,"props":1249,"children":1250},{},[1251],{"type":49,"value":1252},"Do not guess endpoints or search the web for x402 providers. The discovery skill documents the correct, working endpoints with exact URL formats.",{"type":43,"tag":1254,"props":1255,"children":1256},"hr",{},[],{"type":43,"tag":52,"props":1258,"children":1260},{"id":1259},"commands-reference",[1261],{"type":49,"value":1262},"Commands Reference",{"type":43,"tag":389,"props":1264,"children":1265},{"id":464},[1266],{"type":49,"value":1267},"Setup",{"type":43,"tag":150,"props":1269,"children":1271},{"className":152,"code":1270,"language":154,"meta":155,"style":155},"agent setup [--name \u003Cname>] [--force]\n  [--oms-publishable-key \u003Ckey>] [--oms-project-id \u003Cproj_...>]  # save OMS credentials (project id optional\u002Flegacy)\nagent mode [auto|dry-run]   # show or set the persisted transaction mode\n",[1272],{"type":43,"tag":74,"props":1273,"children":1274},{"__ignoreMap":155},[1275,1321,1376],{"type":43,"tag":161,"props":1276,"children":1277},{"class":163,"line":164},[1278,1282,1286,1291,1296,1301,1306,1311,1316],{"type":43,"tag":161,"props":1279,"children":1280},{"style":168},[1281],{"type":49,"value":127},{"type":43,"tag":161,"props":1283,"children":1284},{"style":173},[1285],{"type":49,"value":492},{"type":43,"tag":161,"props":1287,"children":1288},{"style":511},[1289],{"type":49,"value":1290}," [--name ",{"type":43,"tag":161,"props":1292,"children":1293},{"style":500},[1294],{"type":49,"value":1295},"\u003C",{"type":43,"tag":161,"props":1297,"children":1298},{"style":173},[1299],{"type":49,"value":1300},"nam",{"type":43,"tag":161,"props":1302,"children":1303},{"style":511},[1304],{"type":49,"value":1305},"e",{"type":43,"tag":161,"props":1307,"children":1308},{"style":500},[1309],{"type":49,"value":1310},">",{"type":43,"tag":161,"props":1312,"children":1313},{"style":173},[1314],{"type":49,"value":1315},"]",{"type":43,"tag":161,"props":1317,"children":1318},{"style":511},[1319],{"type":49,"value":1320}," [--force]\n",{"type":43,"tag":161,"props":1322,"children":1323},{"class":163,"line":185},[1324,1329,1334,1338,1343,1348,1353,1358,1362,1367,1371],{"type":43,"tag":161,"props":1325,"children":1326},{"style":500},[1327],{"type":49,"value":1328},"  [",{"type":43,"tag":161,"props":1330,"children":1331},{"style":511},[1332],{"type":49,"value":1333},"--oms-publishable-key ",{"type":43,"tag":161,"props":1335,"children":1336},{"style":500},[1337],{"type":49,"value":1295},{"type":43,"tag":161,"props":1339,"children":1340},{"style":511},[1341],{"type":49,"value":1342},"key",{"type":43,"tag":161,"props":1344,"children":1345},{"style":500},[1346],{"type":49,"value":1347},">]",{"type":43,"tag":161,"props":1349,"children":1350},{"style":500},[1351],{"type":49,"value":1352}," [",{"type":43,"tag":161,"props":1354,"children":1355},{"style":511},[1356],{"type":49,"value":1357},"--oms-project-id ",{"type":43,"tag":161,"props":1359,"children":1360},{"style":500},[1361],{"type":49,"value":1295},{"type":43,"tag":161,"props":1363,"children":1364},{"style":511},[1365],{"type":49,"value":1366},"proj_...",{"type":43,"tag":161,"props":1368,"children":1369},{"style":500},[1370],{"type":49,"value":1347},{"type":43,"tag":161,"props":1372,"children":1373},{"style":179},[1374],{"type":49,"value":1375},"  # save OMS credentials (project id optional\u002Flegacy)\n",{"type":43,"tag":161,"props":1377,"children":1378},{"class":163,"line":214},[1379,1383,1387,1392,1397,1402],{"type":43,"tag":161,"props":1380,"children":1381},{"style":168},[1382],{"type":49,"value":127},{"type":43,"tag":161,"props":1384,"children":1385},{"style":173},[1386],{"type":49,"value":889},{"type":43,"tag":161,"props":1388,"children":1389},{"style":511},[1390],{"type":49,"value":1391}," [auto",{"type":43,"tag":161,"props":1393,"children":1394},{"style":500},[1395],{"type":49,"value":1396},"|",{"type":43,"tag":161,"props":1398,"children":1399},{"style":168},[1400],{"type":49,"value":1401},"dry-run]",{"type":43,"tag":161,"props":1403,"children":1404},{"style":179},[1405],{"type":49,"value":1406},"   # show or set the persisted transaction mode\n",{"type":43,"tag":389,"props":1408,"children":1410},{"id":1409},"wallet",[1411],{"type":49,"value":323},{"type":43,"tag":111,"props":1413,"children":1414},{},[1415,1417,1423,1425,1430,1432,1438,1440,1446,1448,1454,1456,1462,1463,1469,1471,1476],{"type":49,"value":1416},"Valid ",{"type":43,"tag":74,"props":1418,"children":1420},{"className":1419},[],[1421],{"type":49,"value":1422},"--chain",{"type":49,"value":1424}," values for operations: ",{"type":43,"tag":74,"props":1426,"children":1428},{"className":1427},[],[1429],{"type":49,"value":8},{"type":49,"value":1431}," (default\u002Fmainnet), ",{"type":43,"tag":74,"props":1433,"children":1435},{"className":1434},[],[1436],{"type":49,"value":1437},"amoy",{"type":49,"value":1439}," (Polygon testnet), ",{"type":43,"tag":74,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":49,"value":1445},"mainnet",{"type":49,"value":1447}," (Ethereum), ",{"type":43,"tag":74,"props":1449,"children":1451},{"className":1450},[],[1452],{"type":49,"value":1453},"arbitrum",{"type":49,"value":1455},", ",{"type":43,"tag":74,"props":1457,"children":1459},{"className":1458},[],[1460],{"type":49,"value":1461},"optimism",{"type":49,"value":1455},{"type":43,"tag":74,"props":1464,"children":1466},{"className":1465},[],[1467],{"type":49,"value":1468},"base",{"type":49,"value":1470},". ERC-8004 agent operations only support ",{"type":43,"tag":74,"props":1472,"children":1474},{"className":1473},[],[1475],{"type":49,"value":8},{"type":49,"value":1477},". The embedded wallet address is the same on every chain.",{"type":43,"tag":150,"props":1479,"children":1481},{"className":152,"code":1480,"language":154,"meta":155,"style":155},"agent wallet login [--name \u003Cn>] [--local] [--no-fund] [--force]\n# Opens the agentconnect login page; choose Google or email. Works whether the browser is local or remote, so there is no separate headless mode.\n# --local falls back to the legacy loopback flow (raw Google URL + localhost callback; browser must be on this machine; Google only). --remote is deprecated (now a no-op with a notice).\nagent wallet logout [--name \u003Cn>]   # clears the local session\nagent wallet list\nagent wallet address [--name \u003Cn>]\nagent wallet remove [--name \u003Cn>]\n",[1482],{"type":43,"tag":74,"props":1483,"children":1484},{"__ignoreMap":155},[1485,1554,1562,1570,1611,1627,1663],{"type":43,"tag":161,"props":1486,"children":1487},{"class":163,"line":164},[1488,1492,1496,1501,1505,1509,1514,1518,1522,1527,1532,1537,1541,1545,1549],{"type":43,"tag":161,"props":1489,"children":1490},{"style":168},[1491],{"type":49,"value":127},{"type":43,"tag":161,"props":1493,"children":1494},{"style":173},[1495],{"type":49,"value":746},{"type":43,"tag":161,"props":1497,"children":1498},{"style":173},[1499],{"type":49,"value":1500}," login",{"type":43,"tag":161,"props":1502,"children":1503},{"style":511},[1504],{"type":49,"value":1290},{"type":43,"tag":161,"props":1506,"children":1507},{"style":500},[1508],{"type":49,"value":1295},{"type":43,"tag":161,"props":1510,"children":1511},{"style":511},[1512],{"type":49,"value":1513},"n",{"type":43,"tag":161,"props":1515,"children":1516},{"style":500},[1517],{"type":49,"value":1310},{"type":43,"tag":161,"props":1519,"children":1520},{"style":173},[1521],{"type":49,"value":1315},{"type":43,"tag":161,"props":1523,"children":1524},{"style":511},[1525],{"type":49,"value":1526}," [--local] ",{"type":43,"tag":161,"props":1528,"children":1529},{"style":500},[1530],{"type":49,"value":1531},"[",{"type":43,"tag":161,"props":1533,"children":1534},{"style":511},[1535],{"type":49,"value":1536},"--no-fund",{"type":43,"tag":161,"props":1538,"children":1539},{"style":500},[1540],{"type":49,"value":1315},{"type":43,"tag":161,"props":1542,"children":1543},{"style":500},[1544],{"type":49,"value":1352},{"type":43,"tag":161,"props":1546,"children":1547},{"style":511},[1548],{"type":49,"value":543},{"type":43,"tag":161,"props":1550,"children":1551},{"style":500},[1552],{"type":49,"value":1553},"]\n",{"type":43,"tag":161,"props":1555,"children":1556},{"class":163,"line":185},[1557],{"type":43,"tag":161,"props":1558,"children":1559},{"style":179},[1560],{"type":49,"value":1561},"# Opens the agentconnect login page; choose Google or email. Works whether the browser is local or remote, so there is no separate headless mode.\n",{"type":43,"tag":161,"props":1563,"children":1564},{"class":163,"line":214},[1565],{"type":43,"tag":161,"props":1566,"children":1567},{"style":179},[1568],{"type":49,"value":1569},"# --local falls back to the legacy loopback flow (raw Google URL + localhost callback; browser must be on this machine; Google only). --remote is deprecated (now a no-op with a notice).\n",{"type":43,"tag":161,"props":1571,"children":1572},{"class":163,"line":762},[1573,1577,1581,1586,1590,1594,1598,1602,1606],{"type":43,"tag":161,"props":1574,"children":1575},{"style":168},[1576],{"type":49,"value":127},{"type":43,"tag":161,"props":1578,"children":1579},{"style":173},[1580],{"type":49,"value":746},{"type":43,"tag":161,"props":1582,"children":1583},{"style":173},[1584],{"type":49,"value":1585}," logout",{"type":43,"tag":161,"props":1587,"children":1588},{"style":511},[1589],{"type":49,"value":1290},{"type":43,"tag":161,"props":1591,"children":1592},{"style":500},[1593],{"type":49,"value":1295},{"type":43,"tag":161,"props":1595,"children":1596},{"style":511},[1597],{"type":49,"value":1513},{"type":43,"tag":161,"props":1599,"children":1600},{"style":500},[1601],{"type":49,"value":1310},{"type":43,"tag":161,"props":1603,"children":1604},{"style":173},[1605],{"type":49,"value":1315},{"type":43,"tag":161,"props":1607,"children":1608},{"style":179},[1609],{"type":49,"value":1610},"   # clears the local session\n",{"type":43,"tag":161,"props":1612,"children":1613},{"class":163,"line":771},[1614,1618,1622],{"type":43,"tag":161,"props":1615,"children":1616},{"style":168},[1617],{"type":49,"value":127},{"type":43,"tag":161,"props":1619,"children":1620},{"style":173},[1621],{"type":49,"value":746},{"type":43,"tag":161,"props":1623,"children":1624},{"style":173},[1625],{"type":49,"value":1626}," list\n",{"type":43,"tag":161,"props":1628,"children":1629},{"class":163,"line":780},[1630,1634,1638,1643,1647,1651,1655,1659],{"type":43,"tag":161,"props":1631,"children":1632},{"style":168},[1633],{"type":49,"value":127},{"type":43,"tag":161,"props":1635,"children":1636},{"style":173},[1637],{"type":49,"value":746},{"type":43,"tag":161,"props":1639,"children":1640},{"style":173},[1641],{"type":49,"value":1642}," address",{"type":43,"tag":161,"props":1644,"children":1645},{"style":511},[1646],{"type":49,"value":1290},{"type":43,"tag":161,"props":1648,"children":1649},{"style":500},[1650],{"type":49,"value":1295},{"type":43,"tag":161,"props":1652,"children":1653},{"style":511},[1654],{"type":49,"value":1513},{"type":43,"tag":161,"props":1656,"children":1657},{"style":500},[1658],{"type":49,"value":1310},{"type":43,"tag":161,"props":1660,"children":1661},{"style":173},[1662],{"type":49,"value":1553},{"type":43,"tag":161,"props":1664,"children":1665},{"class":163,"line":789},[1666,1670,1674,1679,1683,1687,1691,1695],{"type":43,"tag":161,"props":1667,"children":1668},{"style":168},[1669],{"type":49,"value":127},{"type":43,"tag":161,"props":1671,"children":1672},{"style":173},[1673],{"type":49,"value":746},{"type":43,"tag":161,"props":1675,"children":1676},{"style":173},[1677],{"type":49,"value":1678}," remove",{"type":43,"tag":161,"props":1680,"children":1681},{"style":511},[1682],{"type":49,"value":1290},{"type":43,"tag":161,"props":1684,"children":1685},{"style":500},[1686],{"type":49,"value":1295},{"type":43,"tag":161,"props":1688,"children":1689},{"style":511},[1690],{"type":49,"value":1513},{"type":43,"tag":161,"props":1692,"children":1693},{"style":500},[1694],{"type":49,"value":1310},{"type":43,"tag":161,"props":1696,"children":1697},{"style":173},[1698],{"type":49,"value":1553},{"type":43,"tag":389,"props":1700,"children":1702},{"id":1701},"operations",[1703],{"type":49,"value":1704},"Operations",{"type":43,"tag":150,"props":1706,"children":1708},{"className":152,"code":1707,"language":154,"meta":155,"style":155},"agent balances [--wallet \u003Cn>] [--chain \u003Cchain>] [--chains \u003Ccsv>]\nagent send --to \u003Caddr> --amount \u003Cnum> [--symbol \u003CSYM>] [--token \u003Caddr>] [--decimals \u003Cn>] [--broadcast]\nagent send-native --to \u003Caddr> --amount \u003Cnum> [--broadcast] [--direct]\nagent send-token --symbol \u003CSYM> --to \u003Caddr> --amount \u003Cnum> [--token \u003Caddr>] [--decimals \u003Cn>] [--broadcast]\nagent swap --from \u003CSYM> --to \u003CSYM> --amount \u003Cnum> [--to-chain \u003Cchain>] [--slippage \u003Cnum>] [--broadcast]\nagent deposit --asset \u003CSYM> --amount \u003Cnum> [--protocol aave|morpho] [--broadcast]\nagent withdraw --position \u003Caddr> --amount \u003Cnum|max> [--chain \u003Cchain>] [--broadcast]\nagent fund [--wallet \u003Cn>]\nagent x402-pay --url \u003Curl> --wallet \u003Cn> [--chain \u003Cchain>] [--method GET] [--body \u003Cstr>] [--header Key:Value]\n",[1709],{"type":43,"tag":74,"props":1710,"children":1711},{"__ignoreMap":155},[1712,1798,1934,2004,2125,2252,2328,2412,2444],{"type":43,"tag":161,"props":1713,"children":1714},{"class":163,"line":164},[1715,1719,1724,1729,1733,1737,1741,1745,1750,1754,1759,1763,1767,1771,1776,1780,1785,1790,1794],{"type":43,"tag":161,"props":1716,"children":1717},{"style":168},[1718],{"type":49,"value":127},{"type":43,"tag":161,"props":1720,"children":1721},{"style":173},[1722],{"type":49,"value":1723}," balances",{"type":43,"tag":161,"props":1725,"children":1726},{"style":511},[1727],{"type":49,"value":1728}," [--wallet ",{"type":43,"tag":161,"props":1730,"children":1731},{"style":500},[1732],{"type":49,"value":1295},{"type":43,"tag":161,"props":1734,"children":1735},{"style":511},[1736],{"type":49,"value":1513},{"type":43,"tag":161,"props":1738,"children":1739},{"style":500},[1740],{"type":49,"value":1310},{"type":43,"tag":161,"props":1742,"children":1743},{"style":173},[1744],{"type":49,"value":1315},{"type":43,"tag":161,"props":1746,"children":1747},{"style":511},[1748],{"type":49,"value":1749}," [--chain ",{"type":43,"tag":161,"props":1751,"children":1752},{"style":500},[1753],{"type":49,"value":1295},{"type":43,"tag":161,"props":1755,"children":1756},{"style":173},[1757],{"type":49,"value":1758},"chai",{"type":43,"tag":161,"props":1760,"children":1761},{"style":511},[1762],{"type":49,"value":1513},{"type":43,"tag":161,"props":1764,"children":1765},{"style":500},[1766],{"type":49,"value":1310},{"type":43,"tag":161,"props":1768,"children":1769},{"style":173},[1770],{"type":49,"value":1315},{"type":43,"tag":161,"props":1772,"children":1773},{"style":511},[1774],{"type":49,"value":1775}," [--chains ",{"type":43,"tag":161,"props":1777,"children":1778},{"style":500},[1779],{"type":49,"value":1295},{"type":43,"tag":161,"props":1781,"children":1782},{"style":173},[1783],{"type":49,"value":1784},"cs",{"type":43,"tag":161,"props":1786,"children":1787},{"style":511},[1788],{"type":49,"value":1789},"v",{"type":43,"tag":161,"props":1791,"children":1792},{"style":500},[1793],{"type":49,"value":1310},{"type":43,"tag":161,"props":1795,"children":1796},{"style":173},[1797],{"type":49,"value":1553},{"type":43,"tag":161,"props":1799,"children":1800},{"class":163,"line":185},[1801,1805,1810,1815,1819,1824,1829,1833,1838,1842,1847,1852,1856,1861,1865,1870,1875,1879,1883,1888,1892,1896,1900,1904,1908,1913,1917,1921,1925,1929],{"type":43,"tag":161,"props":1802,"children":1803},{"style":168},[1804],{"type":49,"value":127},{"type":43,"tag":161,"props":1806,"children":1807},{"style":173},[1808],{"type":49,"value":1809}," send",{"type":43,"tag":161,"props":1811,"children":1812},{"style":173},[1813],{"type":49,"value":1814}," --to",{"type":43,"tag":161,"props":1816,"children":1817},{"style":500},[1818],{"type":49,"value":503},{"type":43,"tag":161,"props":1820,"children":1821},{"style":173},[1822],{"type":49,"value":1823},"add",{"type":43,"tag":161,"props":1825,"children":1826},{"style":511},[1827],{"type":49,"value":1828},"r",{"type":43,"tag":161,"props":1830,"children":1831},{"style":500},[1832],{"type":49,"value":1310},{"type":43,"tag":161,"props":1834,"children":1835},{"style":173},[1836],{"type":49,"value":1837}," --amount",{"type":43,"tag":161,"props":1839,"children":1840},{"style":500},[1841],{"type":49,"value":503},{"type":43,"tag":161,"props":1843,"children":1844},{"style":173},[1845],{"type":49,"value":1846},"nu",{"type":43,"tag":161,"props":1848,"children":1849},{"style":511},[1850],{"type":49,"value":1851},"m",{"type":43,"tag":161,"props":1853,"children":1854},{"style":500},[1855],{"type":49,"value":1310},{"type":43,"tag":161,"props":1857,"children":1858},{"style":511},[1859],{"type":49,"value":1860}," [--symbol ",{"type":43,"tag":161,"props":1862,"children":1863},{"style":500},[1864],{"type":49,"value":1295},{"type":43,"tag":161,"props":1866,"children":1867},{"style":173},[1868],{"type":49,"value":1869},"SY",{"type":43,"tag":161,"props":1871,"children":1872},{"style":511},[1873],{"type":49,"value":1874},"M",{"type":43,"tag":161,"props":1876,"children":1877},{"style":500},[1878],{"type":49,"value":1310},{"type":43,"tag":161,"props":1880,"children":1881},{"style":173},[1882],{"type":49,"value":1315},{"type":43,"tag":161,"props":1884,"children":1885},{"style":511},[1886],{"type":49,"value":1887}," [--token ",{"type":43,"tag":161,"props":1889,"children":1890},{"style":500},[1891],{"type":49,"value":1295},{"type":43,"tag":161,"props":1893,"children":1894},{"style":173},[1895],{"type":49,"value":1823},{"type":43,"tag":161,"props":1897,"children":1898},{"style":511},[1899],{"type":49,"value":1828},{"type":43,"tag":161,"props":1901,"children":1902},{"style":500},[1903],{"type":49,"value":1310},{"type":43,"tag":161,"props":1905,"children":1906},{"style":173},[1907],{"type":49,"value":1315},{"type":43,"tag":161,"props":1909,"children":1910},{"style":511},[1911],{"type":49,"value":1912}," [--decimals ",{"type":43,"tag":161,"props":1914,"children":1915},{"style":500},[1916],{"type":49,"value":1295},{"type":43,"tag":161,"props":1918,"children":1919},{"style":511},[1920],{"type":49,"value":1513},{"type":43,"tag":161,"props":1922,"children":1923},{"style":500},[1924],{"type":49,"value":1310},{"type":43,"tag":161,"props":1926,"children":1927},{"style":173},[1928],{"type":49,"value":1315},{"type":43,"tag":161,"props":1930,"children":1931},{"style":511},[1932],{"type":49,"value":1933}," [--broadcast]\n",{"type":43,"tag":161,"props":1935,"children":1936},{"class":163,"line":214},[1937,1941,1946,1950,1954,1958,1962,1966,1970,1974,1978,1982,1986,1991,1995,2000],{"type":43,"tag":161,"props":1938,"children":1939},{"style":168},[1940],{"type":49,"value":127},{"type":43,"tag":161,"props":1942,"children":1943},{"style":173},[1944],{"type":49,"value":1945}," send-native",{"type":43,"tag":161,"props":1947,"children":1948},{"style":173},[1949],{"type":49,"value":1814},{"type":43,"tag":161,"props":1951,"children":1952},{"style":500},[1953],{"type":49,"value":503},{"type":43,"tag":161,"props":1955,"children":1956},{"style":173},[1957],{"type":49,"value":1823},{"type":43,"tag":161,"props":1959,"children":1960},{"style":511},[1961],{"type":49,"value":1828},{"type":43,"tag":161,"props":1963,"children":1964},{"style":500},[1965],{"type":49,"value":1310},{"type":43,"tag":161,"props":1967,"children":1968},{"style":173},[1969],{"type":49,"value":1837},{"type":43,"tag":161,"props":1971,"children":1972},{"style":500},[1973],{"type":49,"value":503},{"type":43,"tag":161,"props":1975,"children":1976},{"style":173},[1977],{"type":49,"value":1846},{"type":43,"tag":161,"props":1979,"children":1980},{"style":511},[1981],{"type":49,"value":1851},{"type":43,"tag":161,"props":1983,"children":1984},{"style":500},[1985],{"type":49,"value":1310},{"type":43,"tag":161,"props":1987,"children":1988},{"style":511},[1989],{"type":49,"value":1990}," [--broadcast] ",{"type":43,"tag":161,"props":1992,"children":1993},{"style":500},[1994],{"type":49,"value":1531},{"type":43,"tag":161,"props":1996,"children":1997},{"style":511},[1998],{"type":49,"value":1999},"--direct",{"type":43,"tag":161,"props":2001,"children":2002},{"style":500},[2003],{"type":49,"value":1553},{"type":43,"tag":161,"props":2005,"children":2006},{"class":163,"line":762},[2007,2011,2016,2021,2025,2029,2033,2037,2041,2045,2049,2053,2057,2061,2065,2069,2073,2077,2081,2085,2089,2093,2097,2101,2105,2109,2113,2117,2121],{"type":43,"tag":161,"props":2008,"children":2009},{"style":168},[2010],{"type":49,"value":127},{"type":43,"tag":161,"props":2012,"children":2013},{"style":173},[2014],{"type":49,"value":2015}," send-token",{"type":43,"tag":161,"props":2017,"children":2018},{"style":173},[2019],{"type":49,"value":2020}," --symbol",{"type":43,"tag":161,"props":2022,"children":2023},{"style":500},[2024],{"type":49,"value":503},{"type":43,"tag":161,"props":2026,"children":2027},{"style":173},[2028],{"type":49,"value":1869},{"type":43,"tag":161,"props":2030,"children":2031},{"style":511},[2032],{"type":49,"value":1874},{"type":43,"tag":161,"props":2034,"children":2035},{"style":500},[2036],{"type":49,"value":1310},{"type":43,"tag":161,"props":2038,"children":2039},{"style":173},[2040],{"type":49,"value":1814},{"type":43,"tag":161,"props":2042,"children":2043},{"style":500},[2044],{"type":49,"value":503},{"type":43,"tag":161,"props":2046,"children":2047},{"style":173},[2048],{"type":49,"value":1823},{"type":43,"tag":161,"props":2050,"children":2051},{"style":511},[2052],{"type":49,"value":1828},{"type":43,"tag":161,"props":2054,"children":2055},{"style":500},[2056],{"type":49,"value":1310},{"type":43,"tag":161,"props":2058,"children":2059},{"style":173},[2060],{"type":49,"value":1837},{"type":43,"tag":161,"props":2062,"children":2063},{"style":500},[2064],{"type":49,"value":503},{"type":43,"tag":161,"props":2066,"children":2067},{"style":173},[2068],{"type":49,"value":1846},{"type":43,"tag":161,"props":2070,"children":2071},{"style":511},[2072],{"type":49,"value":1851},{"type":43,"tag":161,"props":2074,"children":2075},{"style":500},[2076],{"type":49,"value":1310},{"type":43,"tag":161,"props":2078,"children":2079},{"style":511},[2080],{"type":49,"value":1887},{"type":43,"tag":161,"props":2082,"children":2083},{"style":500},[2084],{"type":49,"value":1295},{"type":43,"tag":161,"props":2086,"children":2087},{"style":173},[2088],{"type":49,"value":1823},{"type":43,"tag":161,"props":2090,"children":2091},{"style":511},[2092],{"type":49,"value":1828},{"type":43,"tag":161,"props":2094,"children":2095},{"style":500},[2096],{"type":49,"value":1310},{"type":43,"tag":161,"props":2098,"children":2099},{"style":173},[2100],{"type":49,"value":1315},{"type":43,"tag":161,"props":2102,"children":2103},{"style":511},[2104],{"type":49,"value":1912},{"type":43,"tag":161,"props":2106,"children":2107},{"style":500},[2108],{"type":49,"value":1295},{"type":43,"tag":161,"props":2110,"children":2111},{"style":511},[2112],{"type":49,"value":1513},{"type":43,"tag":161,"props":2114,"children":2115},{"style":500},[2116],{"type":49,"value":1310},{"type":43,"tag":161,"props":2118,"children":2119},{"style":173},[2120],{"type":49,"value":1315},{"type":43,"tag":161,"props":2122,"children":2123},{"style":511},[2124],{"type":49,"value":1933},{"type":43,"tag":161,"props":2126,"children":2127},{"class":163,"line":771},[2128,2132,2137,2142,2146,2150,2154,2158,2162,2166,2170,2174,2178,2182,2186,2190,2194,2198,2203,2207,2211,2215,2219,2223,2228,2232,2236,2240,2244,2248],{"type":43,"tag":161,"props":2129,"children":2130},{"style":168},[2131],{"type":49,"value":127},{"type":43,"tag":161,"props":2133,"children":2134},{"style":173},[2135],{"type":49,"value":2136}," swap",{"type":43,"tag":161,"props":2138,"children":2139},{"style":173},[2140],{"type":49,"value":2141}," --from",{"type":43,"tag":161,"props":2143,"children":2144},{"style":500},[2145],{"type":49,"value":503},{"type":43,"tag":161,"props":2147,"children":2148},{"style":173},[2149],{"type":49,"value":1869},{"type":43,"tag":161,"props":2151,"children":2152},{"style":511},[2153],{"type":49,"value":1874},{"type":43,"tag":161,"props":2155,"children":2156},{"style":500},[2157],{"type":49,"value":1310},{"type":43,"tag":161,"props":2159,"children":2160},{"style":173},[2161],{"type":49,"value":1814},{"type":43,"tag":161,"props":2163,"children":2164},{"style":500},[2165],{"type":49,"value":503},{"type":43,"tag":161,"props":2167,"children":2168},{"style":173},[2169],{"type":49,"value":1869},{"type":43,"tag":161,"props":2171,"children":2172},{"style":511},[2173],{"type":49,"value":1874},{"type":43,"tag":161,"props":2175,"children":2176},{"style":500},[2177],{"type":49,"value":1310},{"type":43,"tag":161,"props":2179,"children":2180},{"style":173},[2181],{"type":49,"value":1837},{"type":43,"tag":161,"props":2183,"children":2184},{"style":500},[2185],{"type":49,"value":503},{"type":43,"tag":161,"props":2187,"children":2188},{"style":173},[2189],{"type":49,"value":1846},{"type":43,"tag":161,"props":2191,"children":2192},{"style":511},[2193],{"type":49,"value":1851},{"type":43,"tag":161,"props":2195,"children":2196},{"style":500},[2197],{"type":49,"value":1310},{"type":43,"tag":161,"props":2199,"children":2200},{"style":511},[2201],{"type":49,"value":2202}," [--to-chain ",{"type":43,"tag":161,"props":2204,"children":2205},{"style":500},[2206],{"type":49,"value":1295},{"type":43,"tag":161,"props":2208,"children":2209},{"style":173},[2210],{"type":49,"value":1758},{"type":43,"tag":161,"props":2212,"children":2213},{"style":511},[2214],{"type":49,"value":1513},{"type":43,"tag":161,"props":2216,"children":2217},{"style":500},[2218],{"type":49,"value":1310},{"type":43,"tag":161,"props":2220,"children":2221},{"style":173},[2222],{"type":49,"value":1315},{"type":43,"tag":161,"props":2224,"children":2225},{"style":511},[2226],{"type":49,"value":2227}," [--slippage ",{"type":43,"tag":161,"props":2229,"children":2230},{"style":500},[2231],{"type":49,"value":1295},{"type":43,"tag":161,"props":2233,"children":2234},{"style":173},[2235],{"type":49,"value":1846},{"type":43,"tag":161,"props":2237,"children":2238},{"style":511},[2239],{"type":49,"value":1851},{"type":43,"tag":161,"props":2241,"children":2242},{"style":500},[2243],{"type":49,"value":1310},{"type":43,"tag":161,"props":2245,"children":2246},{"style":173},[2247],{"type":49,"value":1315},{"type":43,"tag":161,"props":2249,"children":2250},{"style":511},[2251],{"type":49,"value":1933},{"type":43,"tag":161,"props":2253,"children":2254},{"class":163,"line":780},[2255,2259,2264,2269,2273,2277,2281,2285,2289,2293,2297,2301,2305,2310,2315,2319,2324],{"type":43,"tag":161,"props":2256,"children":2257},{"style":168},[2258],{"type":49,"value":127},{"type":43,"tag":161,"props":2260,"children":2261},{"style":173},[2262],{"type":49,"value":2263}," deposit",{"type":43,"tag":161,"props":2265,"children":2266},{"style":173},[2267],{"type":49,"value":2268}," --asset",{"type":43,"tag":161,"props":2270,"children":2271},{"style":500},[2272],{"type":49,"value":503},{"type":43,"tag":161,"props":2274,"children":2275},{"style":173},[2276],{"type":49,"value":1869},{"type":43,"tag":161,"props":2278,"children":2279},{"style":511},[2280],{"type":49,"value":1874},{"type":43,"tag":161,"props":2282,"children":2283},{"style":500},[2284],{"type":49,"value":1310},{"type":43,"tag":161,"props":2286,"children":2287},{"style":173},[2288],{"type":49,"value":1837},{"type":43,"tag":161,"props":2290,"children":2291},{"style":500},[2292],{"type":49,"value":503},{"type":43,"tag":161,"props":2294,"children":2295},{"style":173},[2296],{"type":49,"value":1846},{"type":43,"tag":161,"props":2298,"children":2299},{"style":511},[2300],{"type":49,"value":1851},{"type":43,"tag":161,"props":2302,"children":2303},{"style":500},[2304],{"type":49,"value":1310},{"type":43,"tag":161,"props":2306,"children":2307},{"style":511},[2308],{"type":49,"value":2309}," [--protocol ",{"type":43,"tag":161,"props":2311,"children":2312},{"style":173},[2313],{"type":49,"value":2314},"aave",{"type":43,"tag":161,"props":2316,"children":2317},{"style":500},[2318],{"type":49,"value":1396},{"type":43,"tag":161,"props":2320,"children":2321},{"style":168},[2322],{"type":49,"value":2323},"morpho]",{"type":43,"tag":161,"props":2325,"children":2326},{"style":511},[2327],{"type":49,"value":1933},{"type":43,"tag":161,"props":2329,"children":2330},{"class":163,"line":789},[2331,2335,2340,2345,2349,2353,2357,2361,2365,2369,2374,2378,2383,2388,2392,2396,2400,2404,2408],{"type":43,"tag":161,"props":2332,"children":2333},{"style":168},[2334],{"type":49,"value":127},{"type":43,"tag":161,"props":2336,"children":2337},{"style":173},[2338],{"type":49,"value":2339}," withdraw",{"type":43,"tag":161,"props":2341,"children":2342},{"style":173},[2343],{"type":49,"value":2344}," --position",{"type":43,"tag":161,"props":2346,"children":2347},{"style":500},[2348],{"type":49,"value":503},{"type":43,"tag":161,"props":2350,"children":2351},{"style":173},[2352],{"type":49,"value":1823},{"type":43,"tag":161,"props":2354,"children":2355},{"style":511},[2356],{"type":49,"value":1828},{"type":43,"tag":161,"props":2358,"children":2359},{"style":500},[2360],{"type":49,"value":1310},{"type":43,"tag":161,"props":2362,"children":2363},{"style":173},[2364],{"type":49,"value":1837},{"type":43,"tag":161,"props":2366,"children":2367},{"style":500},[2368],{"type":49,"value":503},{"type":43,"tag":161,"props":2370,"children":2371},{"style":173},[2372],{"type":49,"value":2373},"num",{"type":43,"tag":161,"props":2375,"children":2376},{"style":500},[2377],{"type":49,"value":1396},{"type":43,"tag":161,"props":2379,"children":2380},{"style":168},[2381],{"type":49,"value":2382},"max",{"type":43,"tag":161,"props":2384,"children":2385},{"style":511},[2386],{"type":49,"value":2387},"> [--chain ",{"type":43,"tag":161,"props":2389,"children":2390},{"style":500},[2391],{"type":49,"value":1295},{"type":43,"tag":161,"props":2393,"children":2394},{"style":173},[2395],{"type":49,"value":1758},{"type":43,"tag":161,"props":2397,"children":2398},{"style":511},[2399],{"type":49,"value":1513},{"type":43,"tag":161,"props":2401,"children":2402},{"style":500},[2403],{"type":49,"value":1310},{"type":43,"tag":161,"props":2405,"children":2406},{"style":173},[2407],{"type":49,"value":1315},{"type":43,"tag":161,"props":2409,"children":2410},{"style":511},[2411],{"type":49,"value":1933},{"type":43,"tag":161,"props":2413,"children":2414},{"class":163,"line":798},[2415,2419,2424,2428,2432,2436,2440],{"type":43,"tag":161,"props":2416,"children":2417},{"style":168},[2418],{"type":49,"value":127},{"type":43,"tag":161,"props":2420,"children":2421},{"style":173},[2422],{"type":49,"value":2423}," fund",{"type":43,"tag":161,"props":2425,"children":2426},{"style":511},[2427],{"type":49,"value":1728},{"type":43,"tag":161,"props":2429,"children":2430},{"style":500},[2431],{"type":49,"value":1295},{"type":43,"tag":161,"props":2433,"children":2434},{"style":511},[2435],{"type":49,"value":1513},{"type":43,"tag":161,"props":2437,"children":2438},{"style":500},[2439],{"type":49,"value":1310},{"type":43,"tag":161,"props":2441,"children":2442},{"style":173},[2443],{"type":49,"value":1553},{"type":43,"tag":161,"props":2445,"children":2446},{"class":163,"line":807},[2447,2451,2456,2461,2465,2470,2475,2479,2484,2488,2492,2496,2500,2504,2508,2512,2516,2520,2525,2530,2535,2539,2544,2548,2552,2556,2561],{"type":43,"tag":161,"props":2448,"children":2449},{"style":168},[2450],{"type":49,"value":127},{"type":43,"tag":161,"props":2452,"children":2453},{"style":173},[2454],{"type":49,"value":2455}," x402-pay",{"type":43,"tag":161,"props":2457,"children":2458},{"style":173},[2459],{"type":49,"value":2460}," --url",{"type":43,"tag":161,"props":2462,"children":2463},{"style":500},[2464],{"type":49,"value":503},{"type":43,"tag":161,"props":2466,"children":2467},{"style":173},[2468],{"type":49,"value":2469},"ur",{"type":43,"tag":161,"props":2471,"children":2472},{"style":511},[2473],{"type":49,"value":2474},"l",{"type":43,"tag":161,"props":2476,"children":2477},{"style":500},[2478],{"type":49,"value":1310},{"type":43,"tag":161,"props":2480,"children":2481},{"style":173},[2482],{"type":49,"value":2483}," --wallet",{"type":43,"tag":161,"props":2485,"children":2486},{"style":500},[2487],{"type":49,"value":503},{"type":43,"tag":161,"props":2489,"children":2490},{"style":511},[2491],{"type":49,"value":1513},{"type":43,"tag":161,"props":2493,"children":2494},{"style":500},[2495],{"type":49,"value":1310},{"type":43,"tag":161,"props":2497,"children":2498},{"style":511},[2499],{"type":49,"value":1749},{"type":43,"tag":161,"props":2501,"children":2502},{"style":500},[2503],{"type":49,"value":1295},{"type":43,"tag":161,"props":2505,"children":2506},{"style":173},[2507],{"type":49,"value":1758},{"type":43,"tag":161,"props":2509,"children":2510},{"style":511},[2511],{"type":49,"value":1513},{"type":43,"tag":161,"props":2513,"children":2514},{"style":500},[2515],{"type":49,"value":1310},{"type":43,"tag":161,"props":2517,"children":2518},{"style":173},[2519],{"type":49,"value":1315},{"type":43,"tag":161,"props":2521,"children":2522},{"style":511},[2523],{"type":49,"value":2524}," [--method ",{"type":43,"tag":161,"props":2526,"children":2527},{"style":173},[2528],{"type":49,"value":2529},"GET]",{"type":43,"tag":161,"props":2531,"children":2532},{"style":511},[2533],{"type":49,"value":2534}," [--body ",{"type":43,"tag":161,"props":2536,"children":2537},{"style":500},[2538],{"type":49,"value":1295},{"type":43,"tag":161,"props":2540,"children":2541},{"style":173},[2542],{"type":49,"value":2543},"st",{"type":43,"tag":161,"props":2545,"children":2546},{"style":511},[2547],{"type":49,"value":1828},{"type":43,"tag":161,"props":2549,"children":2550},{"style":500},[2551],{"type":49,"value":1310},{"type":43,"tag":161,"props":2553,"children":2554},{"style":173},[2555],{"type":49,"value":1315},{"type":43,"tag":161,"props":2557,"children":2558},{"style":511},[2559],{"type":49,"value":2560}," [--header ",{"type":43,"tag":161,"props":2562,"children":2563},{"style":173},[2564],{"type":49,"value":2565},"Key:Value]\n",{"type":43,"tag":111,"props":2567,"children":2568},{},[2569,2571,2577,2579,2585,2587,2593],{"type":49,"value":2570},"Every write command accepts ",{"type":43,"tag":74,"props":2572,"children":2574},{"className":2573},[],[2575],{"type":49,"value":2576},"--broadcast",{"type":49,"value":2578}," (execute) and ",{"type":43,"tag":74,"props":2580,"children":2582},{"className":2581},[],[2583],{"type":49,"value":2584},"--dry-run",{"type":49,"value":2586}," (force preview); with neither, the persisted ",{"type":43,"tag":74,"props":2588,"children":2590},{"className":2589},[],[2591],{"type":49,"value":2592},"agent mode",{"type":49,"value":2594}," decides.",{"type":43,"tag":389,"props":2596,"children":2598},{"id":2597},"agent-identity-reputation-erc-8004",[2599],{"type":49,"value":2600},"Agent identity & reputation (ERC-8004)",{"type":43,"tag":150,"props":2602,"children":2604},{"className":152,"code":2603,"language":154,"meta":155,"style":155},"agent register --name \u003Cn> [--agent-uri \u003Curi>] [--metadata \u003Ck=v,k=v>] [--broadcast|--dry-run]\nagent identity --agent-id \u003Cid> [--key \u003Cmetadata-key>]   # agent payment wallet + optional metadata\nagent reputation --agent-id \u003Cid> [--tag1 \u003Ctag>] [--tag2 \u003Ctag>]\nagent reviews --agent-id \u003Cid> [--tag1 \u003Ct>] [--tag2 \u003Ct>] [--include-revoked]\nagent feedback --agent-id \u003Cid> --value \u003Cscore> [--tag1 \u003Ct>] [--tag2 \u003Ct>] [--endpoint \u003Ce>] [--feedback-uri \u003Curi>] [--broadcast|--dry-run]\n",[2605],{"type":43,"tag":74,"props":2606,"children":2607},{"__ignoreMap":155},[2608,2701,2766,2850,2928],{"type":43,"tag":161,"props":2609,"children":2610},{"class":163,"line":164},[2611,2615,2619,2623,2627,2631,2635,2640,2644,2648,2653,2657,2661,2666,2670,2675,2679,2683,2687,2692,2696],{"type":43,"tag":161,"props":2612,"children":2613},{"style":168},[2614],{"type":49,"value":127},{"type":43,"tag":161,"props":2616,"children":2617},{"style":173},[2618],{"type":49,"value":1033},{"type":43,"tag":161,"props":2620,"children":2621},{"style":173},[2622],{"type":49,"value":1038},{"type":43,"tag":161,"props":2624,"children":2625},{"style":500},[2626],{"type":49,"value":503},{"type":43,"tag":161,"props":2628,"children":2629},{"style":511},[2630],{"type":49,"value":1513},{"type":43,"tag":161,"props":2632,"children":2633},{"style":500},[2634],{"type":49,"value":1310},{"type":43,"tag":161,"props":2636,"children":2637},{"style":511},[2638],{"type":49,"value":2639}," [--agent-uri ",{"type":43,"tag":161,"props":2641,"children":2642},{"style":500},[2643],{"type":49,"value":1295},{"type":43,"tag":161,"props":2645,"children":2646},{"style":173},[2647],{"type":49,"value":2469},{"type":43,"tag":161,"props":2649,"children":2650},{"style":511},[2651],{"type":49,"value":2652},"i",{"type":43,"tag":161,"props":2654,"children":2655},{"style":500},[2656],{"type":49,"value":1310},{"type":43,"tag":161,"props":2658,"children":2659},{"style":173},[2660],{"type":49,"value":1315},{"type":43,"tag":161,"props":2662,"children":2663},{"style":511},[2664],{"type":49,"value":2665}," [--metadata ",{"type":43,"tag":161,"props":2667,"children":2668},{"style":500},[2669],{"type":49,"value":1295},{"type":43,"tag":161,"props":2671,"children":2672},{"style":173},[2673],{"type":49,"value":2674},"k=v,k=",{"type":43,"tag":161,"props":2676,"children":2677},{"style":511},[2678],{"type":49,"value":1789},{"type":43,"tag":161,"props":2680,"children":2681},{"style":500},[2682],{"type":49,"value":1310},{"type":43,"tag":161,"props":2684,"children":2685},{"style":173},[2686],{"type":49,"value":1315},{"type":43,"tag":161,"props":2688,"children":2689},{"style":511},[2690],{"type":49,"value":2691}," [--broadcast",{"type":43,"tag":161,"props":2693,"children":2694},{"style":500},[2695],{"type":49,"value":1396},{"type":43,"tag":161,"props":2697,"children":2698},{"style":168},[2699],{"type":49,"value":2700},"--dry-run]\n",{"type":43,"tag":161,"props":2702,"children":2703},{"class":163,"line":185},[2704,2708,2713,2718,2722,2726,2731,2735,2740,2744,2749,2753,2757,2761],{"type":43,"tag":161,"props":2705,"children":2706},{"style":168},[2707],{"type":49,"value":127},{"type":43,"tag":161,"props":2709,"children":2710},{"style":173},[2711],{"type":49,"value":2712}," identity",{"type":43,"tag":161,"props":2714,"children":2715},{"style":173},[2716],{"type":49,"value":2717}," --agent-id",{"type":43,"tag":161,"props":2719,"children":2720},{"style":500},[2721],{"type":49,"value":503},{"type":43,"tag":161,"props":2723,"children":2724},{"style":173},[2725],{"type":49,"value":2652},{"type":43,"tag":161,"props":2727,"children":2728},{"style":511},[2729],{"type":49,"value":2730},"d",{"type":43,"tag":161,"props":2732,"children":2733},{"style":500},[2734],{"type":49,"value":1310},{"type":43,"tag":161,"props":2736,"children":2737},{"style":511},[2738],{"type":49,"value":2739}," [--key ",{"type":43,"tag":161,"props":2741,"children":2742},{"style":500},[2743],{"type":49,"value":1295},{"type":43,"tag":161,"props":2745,"children":2746},{"style":173},[2747],{"type":49,"value":2748},"metadata-ke",{"type":43,"tag":161,"props":2750,"children":2751},{"style":511},[2752],{"type":49,"value":514},{"type":43,"tag":161,"props":2754,"children":2755},{"style":500},[2756],{"type":49,"value":1310},{"type":43,"tag":161,"props":2758,"children":2759},{"style":173},[2760],{"type":49,"value":1315},{"type":43,"tag":161,"props":2762,"children":2763},{"style":179},[2764],{"type":49,"value":2765},"   # agent payment wallet + optional metadata\n",{"type":43,"tag":161,"props":2767,"children":2768},{"class":163,"line":214},[2769,2773,2778,2782,2786,2790,2794,2798,2803,2807,2812,2817,2821,2825,2830,2834,2838,2842,2846],{"type":43,"tag":161,"props":2770,"children":2771},{"style":168},[2772],{"type":49,"value":127},{"type":43,"tag":161,"props":2774,"children":2775},{"style":173},[2776],{"type":49,"value":2777}," reputation",{"type":43,"tag":161,"props":2779,"children":2780},{"style":173},[2781],{"type":49,"value":2717},{"type":43,"tag":161,"props":2783,"children":2784},{"style":500},[2785],{"type":49,"value":503},{"type":43,"tag":161,"props":2787,"children":2788},{"style":173},[2789],{"type":49,"value":2652},{"type":43,"tag":161,"props":2791,"children":2792},{"style":511},[2793],{"type":49,"value":2730},{"type":43,"tag":161,"props":2795,"children":2796},{"style":500},[2797],{"type":49,"value":1310},{"type":43,"tag":161,"props":2799,"children":2800},{"style":511},[2801],{"type":49,"value":2802}," [--tag1 ",{"type":43,"tag":161,"props":2804,"children":2805},{"style":500},[2806],{"type":49,"value":1295},{"type":43,"tag":161,"props":2808,"children":2809},{"style":173},[2810],{"type":49,"value":2811},"ta",{"type":43,"tag":161,"props":2813,"children":2814},{"style":511},[2815],{"type":49,"value":2816},"g",{"type":43,"tag":161,"props":2818,"children":2819},{"style":500},[2820],{"type":49,"value":1310},{"type":43,"tag":161,"props":2822,"children":2823},{"style":173},[2824],{"type":49,"value":1315},{"type":43,"tag":161,"props":2826,"children":2827},{"style":511},[2828],{"type":49,"value":2829}," [--tag2 ",{"type":43,"tag":161,"props":2831,"children":2832},{"style":500},[2833],{"type":49,"value":1295},{"type":43,"tag":161,"props":2835,"children":2836},{"style":173},[2837],{"type":49,"value":2811},{"type":43,"tag":161,"props":2839,"children":2840},{"style":511},[2841],{"type":49,"value":2816},{"type":43,"tag":161,"props":2843,"children":2844},{"style":500},[2845],{"type":49,"value":1310},{"type":43,"tag":161,"props":2847,"children":2848},{"style":173},[2849],{"type":49,"value":1553},{"type":43,"tag":161,"props":2851,"children":2852},{"class":163,"line":762},[2853,2857,2862,2866,2870,2874,2878,2882,2886,2890,2895,2899,2903,2907,2911,2915,2919,2923],{"type":43,"tag":161,"props":2854,"children":2855},{"style":168},[2856],{"type":49,"value":127},{"type":43,"tag":161,"props":2858,"children":2859},{"style":173},[2860],{"type":49,"value":2861}," reviews",{"type":43,"tag":161,"props":2863,"children":2864},{"style":173},[2865],{"type":49,"value":2717},{"type":43,"tag":161,"props":2867,"children":2868},{"style":500},[2869],{"type":49,"value":503},{"type":43,"tag":161,"props":2871,"children":2872},{"style":173},[2873],{"type":49,"value":2652},{"type":43,"tag":161,"props":2875,"children":2876},{"style":511},[2877],{"type":49,"value":2730},{"type":43,"tag":161,"props":2879,"children":2880},{"style":500},[2881],{"type":49,"value":1310},{"type":43,"tag":161,"props":2883,"children":2884},{"style":511},[2885],{"type":49,"value":2802},{"type":43,"tag":161,"props":2887,"children":2888},{"style":500},[2889],{"type":49,"value":1295},{"type":43,"tag":161,"props":2891,"children":2892},{"style":511},[2893],{"type":49,"value":2894},"t",{"type":43,"tag":161,"props":2896,"children":2897},{"style":500},[2898],{"type":49,"value":1310},{"type":43,"tag":161,"props":2900,"children":2901},{"style":173},[2902],{"type":49,"value":1315},{"type":43,"tag":161,"props":2904,"children":2905},{"style":511},[2906],{"type":49,"value":2829},{"type":43,"tag":161,"props":2908,"children":2909},{"style":500},[2910],{"type":49,"value":1295},{"type":43,"tag":161,"props":2912,"children":2913},{"style":511},[2914],{"type":49,"value":2894},{"type":43,"tag":161,"props":2916,"children":2917},{"style":500},[2918],{"type":49,"value":1310},{"type":43,"tag":161,"props":2920,"children":2921},{"style":173},[2922],{"type":49,"value":1315},{"type":43,"tag":161,"props":2924,"children":2925},{"style":511},[2926],{"type":49,"value":2927}," [--include-revoked]\n",{"type":43,"tag":161,"props":2929,"children":2930},{"class":163,"line":771},[2931,2935,2940,2944,2948,2952,2956,2960,2965,2969,2974,2978,2982,2986,2990,2994,2998,3002,3006,3010,3014,3018,3022,3027,3031,3035,3039,3043,3048,3052,3056,3060,3064,3068,3072,3076],{"type":43,"tag":161,"props":2932,"children":2933},{"style":168},[2934],{"type":49,"value":127},{"type":43,"tag":161,"props":2936,"children":2937},{"style":173},[2938],{"type":49,"value":2939}," feedback",{"type":43,"tag":161,"props":2941,"children":2942},{"style":173},[2943],{"type":49,"value":2717},{"type":43,"tag":161,"props":2945,"children":2946},{"style":500},[2947],{"type":49,"value":503},{"type":43,"tag":161,"props":2949,"children":2950},{"style":173},[2951],{"type":49,"value":2652},{"type":43,"tag":161,"props":2953,"children":2954},{"style":511},[2955],{"type":49,"value":2730},{"type":43,"tag":161,"props":2957,"children":2958},{"style":500},[2959],{"type":49,"value":1310},{"type":43,"tag":161,"props":2961,"children":2962},{"style":173},[2963],{"type":49,"value":2964}," --value",{"type":43,"tag":161,"props":2966,"children":2967},{"style":500},[2968],{"type":49,"value":503},{"type":43,"tag":161,"props":2970,"children":2971},{"style":173},[2972],{"type":49,"value":2973},"scor",{"type":43,"tag":161,"props":2975,"children":2976},{"style":511},[2977],{"type":49,"value":1305},{"type":43,"tag":161,"props":2979,"children":2980},{"style":500},[2981],{"type":49,"value":1310},{"type":43,"tag":161,"props":2983,"children":2984},{"style":511},[2985],{"type":49,"value":2802},{"type":43,"tag":161,"props":2987,"children":2988},{"style":500},[2989],{"type":49,"value":1295},{"type":43,"tag":161,"props":2991,"children":2992},{"style":511},[2993],{"type":49,"value":2894},{"type":43,"tag":161,"props":2995,"children":2996},{"style":500},[2997],{"type":49,"value":1310},{"type":43,"tag":161,"props":2999,"children":3000},{"style":173},[3001],{"type":49,"value":1315},{"type":43,"tag":161,"props":3003,"children":3004},{"style":511},[3005],{"type":49,"value":2829},{"type":43,"tag":161,"props":3007,"children":3008},{"style":500},[3009],{"type":49,"value":1295},{"type":43,"tag":161,"props":3011,"children":3012},{"style":511},[3013],{"type":49,"value":2894},{"type":43,"tag":161,"props":3015,"children":3016},{"style":500},[3017],{"type":49,"value":1310},{"type":43,"tag":161,"props":3019,"children":3020},{"style":173},[3021],{"type":49,"value":1315},{"type":43,"tag":161,"props":3023,"children":3024},{"style":511},[3025],{"type":49,"value":3026}," [--endpoint ",{"type":43,"tag":161,"props":3028,"children":3029},{"style":500},[3030],{"type":49,"value":1295},{"type":43,"tag":161,"props":3032,"children":3033},{"style":511},[3034],{"type":49,"value":1305},{"type":43,"tag":161,"props":3036,"children":3037},{"style":500},[3038],{"type":49,"value":1310},{"type":43,"tag":161,"props":3040,"children":3041},{"style":173},[3042],{"type":49,"value":1315},{"type":43,"tag":161,"props":3044,"children":3045},{"style":511},[3046],{"type":49,"value":3047}," [--feedback-uri ",{"type":43,"tag":161,"props":3049,"children":3050},{"style":500},[3051],{"type":49,"value":1295},{"type":43,"tag":161,"props":3053,"children":3054},{"style":173},[3055],{"type":49,"value":2469},{"type":43,"tag":161,"props":3057,"children":3058},{"style":511},[3059],{"type":49,"value":2652},{"type":43,"tag":161,"props":3061,"children":3062},{"style":500},[3063],{"type":49,"value":1310},{"type":43,"tag":161,"props":3065,"children":3066},{"style":173},[3067],{"type":49,"value":1315},{"type":43,"tag":161,"props":3069,"children":3070},{"style":511},[3071],{"type":49,"value":2691},{"type":43,"tag":161,"props":3073,"children":3074},{"style":500},[3075],{"type":49,"value":1396},{"type":43,"tag":161,"props":3077,"children":3078},{"style":168},[3079],{"type":49,"value":2700},{"type":43,"tag":111,"props":3081,"children":3082},{},[3083],{"type":43,"tag":115,"props":3084,"children":3085},{},[3086],{"type":49,"value":3087},"ERC-8004 contracts (Polygon mainnet):",{"type":43,"tag":59,"props":3089,"children":3090},{},[3091,3102],{"type":43,"tag":63,"props":3092,"children":3093},{},[3094,3096],{"type":49,"value":3095},"IdentityRegistry: ",{"type":43,"tag":74,"props":3097,"children":3099},{"className":3098},[],[3100],{"type":49,"value":3101},"0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",{"type":43,"tag":63,"props":3103,"children":3104},{},[3105,3107],{"type":49,"value":3106},"ReputationRegistry: ",{"type":43,"tag":74,"props":3108,"children":3110},{"className":3109},[],[3111],{"type":49,"value":3112},"0x8004BAa17C55a88189AE136b182e5fdA19dE9b63",{"type":43,"tag":52,"props":3114,"children":3116},{"id":3115},"key-behaviors",[3117],{"type":49,"value":3118},"Key Behaviors",{"type":43,"tag":59,"props":3120,"children":3121},{},[3122,3192,3215,3245,3255,3285,3312,3351,3402,3416,3438,3452,3462],{"type":43,"tag":63,"props":3123,"children":3124},{},[3125,3130,3132,3138,3140,3145,3147,3153,3155,3160,3162,3167,3169,3175,3177,3182,3184,3190],{"type":43,"tag":115,"props":3126,"children":3127},{},[3128],{"type":49,"value":3129},"Transaction mode",{"type":49,"value":3131}," — in the default ",{"type":43,"tag":74,"props":3133,"children":3135},{"className":3134},[],[3136],{"type":49,"value":3137},"dry-run",{"type":49,"value":3139}," mode, write commands preview and require ",{"type":43,"tag":74,"props":3141,"children":3143},{"className":3142},[],[3144],{"type":49,"value":2576},{"type":49,"value":3146}," to execute. ",{"type":43,"tag":74,"props":3148,"children":3150},{"className":3149},[],[3151],{"type":49,"value":3152},"agent mode auto",{"type":49,"value":3154}," persists always-broadcast; ",{"type":43,"tag":74,"props":3156,"children":3158},{"className":3157},[],[3159],{"type":49,"value":2584},{"type":49,"value":3161}," on any command forces a preview regardless of mode. After the first ",{"type":43,"tag":74,"props":3163,"children":3165},{"className":3164},[],[3166],{"type":49,"value":271},{"type":49,"value":3168},", if the login JSON contains a ",{"type":43,"tag":74,"props":3170,"children":3172},{"className":3171},[],[3173],{"type":49,"value":3174},"modePrompt",{"type":49,"value":3176}," field, relay that question to the user and run ",{"type":43,"tag":74,"props":3178,"children":3180},{"className":3179},[],[3181],{"type":49,"value":3152},{"type":49,"value":3183}," or ",{"type":43,"tag":74,"props":3185,"children":3187},{"className":3186},[],[3188],{"type":49,"value":3189},"agent mode dry-run",{"type":49,"value":3191}," per their answer before continuing. Never enable auto mode without the user's explicit answer.",{"type":43,"tag":63,"props":3193,"children":3194},{},[3195,3200,3202,3208,3209],{"type":43,"tag":115,"props":3196,"children":3197},{},[3198],{"type":49,"value":3199},"Smart defaults",{"type":49,"value":3201}," — ",{"type":43,"tag":74,"props":3203,"children":3205},{"className":3204},[],[3206],{"type":49,"value":3207},"--wallet main",{"type":49,"value":1455},{"type":43,"tag":74,"props":3210,"children":3212},{"className":3211},[],[3213],{"type":49,"value":3214},"--chain polygon",{"type":43,"tag":63,"props":3216,"children":3217},{},[3218,3227,3229,3235,3237,3243],{"type":43,"tag":115,"props":3219,"children":3220},{},[3221],{"type":43,"tag":74,"props":3222,"children":3224},{"className":3223},[],[3225],{"type":49,"value":3226},"balances --chains",{"type":49,"value":3228}," — comma-separated chains (max 20); two or more return JSON with ",{"type":43,"tag":74,"props":3230,"children":3232},{"className":3231},[],[3233],{"type":49,"value":3234},"multiChain: true",{"type":49,"value":3236}," and a ",{"type":43,"tag":74,"props":3238,"children":3240},{"className":3239},[],[3241],{"type":49,"value":3242},"chains",{"type":49,"value":3244}," array (same wallet address on each)",{"type":43,"tag":63,"props":3246,"children":3247},{},[3248,3253],{"type":43,"tag":115,"props":3249,"children":3250},{},[3251],{"type":49,"value":3252},"Fee preference",{"type":49,"value":3254}," — auto-selects USDC over native POL when both available; the relayer pays gas in whichever fee token the wallet can afford",{"type":43,"tag":63,"props":3256,"children":3257},{},[3258,3267,3269,3275,3277,3283],{"type":43,"tag":115,"props":3259,"children":3260},{},[3261],{"type":43,"tag":74,"props":3262,"children":3264},{"className":3263},[],[3265],{"type":49,"value":3266},"fund",{"type":49,"value":3268}," — returns the agentconnect dashboard funding URL (wallet and chain prefilled) as the ",{"type":43,"tag":74,"props":3270,"children":3272},{"className":3271},[],[3273],{"type":49,"value":3274},"fundingUrl",{"type":49,"value":3276},". Always run ",{"type":43,"tag":74,"props":3278,"children":3280},{"className":3279},[],[3281],{"type":49,"value":3282},"agent fund",{"type":49,"value":3284}," to get the URL and wallet address — never hardcode or construct manually.",{"type":43,"tag":63,"props":3286,"children":3287},{},[3288,3297,3299,3305,3307],{"type":43,"tag":115,"props":3289,"children":3290},{},[3291],{"type":43,"tag":74,"props":3292,"children":3294},{"className":3293},[],[3295],{"type":49,"value":3296},"deposit",{"type":49,"value":3298}," — picks highest-TVL pool via Trails ",{"type":43,"tag":74,"props":3300,"children":3302},{"className":3301},[],[3303],{"type":49,"value":3304},"getEarnPools",{"type":49,"value":3306}," and deposits directly. Full deposit reference: ",{"type":43,"tag":1146,"props":3308,"children":3310},{"href":1166,"rel":3309},[1150],[3311],{"type":49,"value":1166},{"type":43,"tag":63,"props":3313,"children":3314},{},[3315,3320,3322,3327,3329,3334,3336,3342,3343,3349],{"type":43,"tag":115,"props":3316,"children":3317},{},[3318],{"type":49,"value":3319},"Gas reserve",{"type":49,"value":3321}," — when using ",{"type":43,"tag":74,"props":3323,"children":3325},{"className":3324},[],[3326],{"type":49,"value":3296},{"type":49,"value":3328}," or any command that spends tokens, always reserve at least 0.1 USDC or 0.1 POL in the wallet for gas. Never attempt to spend the full balance. The ",{"type":43,"tag":74,"props":3330,"children":3332},{"className":3331},[],[3333],{"type":49,"value":3296},{"type":49,"value":3335}," command enforces a 0.1 reserve automatically, but the agent must apply the same rule when constructing amounts for ",{"type":43,"tag":74,"props":3337,"children":3339},{"className":3338},[],[3340],{"type":49,"value":3341},"send",{"type":49,"value":1455},{"type":43,"tag":74,"props":3344,"children":3346},{"className":3345},[],[3347],{"type":49,"value":3348},"swap",{"type":49,"value":3350},", or direct contract calls.",{"type":43,"tag":63,"props":3352,"children":3353},{},[3354,3363,3364,3370,3372,3378,3380,3385,3387,3393,3395,3401],{"type":43,"tag":115,"props":3355,"children":3356},{},[3357],{"type":43,"tag":74,"props":3358,"children":3360},{"className":3359},[],[3361],{"type":49,"value":3362},"withdraw",{"type":49,"value":3201},{"type":43,"tag":74,"props":3365,"children":3367},{"className":3366},[],[3368],{"type":49,"value":3369},"--position",{"type":49,"value":3371}," = aToken or ERC-4626 vault; ",{"type":43,"tag":74,"props":3373,"children":3375},{"className":3374},[],[3376],{"type":49,"value":3377},"--amount",{"type":49,"value":3379}," = ",{"type":43,"tag":74,"props":3381,"children":3383},{"className":3382},[],[3384],{"type":49,"value":2382},{"type":49,"value":3386}," or underlying units (Aave \u002F vault). Dry-run JSON includes ",{"type":43,"tag":74,"props":3388,"children":3390},{"className":3389},[],[3391],{"type":49,"value":3392},"poolAddress",{"type":49,"value":3394}," \u002F ",{"type":43,"tag":74,"props":3396,"children":3398},{"className":3397},[],[3399],{"type":49,"value":3400},"vault",{"type":49,"value":414},{"type":43,"tag":63,"props":3403,"children":3404},{},[3405,3414],{"type":43,"tag":115,"props":3406,"children":3407},{},[3408],{"type":43,"tag":74,"props":3409,"children":3411},{"className":3410},[],[3412],{"type":49,"value":3413},"x402-pay",{"type":49,"value":3415}," — probes endpoint for 402, the wallet funds a builder EOA with the exact token amount, the EOA signs the EIP-3009 payment. Chain auto-detected from the 402 response",{"type":43,"tag":63,"props":3417,"children":3418},{},[3419,3428,3430,3436],{"type":43,"tag":115,"props":3420,"children":3421},{},[3422],{"type":43,"tag":74,"props":3423,"children":3425},{"className":3424},[],[3426],{"type":49,"value":3427},"call",{"type":49,"value":3429}," — submit arbitrary pre-encoded calldata: ",{"type":43,"tag":74,"props":3431,"children":3433},{"className":3432},[],[3434],{"type":49,"value":3435},"agent call --to \u003Caddr> --data 0x... [--value \u003Camt>] [--prefer-native-fee] [--broadcast]",{"type":49,"value":3437},". The wallet can call any contract (no permission scoping in the V3 model)",{"type":43,"tag":63,"props":3439,"children":3440},{},[3441,3450],{"type":43,"tag":115,"props":3442,"children":3443},{},[3444],{"type":43,"tag":74,"props":3445,"children":3447},{"className":3446},[],[3448],{"type":49,"value":3449},"send-native --direct",{"type":49,"value":3451}," — bypasses ValueForwarder contract for direct EOA transfer",{"type":43,"tag":63,"props":3453,"children":3454},{},[3455,3460],{"type":43,"tag":115,"props":3456,"children":3457},{},[3458],{"type":49,"value":3459},"No permission scoping",{"type":49,"value":3461}," — the V3 embedded wallet can call any contract and spend any amount it holds; there are no per-contract whitelists or spend limits. Guard spending in agent logic, not at the wallet layer.",{"type":43,"tag":63,"props":3463,"children":3464},{},[3465,3470,3472],{"type":43,"tag":115,"props":3466,"children":3467},{},[3468],{"type":49,"value":3469},"Session expiry",{"type":49,"value":3471}," — ~1 week from login; on expiry, re-run ",{"type":43,"tag":74,"props":3473,"children":3475},{"className":3474},[],[3476],{"type":49,"value":271},{"type":43,"tag":52,"props":3478,"children":3480},{"id":3479},"presenting-results-to-the-user",[3481],{"type":49,"value":3482},"Presenting Results to the User",{"type":43,"tag":111,"props":3484,"children":3485},{},[3486],{"type":49,"value":3487},"CLI commands output JSON (non-TTY). After running a command, always render the result as formatted markdown — never paste raw JSON into the conversation.",{"type":43,"tag":307,"props":3489,"children":3490},{},[3491,3507],{"type":43,"tag":311,"props":3492,"children":3493},{},[3494],{"type":43,"tag":315,"props":3495,"children":3496},{},[3497,3502],{"type":43,"tag":319,"props":3498,"children":3499},{},[3500],{"type":49,"value":3501},"Command",{"type":43,"tag":319,"props":3503,"children":3504},{},[3505],{"type":49,"value":3506},"How to present",{"type":43,"tag":340,"props":3508,"children":3509},{},[3510,3527,3557,3581,3597,3620,3643,3666,3691,3723],{"type":43,"tag":315,"props":3511,"children":3512},{},[3513,3522],{"type":43,"tag":347,"props":3514,"children":3515},{},[3516],{"type":43,"tag":74,"props":3517,"children":3519},{"className":3518},[],[3520],{"type":49,"value":3521},"balances",{"type":43,"tag":347,"props":3523,"children":3524},{},[3525],{"type":49,"value":3526},"Markdown table: Token \u002F Balance columns. Show wallet address and chain above the table.",{"type":43,"tag":315,"props":3528,"children":3529},{},[3530,3552],{"type":43,"tag":347,"props":3531,"children":3532},{},[3533,3538,3539,3545,3546],{"type":43,"tag":74,"props":3534,"children":3536},{"className":3535},[],[3537],{"type":49,"value":3341},{"type":49,"value":3394},{"type":43,"tag":74,"props":3540,"children":3542},{"className":3541},[],[3543],{"type":49,"value":3544},"send-token",{"type":49,"value":3394},{"type":43,"tag":74,"props":3547,"children":3549},{"className":3548},[],[3550],{"type":49,"value":3551},"send-native",{"type":43,"tag":347,"props":3553,"children":3554},{},[3555],{"type":49,"value":3556},"One-liner summary: amount, symbol, recipient. If broadcast, show tx hash as a code span and explorer URL as a link.",{"type":43,"tag":315,"props":3558,"children":3559},{},[3560,3568],{"type":43,"tag":347,"props":3561,"children":3562},{},[3563],{"type":43,"tag":74,"props":3564,"children":3566},{"className":3565},[],[3567],{"type":49,"value":3348},{"type":43,"tag":347,"props":3569,"children":3570},{},[3571,3573,3579],{"type":49,"value":3572},"Summary: ",{"type":43,"tag":74,"props":3574,"children":3576},{"className":3575},[],[3577],{"type":49,"value":3578},"X FROM → Y TO",{"type":49,"value":3580}," with chain. If broadcast, show deposit tx hash + explorer link.",{"type":43,"tag":315,"props":3582,"children":3583},{},[3584,3592],{"type":43,"tag":347,"props":3585,"children":3586},{},[3587],{"type":43,"tag":74,"props":3588,"children":3590},{"className":3589},[],[3591],{"type":49,"value":3296},{"type":43,"tag":347,"props":3593,"children":3594},{},[3595],{"type":49,"value":3596},"Summary: amount, asset, protocol, pool address. If broadcast, show tx hash + explorer link.",{"type":43,"tag":315,"props":3598,"children":3599},{},[3600,3608],{"type":43,"tag":347,"props":3601,"children":3602},{},[3603],{"type":43,"tag":74,"props":3604,"children":3606},{"className":3605},[],[3607],{"type":49,"value":3362},{"type":43,"tag":347,"props":3609,"children":3610},{},[3611,3612,3618],{"type":49,"value":3572},{"type":43,"tag":74,"props":3613,"children":3615},{"className":3614},[],[3616],{"type":49,"value":3617},"kind",{"type":49,"value":3619}," (aave \u002F erc4626), position, amount, pool or vault. If broadcast, show tx hash + explorer link.",{"type":43,"tag":315,"props":3621,"children":3622},{},[3623,3631],{"type":43,"tag":347,"props":3624,"children":3625},{},[3626],{"type":43,"tag":74,"props":3627,"children":3629},{"className":3628},[],[3630],{"type":49,"value":3266},{"type":43,"tag":347,"props":3632,"children":3633},{},[3634,3636,3641],{"type":49,"value":3635},"Show the ",{"type":43,"tag":74,"props":3637,"children":3639},{"className":3638},[],[3640],{"type":49,"value":3274},{"type":49,"value":3642}," as a clickable link with a brief instruction to open it.",{"type":43,"tag":315,"props":3644,"children":3645},{},[3646,3661],{"type":43,"tag":347,"props":3647,"children":3648},{},[3649,3654,3655],{"type":43,"tag":74,"props":3650,"children":3652},{"className":3651},[],[3653],{"type":49,"value":271},{"type":49,"value":3394},{"type":43,"tag":74,"props":3656,"children":3658},{"className":3657},[],[3659],{"type":49,"value":3660},"wallet list",{"type":43,"tag":347,"props":3662,"children":3663},{},[3664],{"type":49,"value":3665},"Wallet name, truncated address, chain in a small table or bullet list.",{"type":43,"tag":315,"props":3667,"children":3668},{},[3669,3678],{"type":43,"tag":347,"props":3670,"children":3671},{},[3672],{"type":43,"tag":74,"props":3673,"children":3675},{"className":3674},[],[3676],{"type":49,"value":3677},"register",{"type":43,"tag":347,"props":3679,"children":3680},{},[3681,3683,3689],{"type":49,"value":3682},"Show agent name and tx hash as a code span with Polygonscan link. Remind user to retrieve ",{"type":43,"tag":74,"props":3684,"children":3686},{"className":3685},[],[3687],{"type":49,"value":3688},"agentId",{"type":49,"value":3690}," from the Registered event on the Logs tab.",{"type":43,"tag":315,"props":3692,"children":3693},{},[3694,3703],{"type":43,"tag":347,"props":3695,"children":3696},{},[3697],{"type":43,"tag":74,"props":3698,"children":3700},{"className":3699},[],[3701],{"type":49,"value":3702},"identity",{"type":43,"tag":347,"props":3704,"children":3705},{},[3706,3708,3713,3715,3721],{"type":49,"value":3707},"Show ",{"type":43,"tag":74,"props":3709,"children":3711},{"className":3710},[],[3712],{"type":49,"value":3688},{"type":49,"value":3714},", wallet address, whether a wallet is set, and the decoded metadata value when ",{"type":43,"tag":74,"props":3716,"children":3718},{"className":3717},[],[3719],{"type":49,"value":3720},"--key",{"type":49,"value":3722}," was passed.",{"type":43,"tag":315,"props":3724,"children":3725},{},[3726,3735],{"type":43,"tag":347,"props":3727,"children":3728},{},[3729],{"type":43,"tag":74,"props":3730,"children":3732},{"className":3731},[],[3733],{"type":49,"value":3734},"reputation",{"type":43,"tag":347,"props":3736,"children":3737},{},[3738],{"type":49,"value":3739},"Format score and tag breakdown as a small table.",{"type":43,"tag":111,"props":3741,"children":3742},{},[3743,3748,3750,3756,3758,3764,3766,3771],{"type":43,"tag":115,"props":3744,"children":3745},{},[3746],{"type":49,"value":3747},"Dry-run results",{"type":49,"value":3749}," — always make it visually clear this was a simulation. Prefix with ",{"type":43,"tag":74,"props":3751,"children":3753},{"className":3752},[],[3754],{"type":49,"value":3755},"⚡ Dry run",{"type":49,"value":3757}," and show what ",{"type":43,"tag":3759,"props":3760,"children":3761},"em",{},[3762],{"type":49,"value":3763},"would",{"type":49,"value":3765}," happen. Remind the user to re-run with ",{"type":43,"tag":74,"props":3767,"children":3769},{"className":3768},[],[3770],{"type":49,"value":2576},{"type":49,"value":3772}," to execute.",{"type":43,"tag":111,"props":3774,"children":3775},{},[3776,3781,3783,3789],{"type":43,"tag":115,"props":3777,"children":3778},{},[3779],{"type":49,"value":3780},"Errors",{"type":49,"value":3782}," — extract the ",{"type":43,"tag":74,"props":3784,"children":3786},{"className":3785},[],[3787],{"type":49,"value":3788},"error",{"type":49,"value":3790}," field and present it as a clear sentence, not a JSON blob. Include the relevant fix from the Troubleshooting table if applicable.",{"type":43,"tag":1254,"props":3792,"children":3793},{},[],{"type":43,"tag":52,"props":3795,"children":3797},{"id":3796},"troubleshooting",[3798],{"type":49,"value":3799},"Troubleshooting",{"type":43,"tag":307,"props":3801,"children":3802},{},[3803,3819],{"type":43,"tag":311,"props":3804,"children":3805},{},[3806],{"type":43,"tag":315,"props":3807,"children":3808},{},[3809,3814],{"type":43,"tag":319,"props":3810,"children":3811},{},[3812],{"type":49,"value":3813},"Issue",{"type":43,"tag":319,"props":3815,"children":3816},{},[3817],{"type":49,"value":3818},"Fix",{"type":43,"tag":340,"props":3820,"children":3821},{},[3822,3849,3875,3913,3932,3950,3976],{"type":43,"tag":315,"props":3823,"children":3824},{},[3825,3834],{"type":43,"tag":347,"props":3826,"children":3827},{},[3828],{"type":43,"tag":74,"props":3829,"children":3831},{"className":3830},[],[3832],{"type":49,"value":3833},"Wallet not found",{"type":43,"tag":347,"props":3835,"children":3836},{},[3837,3842,3844],{"type":43,"tag":74,"props":3838,"children":3840},{"className":3839},[],[3841],{"type":49,"value":3660},{"type":49,"value":3843},", then ",{"type":43,"tag":74,"props":3845,"children":3847},{"className":3846},[],[3848],{"type":49,"value":1233},{"type":43,"tag":315,"props":3850,"children":3851},{},[3852,3864],{"type":43,"tag":347,"props":3853,"children":3854},{},[3855,3857,3863],{"type":49,"value":3856},"Session expired (",{"type":43,"tag":74,"props":3858,"children":3860},{"className":3859},[],[3861],{"type":49,"value":3862},"OMS_SESSION_EXPIRED",{"type":49,"value":602},{"type":43,"tag":347,"props":3865,"children":3866},{},[3867,3868,3873],{"type":49,"value":1219},{"type":43,"tag":74,"props":3869,"children":3871},{"className":3870},[],[3872],{"type":49,"value":1233},{"type":49,"value":3874}," (~1-week lifetime)",{"type":43,"tag":315,"props":3876,"children":3877},{},[3878,3887],{"type":43,"tag":347,"props":3879,"children":3880},{},[3881],{"type":43,"tag":74,"props":3882,"children":3884},{"className":3883},[],[3885],{"type":49,"value":3886},"Fee option errors",{"type":43,"tag":347,"props":3888,"children":3889},{},[3890,3892,3898,3900,3906,3908],{"type":49,"value":3891},"Set ",{"type":43,"tag":74,"props":3893,"children":3895},{"className":3894},[],[3896],{"type":49,"value":3897},"POLYGON_AGENT_DEBUG_FEE=1",{"type":49,"value":3899},", ensure wallet has POL or a fee token. For native-only wallets, add ",{"type":43,"tag":74,"props":3901,"children":3903},{"className":3902},[],[3904],{"type":49,"value":3905},"--prefer-native-fee",{"type":49,"value":3907}," on ",{"type":43,"tag":74,"props":3909,"children":3911},{"className":3910},[],[3912],{"type":49,"value":3427},{"type":43,"tag":315,"props":3914,"children":3915},{},[3916,3921],{"type":43,"tag":347,"props":3917,"children":3918},{},[3919],{"type":49,"value":3920},"Wrong recipient in Trails widget",{"type":43,"tag":347,"props":3922,"children":3923},{},[3924,3925,3930],{"type":49,"value":1219},{"type":43,"tag":74,"props":3926,"children":3928},{"className":3927},[],[3929],{"type":49,"value":3282},{"type":49,"value":3931}," (do not construct the URL manually)",{"type":43,"tag":315,"props":3933,"children":3934},{},[3935,3945],{"type":43,"tag":347,"props":3936,"children":3937},{},[3938,3943],{"type":43,"tag":74,"props":3939,"children":3941},{"className":3940},[],[3942],{"type":49,"value":3413},{"type":49,"value":3944},": no 402 response",{"type":43,"tag":347,"props":3946,"children":3947},{},[3948],{"type":49,"value":3949},"Endpoint doesn't require x402 payment, or URL is wrong",{"type":43,"tag":315,"props":3951,"children":3952},{},[3953,3963],{"type":43,"tag":347,"props":3954,"children":3955},{},[3956,3961],{"type":43,"tag":74,"props":3957,"children":3959},{"className":3958},[],[3960],{"type":49,"value":3413},{"type":49,"value":3962},": payment token mismatch",{"type":43,"tag":347,"props":3964,"children":3965},{},[3966,3968,3974],{"type":49,"value":3967},"Chain\u002Ftoken in the 402 response differs from wallet — check ",{"type":43,"tag":74,"props":3969,"children":3971},{"className":3970},[],[3972],{"type":49,"value":3973},"--wallet",{"type":49,"value":3975}," points to the right chain",{"type":43,"tag":315,"props":3977,"children":3978},{},[3979,3989],{"type":43,"tag":347,"props":3980,"children":3981},{},[3982,3987],{"type":43,"tag":74,"props":3983,"children":3985},{"className":3984},[],[3986],{"type":49,"value":3413},{"type":49,"value":3988},": EOA funding failed",{"type":43,"tag":347,"props":3990,"children":3991},{},[3992,3994,3999],{"type":49,"value":3993},"Wallet lacks sufficient balance to cover the payment amount — run ",{"type":43,"tag":74,"props":3995,"children":3997},{"className":3996},[],[3998],{"type":49,"value":3521},{"type":49,"value":4000}," and fund if needed",{"type":43,"tag":52,"props":4002,"children":4004},{"id":4003},"file-structure",[4005],{"type":49,"value":4006},"File Structure",{"type":43,"tag":150,"props":4008,"children":4012},{"className":4009,"code":4011,"language":49},[4010],"language-text","~\u002F.polygon-agent\u002F\n├── .encryption-key       # AES-256-GCM key (auto-generated, 0600)\n├── config.json           # transaction mode (auto | dry-run)\n├── builder.json          # publishableKey, omsProjectId, polymarket\u002FEOA keys (encrypted)\n├── wallets\u002F\u003Cname>.json   # OMS wallet pointer: walletAddress, loginMethod\n└── oms\u002F\u003Cname>\u002F           # OMS SDK session storage + encrypted credential key\n",[4013],{"type":43,"tag":74,"props":4014,"children":4015},{"__ignoreMap":155},[4016],{"type":49,"value":4011},{"type":43,"tag":4018,"props":4019,"children":4020},"style",{},[4021],{"type":49,"value":4022},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4024,"total":762},[4025,4032,4047,4063],{"slug":4,"name":4,"fn":5,"description":6,"org":4026,"tags":4027,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4028,4029,4030,4031],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":24,"slug":25,"type":16},{"name":21,"slug":22,"type":16},{"slug":4033,"name":4033,"fn":4034,"description":4035,"org":4036,"tags":4037,"stars":26,"repoUrl":27,"updatedAt":4046},"polygon-defi","execute DeFi operations on Polygon network","Swap, bridge, and deposit on Polygon using the Polygon Agent CLI. Covers same-chain token swaps, cross-chain bridging, yield deposits into Aave v3 and Morpho vaults, and withdrawals from those positions. Write commands preview by default; add --broadcast (or enable `agent mode auto`) to execute.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4038,4041,4042,4045],{"name":4039,"slug":4040,"type":16},"DeFi","defi",{"name":24,"slug":25,"type":16},{"name":4043,"slug":4044,"type":16},"Trading","trading",{"name":21,"slug":22,"type":16},"2026-07-27T06:07:30.737151",{"slug":4048,"name":4048,"fn":4049,"description":4050,"org":4051,"tags":4052,"stars":26,"repoUrl":27,"updatedAt":4062},"polygon-discovery","access pay-per-call services via Polygon","Agentic Services on Polygon — pay-per-call APIs gated by the x402 payment protocol, callable via the Polygon Agent CLI. No API keys or subscriptions; each call costs a small USDC amount drawn from the agent's smart wallet. Covers web search (Exa, SearchApi), web scraping (Firecrawl), news (NewsAPI), LLM inference (Llama 3.3\u002F3.2 via NVIDIA NIM, OpenRouter), cloud browsers (Browserbase), email (Resend, AgentMail), on-chain wallet analytics and prices (Allium), and multi-chain JSON-RPC (QuickNode, 16 chains).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4053,4056,4059,4060],{"name":4054,"slug":4055,"type":16},"API Development","api-development",{"name":4057,"slug":4058,"type":16},"Payments","payments",{"name":21,"slug":22,"type":16},{"name":4061,"slug":4061,"type":16},"x402","2026-07-24T05:37:26.414181",{"slug":4064,"name":4064,"fn":4065,"description":4066,"org":4067,"tags":4068,"stars":26,"repoUrl":27,"updatedAt":4072},"polymarket-skill","place bets on Polymarket prediction markets","Place bets on Polymarket prediction markets using the Polygon Agent CLI (CLOB V2). Browse markets, check prices, buy YES\u002FNO positions, sell positions, manage orders. Collateral is pUSD (auto-wrapped from USDC.e). All commands are JSON output. Dry-run by default — always add --broadcast to execute.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4069,4070,4071],{"name":24,"slug":25,"type":16},{"name":4043,"slug":4044,"type":16},{"name":21,"slug":22,"type":16},"2026-07-24T05:37:28.436997",{"items":4074,"total":762},[4075,4082,4089,4096],{"slug":4,"name":4,"fn":5,"description":6,"org":4076,"tags":4077,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4078,4079,4080,4081],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":24,"slug":25,"type":16},{"name":21,"slug":22,"type":16},{"slug":4033,"name":4033,"fn":4034,"description":4035,"org":4083,"tags":4084,"stars":26,"repoUrl":27,"updatedAt":4046},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4085,4086,4087,4088],{"name":4039,"slug":4040,"type":16},{"name":24,"slug":25,"type":16},{"name":4043,"slug":4044,"type":16},{"name":21,"slug":22,"type":16},{"slug":4048,"name":4048,"fn":4049,"description":4050,"org":4090,"tags":4091,"stars":26,"repoUrl":27,"updatedAt":4062},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4092,4093,4094,4095],{"name":4054,"slug":4055,"type":16},{"name":4057,"slug":4058,"type":16},{"name":21,"slug":22,"type":16},{"name":4061,"slug":4061,"type":16},{"slug":4064,"name":4064,"fn":4065,"description":4066,"org":4097,"tags":4098,"stars":26,"repoUrl":27,"updatedAt":4072},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4099,4100,4101],{"name":24,"slug":25,"type":16},{"name":4043,"slug":4044,"type":16},{"name":21,"slug":22,"type":16}]