Overview of Monocle Test Tools features
mainMonocle Test Tools is a framework for validating AI agent tracing. Key capabilities include:
- Trace-based Testing: Automatically generate test code from trace files and perform offline testing against pre-recorded trace JSON files.
- Agent & Tool Validation: Verify agent invocations, task delegation, and ensure tools are called with correct inputs and produce expected outputs.
- Response & Inference Testing: Validate agentic responses and model inference against expected content, including integration with Okahu or custom evaluation tools.
- Performance & Quality Metrics: Verify token usage, duration limits, error states, and warnings.
- Developer Experience: Use a fluent API for chained assertions, mock tools to avoid external dependencies, and a declarative API (
@monocle_testcase) to describe runs as data.