Kane CLI for coding agents
Kane CLI for AI coding agents: test every change in a real browser.
Kane CLI lets AI coding agents test their own changes. Claude Code, Codex CLI, Gemini CLI, Cursor and Copilot call one command, Kane CLI drives a real browser, and the agent gets an exit code and an evidence file to act on before it opens a pull request.
Free to install. 10,000 free Kane CLI credits, valid for 30 days.
- Built for
- Developers
- Coding agents
- Platform teams
- SDETs
- ›agentedits src/auth/login.tsxDONE
- ›kane-clireal Chrome · 5 stepsPASS
- ›kane-cliexit 0 · criteria metPASS
- ›agentopens PR with evidence linkDONE
Trusted by 3M+ users globally at
"We have tripled our tests and are now executing tests in less than 2 hours with 78% Faster Test Execution"
"We figured out a more efficient way to monitor system health and resolve failures earlier in lower environments."
"TestMu AI has significantly boosted our testing speed, is easy to implement, and provides exceptional support."
"With 70% faster test execution, TestMu AI helped us achieve faster time-to-market and enhanced CX."
Kane CLI for coding agents, in brief
Free to install; runs use KaneAI credits. Start with 10,000 free Kane CLI credits, valid for 30 days · No separate paid plan: Kane CLI runs use KaneAI plan credits (Starter from $17/month, billed annually).
- Works with
- Claude Code, Codex CLI, Gemini CLI, Cursor, Copilot
- Install
npm install -g @testmuai/kane-cli- Agent contract
- Exit code plus a .evidence file per run
- Repeat runs
- Saved tests can be re-run from the command line or CI
- Agent docs
- llms.txt and AGENTS.md snippets for each coding agent
- Pricing
- Free to install; runs use KaneAI credits (10,000 free for 30 days)
Your coding agent asks, Kane CLI verifies
Add Kane CLI to the agent
Install the CLI and paste the AGENTS.md snippet so the agent knows when to call it.
The agent tests its change
After editing code, the agent runs a plain-English check in a real browser.
Act on the exit code
Exit 0 lets the agent continue; a failure returns evidence the agent can read and fix.
What the agent gets back from each check
One command
kane-cli run with a sentence of intent; no test code to write.
Machine-readable result
Exit codes and an evidence file the agent can parse.
Real browser, not a guess
Each check drives Chrome locally or on TestMu AI cloud browsers.
Cached replay
Unchanged steps replay from cache with no LLM cost.
Guides per agent
Setup notes for Claude Code, Codex CLI, Gemini CLI and Cursor.
Evidence in the PR
Reviewers open the evidence to see every step and screenshot.
An agent that ships unchecked vs one with a test step
npm install -g @testmuai/kane-cli
kane-cli login
kane-cli run "Sign in with a valid user and land on the dashboard" --agent --headless --timeout 180Commands as shown on the live Kane CLI for coding agents page.
| What matters | Agent without a test step | Agent with Kane CLI |
|---|---|---|
| Knows the change works | Only if unit tests cover it | A real-browser check passes or fails |
| What the agent reads | Its own diff | Exit code and evidence of the run |
| Reviewer's proof | The PR description | Evidence file with screenshots |
| Cost of reruns | None, nothing runs | Unchanged steps replay from cache with no LLM cost |
More ways to test agent-written code
- Kane CLIPlain-English checks as a CI step
- Browser CloudCloud browsers for AI agents
- Agentic TestingWhat changes when agents run the tests
- Playwright TestingRun Playwright suites on the cloud
- Web Automation AgentWeb automation testing with Kane CLI
Related pages
Docs and guides
More Reasons to Love TestMu AI
TestMu AI is a leading agentic AI quality engineering platform, trusted globally, that assures your AI deployments work as intended, safely and securely, across enterprise and real-world conditions.
Users
3M+
Tests
1.5B+
Enterprises
18K+
Countries
132
TestMu AI positioned as a Leader in the 2026 Gartner® Magic Quadrant™
Read ReportTestMu AI recognized in The Forrester Wave™: Autonomous Testing Platforms, Q4 2025
Read ReportWall of Fame
TestMu AI is the #1 choice for SMBs and enterprises across the globe.

Enterprise-Grade Security
We safeguard your data and AI systems with global security, privacy, responsible AI, and ESG standards.

Integrations
Works where you work, 120+ integrations with the tools your team relies on.

As Seen On
Questions from teams using coding agents
How does a coding agent use Kane CLI?
The agent calls kane-cli run with a plain-English check after changing code. Kane CLI drives a real browser and returns an exit code and an evidence file.
Which coding agents are supported?
Claude Code, Codex CLI, Gemini CLI, Cursor and Copilot can call Kane CLI from their terminal.
Does every run call an LLM?
No. The first run works out the path. When you save it as a test, its unchanged steps replay from cache with no LLM cost; a step that broke because the page changed is re-authored.
What does Kane CLI cost for agent use?
Kane CLI is free to install. Runs use KaneAI credits; you can claim 10,000 free Kane CLI credits valid for 30 days.
How is this different from a browser tool for agents?
A browser tool lets an agent act on a page. Kane CLI verifies the change against acceptance criteria and returns a verdict with evidence.
Add a test step to your coding agent
Free to install. 10,000 free Kane CLI credits, valid for 30 days.