> ## Documentation Index
> Fetch the complete documentation index at: /products/agentic-wallet/manual/llms.txt
> Use this file to discover all available pages before exploring further.

# Wallets

> Create wallets, inspect wallet state, list wallets, and update metadata.

Wallets are created and owned by a principal. Owners have unrestricted access; runtimes only see wallets they can access through active delegations or pacts.

## Create a wallet

> [tab] CLI
>
> ```bash theme={null}
> caw onboard
> ```

> [tab] Python SDK
>
> ```python theme={null}
> wallet = await owner_client.create_wallet(name="Treasury")
> print(wallet["uuid"])
> ```

> [tab] TypeScript SDK
>
> ```typescript theme={null}
> const wallet = (await walletsApi.createWallet({ name: 'Treasury' })).data.result;
> console.log(wallet.uuid);
> ```

## Get a wallet

> [tab] CLI
>
> ```bash theme={null}
> caw wallet get
> ```

> [tab] Python SDK
>
> ```python theme={null}
> wallet = await owner_client.get_wallet(wallet_uuid)
> print(wallet["name"], wallet["status"])
> ```

> [tab] TypeScript SDK
>
> ```typescript theme={null}
> const wallet = (await walletsApi.getWallet(walletUuid)).data.result;
> console.log(wallet.name, wallet.status);
> ```

## List wallets

> [tab] CLI
>
> ```bash theme={null}
> caw wallet list
> ```

> [tab] Python SDK
>
> ```python theme={null}
> wallets = await owner_client.list_wallets(limit=50, offset=0)
> ```

> [tab] TypeScript SDK
>
> ```typescript theme={null}
> const wallets = (await walletsApi.listWallets(undefined, undefined, 0, 50)).data.result;
> ```

## Update wallet metadata

> [tab] Python SDK
>
> ```python theme={null}
> from cobo_agentic_wallet_api.models.wallet_update import WalletUpdate
>
> await owner_client.update_wallet(
>     wallet_uuid,
>     WalletUpdate(name="Main Treasury", metadata={"region": "us-east"}),
> )
> ```

> [tab] TypeScript SDK
>
> ```typescript theme={null}
> await walletsApi.updateWallet(walletUuid, {
>   name: 'Main Treasury',
>   metadata: { region: 'us-east' },
> });
> ```
