<!-- tempo-docs-context -->
> Source: [/docs/resources/guides/set-an-agent-spending-limit](https://tempo.xyz/developers/docs/resources/guides/set-an-agent-spending-limit.md)
> Section: [Get Started](https://tempo.xyz/developers/get-started.md). Choose a starting point, send a test payment, get testnet funds, connect a coding agent, find the SDKs and CLI, and use the resource guides to plan payment workflows, liquidity, provider selection, and partner integrations.
> [Documentation index](https://tempo.xyz/developers/llms.txt) · [Docs skill](https://tempo.xyz/developers/SKILL.md)

> Tempo MCP: Use `search`, `find_pages`, `read_page`, and `code` at `https://mcp.tempo.xyz` for Tempo and related documentation.
> If an indexed page is missing or reflects an older site, read this site’s [documentation index](https://tempo.xyz/developers/llms.txt) and Markdown pages directly.

[Guides](https://tempo.xyz/developers/docs/resources/guides) / [Use Tempo](https://tempo.xyz/developers/docs/resources/guides#use-tempo) / Set an agent spending limit

# Set an agent spending limit

Let an agent pay from your account, up to an amount you approve.

## Overview

When an app or agent asks to pay from your Tempo Wallet, you approve an access key for it. Tempo enforces the key's limits on every transaction. The agent can't spend past them, whatever it decides to do.

An access key has three limits:

* **Spending limit.** How much it can spend, such as $20 per day.
* **Expiry.** When it stops working, such as in 30 days.
* **Scopes.** Which actions it can take.

## Review the approval screen

The **Authorize App** screen shows what the app will be able to do:

| Line | Meaning |
| --- | --- |
| **Spend $X per day** | The most it can spend before the limit resets. |
| **Spend any amount** | No spending limit. Approve this only for apps you fully trust. |
| **Pay network fees up to $X** | A separate budget for transaction fees. |
| **Hold funds for services** | Money set aside for pay-as-you-go services. |
| **Expires in…** | When the key stops working. |
| **This app can take other actions** | It can make calls beyond payments. Select **Show** to see them. |

## Lower the limits

:::steps
### Edit the permissions

Select the pencil icon to open **Edit Permissions**.

### Change the amount or expiry

Lower the **Spend limit**, or pick an expiry: **7 days**, **30 days**, **365 days**, or **No expiry**. You can only reduce what the app asked for.

### Approve

Select **Save changes**, then **Approve**.
:::

## Raise or revoke a limit

An app can ask for a higher limit later. You see an **Update spend limit** screen and approve or reject it.

To stop an agent, sign in to Tempo Wallet with your passkey and open [wallet.tempo.xyz/apps](https://wallet.tempo.xyz/apps). Expand the app to see each key's remaining limit and expiry. Select **Revoke** on a key, or **Disconnect** to revoke all of the app's keys. A key also stops working when its expiry passes.

## Related

[Connect Tempo Wallet to an app](https://tempo.xyz/developers/docs/resources/guides/connect-tempo-wallet-to-an-app): Sign in to apps and agents.

[Spending limits](https://tempo.xyz/developers/docs/accounts/access-keys/spending-limits): How Tempo enforces access key limits.

[Give an agent a wallet](https://tempo.xyz/developers/docs/accounts/automations/give-an-agent-a-wallet): Build agent spending limits into your app.
