Structs§
- AddNumbers
Request - AddNumbers
Result - Agent
Event Builder - Agent
Trace - A recorded agent event stream (as seen by an
AgentObserver), with assertion helpers for trace-shaped tests. Build one withTestAgentBuilder::run_trace. - Divide
Numbers Request - Divide
Numbers Result - Fake
Agent Observer - In-memory
AgentObserverthat records every event it receives, for asserting on the stream an agent emits. - Fake
McpServer - A fake MCP server for testing
- Slow
Tool Request - Slow
Tool Result - Test
Agent Builder - Test
Agent Result - Result of running a test agent, including messages and captured contexts.
Functions§
- agent_
event - content_
events - drain_
until - fake_
mcp - fake_
mcp_ with_ proxy - map_
event_ names - Maps trace-relevant events to compact names for order assertions, skipping content messages.
- mcp_
instructions - test_
agent