understudy
A testing framework that verifies AI agent behavior using multi-turn scenarios and execution traces.
What does it do?
Understudy runs scenarios against an agent through an app adapter and records structured traces. Developers can evaluate conversational agents and multistep autonomous tasks with deterministic checks and optional LLM judging. Tools that call external services can be mocked, and developers can run multiple scenarios repeatedly or evaluate existing traces separately. Checkpoint restoration or state injection lets them run and verify only the next turn after a chosen point in a conversation.
Key features
- Persona-based multi-turn conversation simulation
- Execution traces of messages, tool calls, and handoffs
- Deterministic checks and optional LLM judging
- Next-turn verification through checkpoint restoration and state injection
- Tool mocking and batch scenario execution
