> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# Agentic Wallets

> Session-based smart contract wallets for AI agents that operate onchain autonomously.

Agentic wallets are smart contract wallets designed for software agents rather than human users. Instead of requiring a person to approve each transaction, an agent operates within a predefined spending policy: scoped permissions, token limits, and time bounds set at session creation. The private key is never exposed to the agent's context.

Polygon's agentic wallet infrastructure is built on session keys. An agent receives a session that grants it specific capabilities (send USDC up to \$50, swap on a particular DEX) without giving it full control of the underlying account. When the session expires or the limits are reached, the agent loses access automatically.

This model makes autonomous payment flows practical: microtransactions, per-request API billing via x402, and multi-agent coordination all work without per-transaction human confirmation.

***

## Key capabilities

| Capability           | Description                                             |
| -------------------- | ------------------------------------------------------- |
| Session-based access | Agents receive scoped credentials, not full key access  |
| Spending limits      | Token type, amount, and time bounds enforced onchain    |
| Onchain identity     | ERC-8004 registries for agent reputation and validation |
| x402 micropayments   | Pay per API call without subscriptions                  |

***

## Polygon Agent CLI

The Polygon Agent CLI is the primary tool for giving agents wallet access. It handles session creation, token operations, swaps, bridging, and x402 payments in a single install.

```bash theme={null}
npm install -g @polygonlabs/agent-cli
```

Or add it as an agent skill:

```bash theme={null}
npx skills add https://agentconnect.polygon.technology/SKILL.md
```

<Card title="Full agentic documentation" icon="arrow-right" href="/wallets/agentic-wallets">
  Complete CLI reference, x402 protocol, ERC-8004 agent identity, and integration guides.
</Card>
