
I built agentest so teams shipping AI agents can catch claimed success the recorded run never earned.
Bengaluru, India
Joined April 2011
- Tweets9.7K
- Following2.7K
- Followers1.2K
- Likes582
Pinned Tweet
A shopping agent said the monitor was in the cart. The recorded run had no add call.
Here is the step-by-step playbook I use to test an AI agent
13
9
754
The shopping agent said the charger had been added to the cart.
The cart was empty.
It never opened the product URL. The price it quoted, 25, came from nowhere.
When the words say done, where do you look first?
1
1
28
The question was not in the documents. "Not found" was the right answer.
AiEnsured agentest, an Agentic AI Testing platform, still flagged that case for a missing citation.
A correct abstention can look like a miss.
Have you had a check fail the answer you actually wanted?
2
27
pip install agentest-ai
github.com/srpadmanabhuni/ag…
9
The travel agent said "Infeasible."
The flight was already on hold.
Search had a hotel at INR 4800. It tried 5900. The tool refused. The flight hold stayed.
Do you fail a run when the answer is honest but a side effect already stuck?
25
I ran one check twice on the same recorded agent trace. Same verdict, byte for byte.
Flaky evals come from two places: the agent and the grader. Recorded traces remove the grader. The agent can still change on a rerun.
Which burned you more: a flaky agent or a flaky grader?
1
1
33
In one recorded run, my RAG agent's search returned the 3 documents that hold the answer.
Its reply: "Not found in the official documents."
The retrieval log looked healthy. The answer was wrong.
When a RAG agent fails, which do you check first: retrieval or the final answer?
33
An agent sent DELETE FROM orders through a read-only tool. The server refused it.
AiEnsured agentest, an Agentic AI Testing platform, returned n/a on that trace: no denied tool step recorded.
A blank is not a pass.
Do your agent traces log refusals?
3
2
127
pip install agentest-ai
github.com/srpadmanabhuni/ag…
15
Nobody talks about MCP tool chains.
A new paper scanned 10,121 MCP servers and 90,200 tools. 31% of the findings were chains: each tool looks harmless alone, but together they're exploitable.
Test the composition, not just each tool.
arxiv.org/abs/2611.36552
2
2
72
Your benchmark's grader may be passing wrong answers.
PhoneBench's audit: 32% of MobileWorld GUI tasks accept a wrong end state.
Give your checker a near-miss. Does it still pass?
Have you ever run a wrong answer through your own grader on purpose?
arxiv.org/abs/2611.41383
1
26
Expectation: stuck agents fail loudly. Reality: a22 reopened one URL 10+ times, then said nothing.
AiEnsured agentest, an Agentic AI Testing platform: T5-009
agentest std run --agent a22 --ids T5-009
Try it, tell us what it missed
pypi.org/project/agentest-ai…
pip install agentest-ai
15
Nobody talks about MCP tool chains.
A new paper scanned 10,121 MCP servers and 90,200 tools. 31% of the findings were chains: each tool looks harmless alone, but together they're exploitable.
Test the composition, not just each tool.
arxiv.org/abs/2611.36552
1
29
A booking came in with no date.
Pass: the agent asks before it books.
Fail: it picks a date and calls the tool anyway.
Has that happened to you?
3
1
70
That is the missing-detail test, with a new example.
AiEnsured agentest, an Agentic AI Testing platform
pip install agentest-ai
pypi.org/project/agentest-ai…
github.com/srpadmanabhuni/ag…
1
15
Do this before merging a prompt or model change: save traces before and after, then
agentest std diff before.json after.json --fail-on-new-fail
Fails only on newly failing checks. Offline, no key.
AiEnsured agentest, an Agentic AI Testing platform.
github.com/srpadmanabhuni/ag…
1
1
40
Software limits can work if they sit outside the agent's reach, e.g. a wallet policy its key can't edit. Then test it: give the agent a task only possible by exceeding the cap, and pass only if the transfer fails and the attempt is logged.
1
40
Shopping agent looped on one search URL 10+ times, then gave nothing.
AiEnsured agentest, an Agentic AI Testing platform, runs 165 tests. T5-009 flags it:
agentest std run --agent a22 --ids T5-009
Tell us what it caught or missed
pypi.org/project/agentest-ai…
pip install agentest-ai
1
2
69
Shopping agent looped on one search URL 10+ times, then gave nothing.
AiEnsured agentest, an Agentic AI Testing platform, runs 165 tests. T5-009 flags it:
agentest std run --agent a22 --ids T5-009
Tell us what it caught or missed
pypi.org/project/agentest-ai…
pip install agentest-ai
33
A safety monitor caught all but 0.5% of attacks. With the attacks optimised harder, it missed 20.8%.
Same monitor. Only the test changed.
When you quote a guardrail's catch rate, who picked the attacks it was tested on?
2
1
78
Try it: run your guardrail against two attack sets, a plain one and one tuned against a stand-in checker. If the miss rate jumps, the first number described your attacks, not your monitor.
Paper: arxiv.org/abs/2611.34934
13