Playwright monitoring for agents
Know your checkout broke before your customers tell you.
Keybeat runs your Playwright tests against production on a schedule from three regions, and alerts you when a key flow fails or slows down. It is built so your coding agent can write the checks, deploy them and read the failures.
One monitor free. No card needed to start.
> monitor my checkout flow with Keybeat
read keybeat.dev/llms-full.txt
write keybeat/checkout.spec.ts
run npx keybeat test checkout
passed 3 steps in 6.2s
run npx keybeat deploy
checkout created, every 5 minutes
run npx keybeat run checkout
passed in fra
Checkout is monitored every 5 minutes from three regions. You will get an email if it fails twice in a row from two regions.
The agent-first workflow
You describe the flow. Your agent does the rest.
01
Ask
Tell Claude Code, or any agent, what matters: "monitor my checkout flow with Keybeat". It reads the docs as plain markdown.
02
Write
The agent writes an ordinary Playwright Test spec into a keybeat/ folder in your repo, reviewed and versioned like the rest of your code.
03
Test and deploy
npx keybeat test runs it locally with the same settings as the cloud. npx keybeat deploy puts it on a schedule.
04
Debug later
When something breaks, the agent reads the failing step, error, logs and Playwright trace through the CLI or MCP server, and tells you what changed.
Works with the CLI, the REST API and a remote MCP server. Docs for agents at /llms.txt.
Just Playwright
A monitor is a spec file you already know how to write.
No proprietary recorder or YAML dialect. One @playwright/test file per monitor, TypeScript or JavaScript, with otpauth available for TOTP logins. Steps become the timings you see in every run.
- Chromium, one worker, no retries, 60 second limit
- Secrets from process.env, set with keybeat env set
- Same config locally with npx keybeat test
import { test, expect } from '@playwright/test';
test('checkout reaches payment', async ({ page }) => {
await test.step('open product page', async () => {
await page.goto('https://shop.example.com/products/t-shirt');
await expect(page.getByRole('heading', { name: 'T-shirt' })).toBeVisible();
});
await test.step('add to cart', async () => {
await page.getByRole('button', { name: 'Add to cart' }).click();
await expect(page.getByTestId('cart-count')).toHaveText('1');
});
await test.step('reach payment', async () => {
await page.getByRole('link', { name: 'Checkout' }).click();
await page.getByLabel('Email').fill(process.env.CHECKOUT_EMAIL!);
await expect(page.getByRole('heading', { name: 'Payment' })).toBeVisible();
});
});{
"monitors": [
{
"slug": "checkout",
"name": "Checkout reaches payment",
"file": "checkout.spec.ts",
"interval": "5m",
"enabled": true
}
]
}How it works
Fewer false alarms, more useful failures.
Scheduled run
Every 1, 5, 15 or 60 minutes, your spec runs on a fresh machine in a random region: US East (iad), EU West (fra) or Asia (sin).
Failure? Retry elsewhere
If it fails, Keybeat retries at once from a different region. A one-off network blip does not wake anyone up.
Confirmed down
If the retry fails too, the monitor is down. One alert goes to email, webhook or SMS with the failing step and error.
Recovered
The next passing run resolves the incident and sends one recovered alert with the downtime.
GET /v1/runs/:id
Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Every run records step timings and logs. Failed runs also keep a Playwright trace and a screenshot, so you or your agent can see exactly what the browser saw.
What you get
Small, focused, and honest about what it does.
Real browser checks
Every check is a Playwright Test spec running in Chromium. If you can script it, you can monitor it, including logins with TOTP 2FA.
Confirmed before alerting
A failed run is retried at once from a different region. You are alerted only when both fail, then once more when it recovers.
Slowness without thresholds
Keybeat learns each flow’s normal duration per region and tells you when it is clearly slower three runs in a row.
Traces on failure
Failed runs keep the Playwright trace and a final screenshot. Every run keeps step timings and logs, with secrets masked.
Encrypted secrets
Per monitor environment variables, encrypted and write only. Values are masked as *** in logs, errors and step titles.
Alerts where you look
Email, signed webhooks and SMS. One down alert and one recovered alert per incident, no reminder spam.
Allowlisting header
Every request carries an X-Keybeat-Token header unique to your organization, so you can let monitors past bot protection.
Public status page
One simple page per organization at status.keybeat.dev with current state and 30 days of daily uptime.
Pricing
Start free. Pay $5 when it matters.
Simple per monitor pricing in US dollars. Faster intervals are add-ons, and annual billing gives you two months free.
See pricing and calculatorFree
$0
- 1 monitor, every 60 minutes
- 7 day retention
- 10 on-demand runs per month
- Email and webhook alerts
Base
$5 /month
- 3 monitors, every 15 minutes
- 30 day retention
- 100 on-demand runs, 20 SMS per month
- 5 minute checks $5, 1 minute $19
Give your agent something useful to do.
Sign up, approve once in the browser, and let it set up your first monitor.