# Agent Wallets

> Give your AI agent a secure wallet it can use from the Alchemy CLI without exposing private keys.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

Agent Wallets give your AI agent a real onchain wallet it can use with the [Alchemy CLI](docs/alchemy-cli) to perform onchain actions.

Built with Privy embedded wallets, your agent will never see the wallet's private key. You approve wallet access, and you can revoke it at any time.

## Get Started

Paste this prompt into your AI agent:

```bash
Install the latest Alchemy CLI with `npm i -g @alchemy/cli@latest`, then help me log in and create a wallet.
```

Your agent installs the CLI, authenticates, and connects an Agent Wallet.

## Use cases

<CardGroup cols={2}>
  <Card title="DeFi automation" icon="chart-line">
    Check balances, quote and execute swaps, bridge to another chain, and deposit into a protocol — all in a single agent workflow.
  </Card>
  <Card title="Onchain development" icon="code">
    Fund test wallets, deploy contracts, call contract methods, and automate repetitive dev tasks without leaving the CLI.
  </Card>
  <Card title="Treasury management" icon="wallet">
    Send payments, move assets between wallets, and rebalance across chains as part of operational or finance workflows.
  </Card>
  <Card title="Multi-chain workflows" icon="arrow-right-arrow-left">
    Bridge assets to where they're needed, then act — swap, deposit, or call contracts on the destination chain.
  </Card>
</CardGroup>

## Next steps

* [Alchemy CLI](docs/alchemy-cli)
* [Alchemy CLI wallets and signing](docs/alchemy-cli#wallets-and-signing)
* [Alchemy Dashboard Agent Wallets](https://dashboard.alchemy.com/products/agent-wallet/evm-wallet)