# Set and test spending controls for AI agents

Decide where each spending cap is enforced, match caps to the failures they stop, run five refusal tests and keep the logs, revoke steps and review date a team needs.

- Level: Specialist
- Length: 60 minutes
- Exam questions: 10, pass mark 80%, up to 3 attempts
- Certificate: valid for 12 months

## What you will learn

- Tell a real cap from a request in a prompt, and say where each cap is enforced.
- Match six failure modes to the controls that limit them.
- Run five refusal tests on a test balance and record each result with a date.
- Define the log fields, the revoke steps and the review date for an agent's wallet.

## Lessons

1. [Where a cap is enforced](https://agentwalletindex.fyi/academy/test-agent-spending-controls/where-a-cap-is-enforced.md) (12 minutes)
2. [Failures and the controls that stop them](https://agentwalletindex.fyi/academy/test-agent-spending-controls/failures-and-the-controls-that-stop-them.md) (12 minutes)
3. [Run the five refusal tests](https://agentwalletindex.fyi/academy/test-agent-spending-controls/run-the-five-refusal-tests.md) (14 minutes)
4. [Logs, revoke steps and review](https://agentwalletindex.fyi/academy/test-agent-spending-controls/logs-revoke-and-review.md) (12 minutes)

## Questions

### Is this a security course?

No. It covers spending controls for agent payments. It does not replace a security review, an audit or legal advice.

### Do I need a vendor account to follow the lessons?

No. You need one to run the tests in lesson 3. Use a test balance that you can afford to lose.

### What does the certificate of completion mean?

It is a certificate of completion from this site. It records that you passed the exam. It does not rate any wallet or any person.

Also on the [web page](https://agentwalletindex.fyi/academy/test-agent-spending-controls).
