Keybeat documentation
Keybeat runs your Playwright tests against your live site on a schedule, from several regions, and tells you when a key flow such as login, signup or checkout fails or gets slow.
It is API first and designed to be driven by AI coding agents. You can ask Claude Code (or another agent) to "monitor my checkout flow with Keybeat", and it can write the Playwright spec, test it locally, deploy it, and later read failures, logs and traces to tell you what broke.
Start here
- Quickstart: sign up, write your first monitor and deploy it with the CLI.
- Quickstart for agents: how Claude Code and other agents should set up and operate Keybeat.
- Writing monitors: the rules a monitor spec must follow, secrets, TOTP logins and allowlisting.
- Pricing: one free monitor, then $5 per month for the base plan.
Core concepts
| Concept | What it is |
|---|---|
| Monitor | One Playwright Test spec file plus an interval, a name and a slug. Keybeat runs it on schedule. |
| Run | One execution of a monitor in one region. Has a status, step timings, logs and, on failure, a trace and screenshot. |
| Region | Where a run executes: iad (US East), fra (EU West) or sin (Asia). Each scheduled run picks one at random. |
| Incident | A period when a monitor is down (failing) or slow. Opens and resolves automatically. |
| Alert channel | Where notifications go: email, a signed webhook, or SMS. |
| Status page | One public page per organization at status.keybeat.dev/<slug>. |
| Organization | Monitors, channels, keys and billing belong to an organization. Members are owner or member. |
Run statuses
| Status | Meaning |
|---|---|
queued, starting, running | The run is in progress. |
passed | Every test in the spec passed. |
failed | A test failed or the run hit the 60 second limit. Scheduled failures are retried at once from another region before anyone is alerted. |
error | Infrastructure trouble on Keybeat's side. Never counts as a monitor failure and never alerts you. |
Monitor states
A monitor's state is unknown (no result yet), up or down. Its perf_state is normal or slow, based on an automatic per region baseline. See Alerts for exactly when these change.
Ways to use Keybeat
| Interface | Best for | Docs |
|---|---|---|
CLI (npx keybeat) | Local testing, deploying monitors from a repo, CI | CLI reference |
| REST API | Scripts and integrations | REST API |
| Remote MCP server | Agents that should inspect runs and manage monitors | MCP server |
| Dashboard | Humans: approvals, billing, channels, browsing runs | app.keybeat.dev |
For agents reading this
Every docs page is available as plain markdown by adding .md to its URL, for example /docs/quickstart.md. The whole documentation is also available as one file at /llms-full.txt, with an index at /llms.txt.
What Keybeat does not do (in v1)
- No plain HTTP or ping checks. Every check is a Playwright browser check.
- Chromium only. No Firefox or WebKit.
- No npm packages beyond
@playwright/testandotpauth, and no multi file test suites. - No static IP addresses. Use the
X-Keybeat-Tokenheader to allowlist Keybeat traffic. - No monitoring of private networks,
localhostor internal hosts. - No cloud runs of unsaved drafts. Test locally with
npx keybeat test.