Canary

Canary is an AI-powered test automation agent that transforms natural
language requirements into high-quality, framework-aware test code.
🚀 Features
- Intent Classification: Automatically detects if you need E2E, API, Unit,
or Performance tests.
- Framework Recommendation: Suggests the best-in-class tool (Playwright,
Vitest, Pytest, k6) based on your needs.
- Code Generation: Produces production-ready test scripts following industry
best practices.
- Test Intelligence: CI-readiness scoring, risk-based prioritization,
edge-case discovery, flake detection/healing, and fleet-wide health analytics
across suites — see Usage for the full catalog.
- CLI-First: Simple terminal interface for seamless developer workflow.
🛠 Installation
Canary installs from npm as canary-test-cli, and that is the only
registry it publishes to. There is no PyPI package and none is planned — the
engine has been TypeScript since v6.0.0, so pip and pipx have nothing to
install. Canary still generates Pytest suites; it just no longer runs on
Python itself.
Volta (recommended)
volta install canary-test-cli@latest
Puts canary on your PATH with the TypeScript engine bundled in. Volta handles
version pinning and per-project switching automatically.
Requires Node 22 or newer. Node 18 and 20 are both past end-of-life, and
the bundled engine is only ever built and tested on 22 — see
#559. No per-platform
build: the package is pure JavaScript with no os/cpu restrictions, so
Linux, macOS (Apple Silicon and Intel), and Windows all run the same artifact.
mise
mise use -g npm:canary-test-cli@latest
Adds canary to your global mise tool manifest alongside things like node —
mise up will then keep it current the same way it updates any other
mise-managed tool.
npm / npx
npm install -g canary-test-cli@latest
# or one-shot:
npx canary-test-cli recommend "a login page"
From source
git clone https://github.com/bop-clocktower/canary.git
cd canary
npm --prefix ts ci && npm --prefix ts run build # build the TypeScript engine
npm --prefix npm ci && npm --prefix npm run build # stage it into the CLI package
node npm/bin/canary.js --version # run it in place
To put the local build on your PATH as canary, link it from inside the package
directory — npm --prefix npm link will not work, because --prefix retargets
npm's global prefix rather than the package being linked:
cd npm && npm link
Claude Code plugin
Canary ships as a Claude Code plugin: agents, skills, and a suite of /canary-*
slash commands, plus the canary-mcp MCP server. The exact list is
.claude-plugin/plugin.json. See Usage
below for the full surface organized by use case, or the exhaustive catalog in
agents/skills/README.md. Add it as a local
marketplace:
/plugin marketplace add https://github.com/bop-clocktower/canary#latest
/plugin install canary@bop-clocktower
#latest follows the floating tag that each stable release moves, so you get
releases rather than every commit to main, and the version number names the
code you run. The session siren alerts on a new release, not on new commits.
Or, if you've already cloned the repo:
/plugin marketplace add /path/to/canary
/plugin install canary@bop-clocktower
Note: the install syntax is <plugin-name>@<marketplace-name>. The
canary plugin ships from the bop-clocktower marketplace, so the @
qualifier reads as canary@bop-clocktower.
No separate API key is required. The plugin runs through Claude Code's own
session authentication.
🧹 Uninstalling
A full install scatters artifacts across several locations, and removing the CLI
is the smallest part of it. Removing the binary alone leaves the plugin
registered, the marketplace cloned, and every overlay on disk — so this section
mirrors the Installation section above: one removal path per install path,
followed by the shared state none of them touch.