AIENSURED · AGENTIC AI TESTING

agentest: test what your AI agent actually did, not what it said

An AI agent can report “Done” while the refund failed, the wrong tool ran, or an approval was skipped. agentest checks recorded runs against a library of rule-based tests.

Rule-based

Deterministic tests, no LLM judge

Offline

No API key, model or network needed

Apache 2.0

Free, open source, Python 3.11+

The checks flag problems visible in the evidence you supply; they are not a guarantee of agent behaviour.

What it catches

01  Tool calls

Unauthorized or off-list tool calls

02  Prompt injection

Prompt injection in a recorded run

03  Success claims

Success claims the run never earned

04  Approvals

Writes and payments without confirmation or approval

05  Role & authority

Role and authority problems after a handover

06  Privacy

PII leaks

How it fits your stack

Traces & standards

OpenTelemetry GenAI traces, A2A AgentCards and MCP tool lists.

Log importers

OpenAI Agents SDK, LangGraph, AutoGen, smolagents and n8n logs.

CI gate & reports

Non-zero exit on failure; JUnit, SARIF, JSON, HTML, Markdown and CSV.

Your agent does not need to import agentest.

Try it in 60 seconds

pip install agentest-ai
agentest demo

The bundled sample writes without confirmation, deletes a user after a role downgrade and disburses funds without approval.

agentest names each failed check, e.g. T5-007, T3-007 and T2-004 (shown above).

From AiEnsured

agentest is an open-source tool created by Dr. Srinivas Padmanabhuni. AiEnsured can run it on your existing agent, or work with you to build and verify a new one.

Want your agent checked?

Send a sanitized or redacted trace, with no personal or production-sensitive data.

AIEnsured is honored to be recognized in the Forbes India 200 DGEMS

X