Skip to contentSaltar al contenido
Kensa documentation

Use Kensa from your agent workspace

Have the coding agents an agent workspace starts ask Kensa for a review before they open a pull request, and see which workspace guides are verified.

An agent workspace starts coding agents on branches and worktrees of your repository. Kensa does not replace it: the agents it starts ask Kensa for a review through Kensa's MCP server, read the findings and fix what they agree with. The review runs on your own agent CLIs, and nothing is published to the code host. Each review spends your providers' usage: see What a review costs you and the runaway guard.

The pattern

  1. Register the kensa MCP server in each agent CLI the workspace launches, from Settings → Tools → MCP Access in Kensa Desktop, with kensa init --scope=user --yes, or with the install prompt for an agent Kensa cannot set up itself. --scope=user registers it for your user, as MCP Access does. Without it, kensa init --yes run inside a repository or one of its worktrees can also write a registration into that checkout.
  2. Make sure each worktree belongs to a repository Kensa knows: the clone you added to Kensa, or a worktree that clone lists with git worktree list. The agent runs from the worktree's top directory. Kensa refuses a subdirectory of a worktree and a worktree of another clone.
  3. The agent asks for a review before it opens the pull request, with review_options, start_review and get_review: put the instruction line in the agent's prompt.
  4. The agent reads the findings and fixes what it agrees with. It checks each finding against the code first: see A coding agent asks for a review.
  5. You see the same run in Kensa Desktop, marked Agent, in the findings panel of the pull request view or of Local review.

The instruction line

Put this line in the agent's prompt:

Before opening a PR, call Kensa `review_options` with target `branch`, then `start_review` with mode auto, wait with `get_review`, and address findings.

A branch review covers the commits of the agent's checkout, so the agent commits before it asks. PR creation is the workspace's own feature.

Other ways back to an agent

The agent that asked gets the findings from get_review. Kensa can also hand a review's findings to a new agent: Fix with agent in Kensa Desktop, or kensa review fix <runId> on macOS. That agent works in a worktree Kensa creates at the reviewed commit, never in the workspace's session or checkout: see Fix with agent.

Get the kensa command

kensa init and kensa review --run need the kensa command, which ships inside Kensa Desktop. On macOS, put it on your PATH once:

/Applications/Kensa.app/Contents/Resources/bin/kensa shell-install

It links ~/.local/bin/kensa to the copy inside the app, so an update keeps it current. If it warns that ~/.local/bin is not on your PATH, add that directory to it. kensa doctor then shows where the command points. On Windows and Linux this step is not verified.

Which guides are verified

A guide is verified when someone followed it word for word on a clean account, and a review the agent requested returned a run and its findings. A verified row names the operating system, the date, and the versions of the workspace and of each agent CLI it ran. A workspace's guide appears here only once it is verified.

WorkspaceVerifiedRecord
T3 Codenot verifiedNo guide.
Terminal sidebars (tmux, Zellij)not verifiedNo guide.
Orcanot verifiedNo guide.
Paradevnot verifiedNo guide.

Windows and Linux are not verified for any workspace. On each of them kensa init still applies the agent configuration that was measured on that system, and every other agent CLI there takes the install prompt.

Next step

Run reviews from your agent, your terminal and a schedule