Rook CLI: Agent Assurance in Your Terminal

Test how your agents actually behave across workflows, tools, and actions. Catch failures and vulnerabilities before they ship. Build better agents with complete assurance.

npm install -g @testmuai/rook@latest

Agent Assurance by TestMu AI: test your AI agents across workflows, tools and actions | Product Hunt

Trusted by 3M+ users globally at

Microsoft
OpenAI
Nvidia
Boomi

"We have tripled our tests and are now executing tests in less than 2 hours with 78% Faster Test Execution"

Hrishi Potdar, Quality Engineering Architect

Boomi
GitHub
Best Egg

"We figured out a more efficient way to monitor system health and resolve failures earlier in lower environments."

Tenny, Engineering Operations Lead

Best Egg
Workday
Akamai
Louis Vuitton
NBCUniversal
City Furniture

"TestMu AI has significantly boosted our testing speed, is easy to implement, and provides exceptional support."

Nicholas Paulsen, Senior Quality Engineer

City Furniture
Cox
Transavia

"With 70% faster test execution, TestMu AI helped us achieve faster time-to-market and enhanced CX."

Daniel de Bruijn, Quality Assurance Automation Engineer

Transavia
Estée Lauder
TripAdvisor
boohoo

From the maker comment

Why Did TestMu AI Build Agent Assurance?

AI agents now edit code, update CRM records, and push changes into live systems. Most teams still check that work by reading what the agent reports back, and the agent wrote that report. Say an agent tells you it qualified a lead and assigned it to sales, but it only changed the lead's status. Its log reads like a success.

So we built Agent Assurance to check what actually changed.

Adapted from the maker comment by Jay Singh, Co-Founder, TestMu AI

Read Jay's maker comment on Product Hunt

Agent Assurance Graded on Evidence

Agent assurance is agents testing agents, in three steps: Observe, Eval and Assure. Rook CLI observes what your AI agent actually changed in tools, files and APIs, not what it says it did, evals each run against a suite built from your code or docs, and assures the release with a verdict that names anything it could not verify. Agent Assurance is self-serve, with a 7-day free trial and 10,000 Agent Assurance credits.

Scenario SC-018 under test: the agent replies that the Discord bot is not configured and the message could not be sent, while the tool call Rook CLI recorded shows it was sent to user:alex, and the verdict reads FAIL

Grade the effect, not the account

An agent's account of what it did is the weakest evidence available about what it did. It is the one party with a reason to be wrong.

Terminal run summary: 12 of 38 scenarios executed, 29 percent passed of the 7 decided, 2 passed, 5 failed, 26 never run and 1 that could not run against this profile, each reported separately

Publish the blind spot

Anything Agent Assurance could not verify is reported as unverifiable. Never a quiet pass, never a guessed fail, never folded into the pass rate.

Tests written from your code or spec

Tests written from your code or spec

Point it at a repository, a PRD, or a folder of policy docs. It writes the scenarios for you, edge cases included, each with criteria graded on their own.

Attacks mapped to OWASP and MITRE ATLAS

Attacks mapped to OWASP and MITRE ATLAS

Prompt injection, jailbreaks, data exfiltration, and PII leakage are generated by default, each attack tagged with the OWASP and MITRE ATLAS entries it exercises.

Unverified results kept out of the pass rate

Unverified results kept out of the pass rate

Anything it cannot confirm is marked Unable to Verify and kept out of the pass rate. The share of criteria it could not verify is reported beside Verified pass as the Assurance gap.

Published test · 10 attacks · 2 judge builds

The newer judge stopped treating an unsupported claim as a breach and moved toward trace-backed confirmation.

Victor EmatinAI Quality Engineering Lead, Independent practice
Read the thread on LinkedIn
ON PRODUCT HUNT

Support Agent Assurance on Product Hunt

Run it against an agent you own, see what it catches, then share your feedback on Product Hunt and tell us what you want it to test next.

Agent Assurance by TestMu AI: test your AI agents across workflows, tools and actions | Product Hunt

From AI Evals to AI Assurance

Most eval and observability tools score what your agent said and recorded. Agent Assurance checks what the run changed, and reports what it could not verify.
sparkles

Top Choice

Features

Agent Assurance

AI eval tools

LLM observability

Test cases

From your code or spec
Written or synthesized
From production traces

Tool calls

Against declared tools
Against your lists
Logged, optionally scored

Side effects

Files, artifacts, probes
Scripted per task
Trace data only

Grading

Claimed actions aren't proof
LLM judge or code checks
LLM judge or human review

Adversarial tests

Generated by default
Add-on in some tools
Not generated

When it runs

Before release, in CI
CI and live traffic
Production, plus CI

Unverifiable results

Reported separately
Errors or opt-in skips
Left unscored

End-to-End Agent Assurance: From Code or Docs to a Verdict

Four phases, from a folder you own to a verdict you can take to a release meeting.

TestMu DISCOVERDISCOVER

Discover Your Agent From a Repo, PRD, or Docs

A repository, a PRD, or a folder of policy docs. Where an agent declares nothing, it says so.

  • Reads a codebase, a requirements doc, or both together
  • Asks local and remote MCP servers what tools exist
  • Undeclared fields come back unknown, never guessed
Agent definition derived from a codebase: the source kind, the eight repository files Rook CLI tracked, a subtree digest, the interface it inferred, and an empty examples field where the agent declared nothing

TestMu GENERATEGENERATE

Generate Functional and Adversarial Scenarios

Functional and adversarial scenarios, each carrying its own gradable criteria.

  • Scenarios derived from code, not authored by you
  • Adversarial family covers injection and tool misuse
  • The criterion is the unit of judgement, not the test
Generated suite in the Scenarios tab: scenarios listed with their feature, class, category and criteria count, including adversarial rows flagged policy violation

TestMu RUN AND JUDGERUN AND JUDGE

Run Your Agent and Judge What It Changed

The agent is invoked for real, and each criterion is judged against what actually changed.

  • Watches files, artifacts, and every tool call made
  • Checks calls against the agent's declared tool surface
  • Judges are told to verify without changing anything
A run in the terminal: three scenarios executed and judged, 0 passed and 3 failed, with scenario SC-033 open beside it showing the goal sent, the tool call Rook CLI recorded, the agent's reply and the reason it failed

TestMu REPORTREPORT

Report Verdicts as Pass, Fail, or Unable to Verify

Each verdict quotes the evidence it rests on, and the run states how much of the suite it never got to.

  • Pass, fail, and unable to verify are three verdicts
  • Unverified criteria are reported as the Assurance gap
  • Repeat failures cluster onto the criterion they share
Report output in the terminal: 12 of 38 scenarios executed, 29 percent passed of 7 decided, 2 passed, 5 failed, 26 never run, with credits, latency and the cluster of scenarios that failed on the same criterion

Getting started

Run Rook CLI Yourself or From Your Coding Agent

Two ways in, each one command.

Install the CLI

brew install lambdatest/rook/rook

npm install -g @testmuai/rook@latest

macOS, Linux, Windows x64, or WSLNode 20+ for npm onlyNo Docker

Start the free trial in the web app first, then sign in from the terminal, pick a project, and point it at your agent. The quickstart does the whole loop on a sample agent, and the install guide has the shell installer. The Rook CLI page covers every install route, the /rook skill, and CI.

Or drive it from your coding agent

npx @testmuai/rook-skill

Claude CodeCodex CLIGemini CLI+ 7 more

>Use rook to test my agent against its refund policy

The skill is not the CLI, so install both.

Either way the writes are real, so approve the target and the spend yourself, and point the first run at staging.

Start Free Trial
TestMu AIGoogle Antigravity

Now in the Google Antigravity Marketplace

Add the TestMu AI plugin to get the Rook CLI skill in Antigravity, then install Rook CLI.

See how to add it

Coverage

Continuous Agent Assurance: Six Test Types in One Suite

Start Free Trial

You do not pick a test type up front. One generated suite covers all of these, and each criterion is graded against the evidence it left behind.

Agent Functional Testing

Derived from your code or your spec, then graded per criterion against what changed, not against the reply.

Agent Regression Testing

Every run is compared with the last: the change in pass rate and the scenarios that newly fail or were fixed.

Agent Smoke Testing

The invoke profile is probed once with a trivial goal before a suite spends anything.

Agent Automation Testing

Discovery reads the agent, generation writes the scenarios, judges grade every criterion.

Continuous Agent Testing

Headless subcommands drop into your pipeline. Gate on a finished run and its verdicts, never on the exit status alone.

Adversarial Agent Testing

Prompt injection, instruction override, and tool misuse are generated as a first-class family.

Failing the build

Gate Releases in CI on Per-Criterion Verdicts

A failing run can hold your release in CI when you gate on the report's verdicts. Exit code 2 means a scenario failed, and 0 means none did, not that every criterion was verified.

0The run finished and no scenario failedUnable to Verify is not a failure
1The command failedRefused, unreachable, bad flags, or a run that never started
2The run finished and a scenario failedIncluding an attack that compromised the agent (Rook CLI 0.1.26 and later)
3Sign-in neededNot signed in, or the session expired
4Out of creditsNo credits left on the account

Gate on the report. Step one: confirm the run finished and covered every scenario you selected. A partial run still writes a report. Step two: read the per-criterion verdicts. Fail the build on those. Treat exit 1 as a broken command, not a failing agent. If a CI step stops on any non-zero exit, accept 2 so the gate still reads the report.

Start Free Trial

Agent Assurance for QA, Engineers, and Security

Engineers building agents

Engineers building agents

A generated suite in minutes without writing tests, plus a run-over-run comparison that shows which scenarios newly fail and which were fixed.

QA and test engineering

QA and test engineering

A unit of coverage that survives scrutiny. Criteria proved against evidence, and an explicit account of everything that was not checked.

Engineering leaders

Engineering leaders

Two numbers instead of one. Verified pass, which counts only passes and fails, and beside it the Assurance gap, the share of criteria nobody could verify, so you can see how much of the result was observed rather than inferred.

Platform and DevEx teams

Platform and DevEx teams

One assurance step that drops into CI for every agent your product teams ship, replacing a homemade eval script per repository.

Security and risk

Security and risk

Prompt injection and tool misuse become a repeatable test, with a recorded verdict when the agent is compromised. Each attack verdict rests on evidence from the run, such as quotes from the target.

Compliance and audit

Compliance and audit

Per-criterion evidence retained as plain files, an explicit record of what could not be verified on each run, and a full session transcript that stays on your machine unless you export it.

One Verdict in a Browser, a Terminal, and Your CI

Review the evidence in a browser, work in the terminal, and gate the build in CI.

The browser

The browser

A local viewer that reads the run off disk with no login, and a hosted view your team shares, with the call graph, versions and run history. Both are read-only: the CLI is what changes anything.

The terminal

The terminal

An interactive session for the engineer who owns the agent. Anything that spends shows you its plan and asks before it runs, so nothing is spent without your say-so.

Your CI pipeline

Your CI pipeline

Headless subcommands and one JSON document per run. Published gate recipes for GitHub Actions, Jenkins, and Argo CD check the run finished before they read a single verdict.

Install Rook CLI and Start Your 7-Day Free Trial

Install Rook CLI, start the trial from the Start Trial button in the Agent Assurance web app (7 days, 10,000 credits, and the Pro features), then sign in from the CLI. If it catches something your agent's own log missed, show us some support on Product Hunt.

Agent Assurance by TestMu AI: test your AI agents across workflows, tools and actions | Product Hunt

npm install -g @testmuai/rook@latest

Start Free Trial
Need SSO, an audit log, or an annual credit pool?

Frequently asked questions