# Test an agent

Test a custom agent before adding it to a crew, channel, or recurring workflow.

![Test an agent](https://www.foxora.ai/docs/images/v5.0.8/reference/agent-editor.webp)

*Studio interface in English. Sample data.*

## Run a focused test

1. Open the custom agent and go to `Models`.
2. Enter a small `Test prompt` with an observable answer or artifact.
3. Select `Save & run`. This saves the current configuration before executing the test.
4. Read the returned response or the `Test run failed` message.
5. Repeat with a boundary case that should require an approval, refuse an action, or ask for missing context.

## Expected result

The agent completes the normal case with the intended capabilities and handles the boundary case according to its permissions. After that, run it once from a fresh task; the embedded test alone does not verify crew or channel routing.
