If anything in your stack goes silent, we guarantee something intelligent happens. Dead-man switches with escalation policies and AI-powered response.
import { HeartbeatKit } from '@heartbeatkit/sdk' const hbk = new HeartbeatKit({ apiKey: process.env.HBK_KEY }) // Start a task with a 10-minute timeout const task = await hbk.task('process-batch', { timeout: 600 }) // Do your work... await processBatch() // Check in when done. If this never runs, escalation fires. await task.complete()
Four notification channels. Three timer modes. Infinite peace of mind.
Agents discover and use Heartbeat Kit directly via Model Context Protocol. No SDK wrapper needed.
When a heartbeat fails, an autonomous AI agent can investigate and take corrective action. Not just alerts — response.
Connected clients see firing events instantly. Build live dashboards without polling.
Multi-step escalation with acknowledgment tracking. Webhook first, email second, AI agent third — stops when someone responds.
Recurring: check in every N seconds. Oneshot: fire after timeout. Scheduled: check in by 10am daily.
Durable Objects for timer precision. Queues for reliable delivery. D1 for persistence. Global edge latency.
Define interval, grace period, and attach an escalation policy.
Your system sends a heartbeat. Timer resets. All is well.
If your system goes silent, the escalation policy fires automatically.
Webhook, email, WebSocket, or AI agent — in escalating order until acknowledged.
npm install @heartbeatkit/sdk — then create your first heartbeat.