agentest

How-to: LangGraph · CrewAI · OpenAI Agents SDK · AutoGen · smolagents · n8n · MCP

How-to · OpenAI Agents SDK · also markdown in the repository

How to test OpenAI Agents SDK agents with OpenTelemetry and agentest

Source code, tutorials and issues: github.com/srpadmanabhuni/agentest · PyPI: agentest-ai

agentest (agentest-ai) — deterministic OpenTelemetry evals for AI agents. It scores recorded traces, not your agent code. There is a built-in openai_agents import dialect for exported run items, and recorded Agents SDK runs ship in this repository.

pip install agentest-ai

Try it on a recorded Agents SDK run

The folder agents/a05/ is a recorded support-desk run. No API key, no network, no model:

agentest std run --agent a05 --ids T2-001,T2-002,T2-013 --format md

On agentest 3.5.0 those three checks fail because the AgentCard declares lookup_order as a prerequisite of request_refund, and in two recorded cases the agent called request_refund first. That is a single recorded run, not a failure rate, and not a verdict on the SDK.

Judge your own runs

A. Export OpenTelemetry GenAI spans (preferred).

agentest std run --otlp traces.otlp.jsonl --card agent-card.json --tools tools.json

B. Import recorded run items with dialect openai_agents, then agentest std run. The importer is covered by tests/test_import_openai_agents.py.

The full guide is docs/integrations/openai-agents-sdk.md.

Other frameworks

LangGraph · CrewAI · AutoGen · smolagents · n8n · MCP

Code: agentest open-source agentic evals.