Heartbeat
Sidebar → Heartbeats → New
Heartbeat lets an agent wake itself up on a fixed interval and run a prompt without any user message — useful for monitoring, daily summaries, scheduled outreach, or any "check in periodically and do X" workflow.
When to Use Heartbeat vs Agenda
| Need | Use |
|---|---|
| Run a fixed prompt every N seconds/minutes | Heartbeat |
| Track reminders, routines, or one-off tasks from conversation content | Agenda |
| Run on cron (e.g. weekdays at 9am) with item state and fire history | Agenda |
Heartbeat is a fixed-interval loop attached to an agent + target. Agenda is the stateful system for reminders, routines, and cron-style triggers.
Configuration
| Field | Description |
|---|---|
| Name | Display name |
| Agent | Which agent should run on each tick |
| Target | A specific channel user, web session, or working directory |
| Interval | Tick period (seconds/minutes/hours) |
| Prompt | Prompt template the agent receives on each tick |
| Enabled | Toggle without deleting |
Examples
- Status digest — every 1h, summarize new messages in a busy Lark group and drop the digest in a "summary" thread
- Watchdog — every 5min, query a health endpoint via the Web tool; ping you only on failure
- Standup buddy — every weekday morning, ask the user how yesterday went and write a note