// For Claude Code · Codex CLI · Gemini CLI · Cursor · GitHub Copilot

Kane Exploration for AI coding agents: explore the whole app you just changed

Your agent wrote it. Kane explores it. After a change, the agent runs one command on the running app: Kane's browser agents explore it in parallel, map its screens and flows, and report issues with browser evidence.

Install, sign in, then add the skill

Another agent? Paste this into it instead

A coding agent explores a preview after a change
● Edited src/checkout/Payment.tsx● Exploring the preview in real browsers $ kane-cli explore run --project <id> \    --url https://preview-482.acme.dev \    --policy read_only screens  15 in 4 business areasflows    21 mapped, 2 brokenissues   62 with evidence, 20 high $ kane-cli cover use cases   8 writtentest cases  23 to review

// Kane Exploration for coding agents

Short answer

A coding agent checks the change it just made. Kane Exploration explores the whole running web app, independently of the agent that wrote the code, and flags issues nobody asked it to look for. It starts from one URL, needs no test scripts and no assertions, and turns what it explored into test design.

// Agent setup: skill or AGENTS.md

Set up Kane Exploration in your coding agent

Every agent runs the same kane-cli commands. Agents that load skills get the Kane CLI skill. Any other agent that can run a terminal command can be pointed at the AGENTS.md file.

# once per machine$ npm install -g @testmuai/kane-cli$ kane-cli login$ npx @testmuai/kane-cli-skill # confirm you are signed in$ kane-cli whoami # then just ask> explore the preview and tell me what is broken

Skill or AGENTS.md

The skill gives your coding agent the Kane CLI commands. With AGENTS.md, the agent reads the same instructions from a plain-text file: when to explore, the command to run, the safety rules and how to report back.

// The exploration loop

Five steps a coding agent runs with Kane Exploration

  1. 1 · change

    Change the code and get the app running

    A preview URL, a staging URL or a local app. Kane explores live and local web apps.

  2. 2 · explore

    Run one exploration

    kane-cli explore run --project <id> --url <url> --policy read_only
  3. 3 · read

    Read what came back

    The screens Kane found, the flows that connect them, and the issues with their evidence. kane-cli explore view opens the map.

  4. 4 · fix

    Fix and explore again

    A new run shows new screens, changed flows and the issues that are back.

  5. 5 · cover

    Turn the map into test design

    kane-cli cover derives use cases, acceptance criteria and linked test cases. A person reviews them before any test runs.

// Outputs

What an exploration returns

Each issue names the screen and the flow where Kane saw it and carries browser evidence, such as the recorded clip, the failed request or the console error.

Checked on every screen

  • Console errors
  • Failed network requests
  • Broken links
  • Slow requests
  • Accessibility issues
What a Kane Exploration run returns
OutputWhat it is
ScreensEvery screen Kane could reach, grouped into business areas.
FlowsThe user journeys that connect the screens, shown on one map. Each flow is marked verified, changed, broken or not yet verified.
IssuesRanked high, medium, low or info, in seven categories: broken, accessibility, performance, UX, could not explore, safety and changed. Each one is linked to its screen and flow.
EvidenceA recorded clip, a step timeline, network and console logs, the element involved, and a screenshot with the target marked.
The map viewerkane-cli explore view opens the Explorer in your browser with Graph, Table and Activity views. While a run is in progress it shows the browsers live.
Test designBusiness entities, use cases, acceptance criteria and linked test cases, derived from the explored flows.

// Limits

Limits an agent should know

Kane covers breadth: every screen it can reach within the run limits. A person decides which flows need deeper tests.

Run length

A run ends when nothing is left to explore, or at one hour, 400 actions or 800 model calls. From Kane CLI you can also set your own cap.

Parallel browsers

Up to 20 browsers explore in parallel, each on a different screen or flow.

Platform

Web applications. Mobile apps are not supported yet.

Sign-in

Kane stops at a login it has no account for. Add a test account to cover the screens behind it.

// Safety rules

Rules a coding agent follows when it explores

Pass the read-only policy

Kane CLI allows changes by default. With --policy read_only, Kane blocks POST, PUT, PATCH and DELETE requests.

Read-only is not a guarantee

Blocking those requests does not make every interaction free of side effects. Review the policy before exploring a sensitive environment.

Use a test account

Never a real user's credentials. Kane masks the password in logs and evidence.

Treat an issue as a lead

It stays open until a person reviews it and promotes it to a bug, discards it or marks it resolved. Kane does not know your business rules, so it cannot judge those on its own.

Exploration designs tests

It does not run them. Report exploration, issues and test design separately from test execution.

Never guess a URL

Ask the user for the project and the URL. Do not write credentials into files, commit messages or logs.

// llms.txt and AGENTS.md

Kane Exploration llms.txt and AGENTS.md for agents

This page has plain-text companions an agent can fetch directly. The llms.txt file says what Kane Exploration is, the commands and the facts. The loop, the safety rules and how to report back are in AGENTS.md.

www.testmuai.com/kane-exploration/llms.txt
# Kane Exploration

> Kane Exploration is the agentic exploration capability of Kane, the testing agent from TestMu AI (formerly LambdaTest). From a single URL, parallel browser agents explore a running web application, map its screens and flows, and report issues with browser evidence. The explored map becomes test design: use cases, acceptance criteria and linked test cases. Exploration designs tests and does not execute them.

## Start

- [Kane Exploration](https://www.testmuai.com/kane-exploration/): what it does, how it works, examples and FAQ
- [Kane Exploration for AI coding agents](https://www.testmuai.com/kane-exploration/agents/): setup, the exploration loop, outputs, limits and safety rules
- [AGENTS.md](https://www.testmuai.com/kane-exploration/AGENTS.md): instructions for a coding agent

## Commands

- Install: `npm install -g @testmuai/kane-cli`
- Add the skill: `npx @testmuai/kane-cli-skill`
- Sign in: `kane-cli login`
- Explore: `kane-cli explore run --project <id> --url <url> --policy read_only`
- Open the map: `kane-cli explore view`
- Design tests from the map: `kane-cli cover`

## Facts

- Input: the URL of a running web application, live or local. A test account is optional and needed for screens behind sign-in.
- Output: screens grouped by business area, flows between screens, issues ranked by severity with evidence, and test design.
- Checks on each screen: console errors, failed network requests, broken links, slow requests, accessibility issues.
- Issue categories: broken, accessibility, performance, UX, could not explore, safety, changed. Severities: high, medium, low, info.
- Issue statuses: open, bug, resolving, resolved, discarded. A person sets them.
- Flow statuses: verified, changed, broken, not yet verified.
- Evidence per issue: recorded clip, step timeline, network log, console log, the element, and a screenshot with the target marked.
- Viewer: the Explorer shows the map in Graph, Table and Activity views, and the browsers live while a run is in progress.
- Limits: a run ends when nothing is left to explore, or at one hour, 400 actions or 800 model calls. Up to 20 browsers in parallel.
- Read-only policy: blocks POST, PUT, PATCH and DELETE. Kane CLI allows changes by default, so pass `--policy read_only`.
- Platform: web applications. Mobile apps are not supported yet.
- An issue is a lead with evidence. It stays open until a person reviews it.

## Related

- [Kane CLI](https://www.testmuai.com/kane-cli/): run browser checks from the terminal
- [Kane CLI for AI coding agents](https://www.testmuai.com/kane-cli/agents/): test one change in a real browser
- [KaneAI](https://www.testmuai.com/kane-ai/): the testing agent in the browser

AGENTS.md

www.testmuai.com/kane-exploration/AGENTS.md
# Kane Exploration: instructions for coding agents

Use Kane Exploration when you need to know what a whole running web app does after a change, not only whether one change works. It explores the app in real browsers, maps screens and flows, and reports issues with evidence.

## When to use it

- After a change is deployed to a preview, staging or local URL, to find broken flows, failed requests and accessibility issues across the app.
- On an app with no documentation or tests, to get its screens, flows and a first test design.
- Before a release, to see new screens, changed flows and issues that are back.

Use `kane-cli run` instead when you only need to verify one specific behaviour.

## Setup

1. `npm install -g @testmuai/kane-cli`
2. `kane-cli login`
3. `kane-cli whoami` to confirm you are signed in. If this fails, stop and ask the user to sign in.

## Explore

```
kane-cli explore run --project <id> --url <url> --policy read_only
```

- Always pass `--policy read_only` unless the user tells you the environment is safe to change. Kane CLI allows changes by default. Read-only blocks POST, PUT, PATCH and DELETE requests.
- Ask the user for the project id and the URL if you do not have them. Do not guess a URL.
- For screens behind sign-in, ask the user for a test account. Never use a real user's credentials. Do not write credentials into files, commit messages or logs.
- A run ends when nothing is left to explore, or at one hour, 400 actions or 800 model calls.

## Look at the result

```
kane-cli explore view
```

This opens the Explorer in the browser: the map (Graph), the Table of screens, flows and issues, and the Activity feed. While a run is in progress it shows the browsers live.

## Report back

Tell the user, in this order:

1. How many screens and flows were found, and which business areas they fall into.
2. The issues, highest severity first (high, medium, low, info), with their category: broken, accessibility, performance, UX, could not explore, safety or changed. For each: what happened, the screen and flow, and the evidence (the clip, the network or console log, or the screenshot).
3. The flows that are broken or changed.
4. What Kane could not reach, for example screens behind a login with no test account.

An issue is a lead, not a confirmed bug. Say so. A person promotes it to a bug, discards it or marks it resolved. Do not change an issue's status yourself.

## Design tests

```
kane-cli cover
```

This derives use cases, acceptance criteria and linked test cases from the explored screens and flows. It designs tests. It does not run them. Keep exploration, issues and test design separate from test execution in your report, and ask the user before running any test.

## Limits

- Web applications only. Mobile apps are not supported yet.
- Kane stops at a login it has no account for.
- Up to 20 browsers explore in parallel.
- Read-only does not guarantee that every interaction is free of side effects. Flag this before exploring a sensitive environment.

Coding agents and Kane Exploration: common questions

My coding agent already drives a browser. Why use Kane Exploration?

Your coding agent checks the change it just made. Kane explores the whole running app and is independent of the agent that wrote the code. It also flags issues nobody asked it to look for.

Can I run Kane Exploration from Claude Code, Cursor or Codex?

Yes. Install @testmuai/kane-cli and give your coding agent the Kane CLI commands. After a change it can run kane-cli explore run and kane-cli cover, then summarise the application map and the issues.

How is this different from kane-cli run?

kane-cli run verifies one objective you state in plain English. Exploration needs no objective. It starts from a URL, discovers the screens and flows on its own, and reports what it finds.

Does Kane modify the application while exploring?

Kane CLI allows changes by default. Pass --policy read_only and Kane blocks POST, PUT, PATCH and DELETE requests. That does not guarantee every interaction is free of side effects, so review the policy before exploring a sensitive environment.

Is every issue a real bug?

No. An issue is a lead with evidence attached. It stays open until a person reviews it and decides whether it is a real bug.

How long does an exploration run?

A run ends when the agents have nothing left to explore or when it reaches a built-in limit: one hour, 400 actions or 800 model calls. From Kane CLI you can also set your own cap.

I already have a Playwright suite. Why explore?

A scripted suite checks the flows someone wrote assertions for. Exploration maps the screens and flows the suite never touched. The two work together.

Does it work on mobile apps?

Not yet. Kane Exploration works on web applications today.

// Start

Explore your app from your agent

Install Kane CLI, sign in, add the skill or point your agent at AGENTS.md, then run one exploration on your preview URL.

Open Kane Exploration