Proactive Heartbeat
Your UltraClaw agent doesn’t just wait for you to ask questions — it can proactively monitor things and reach out when something needs your attention. This is the heartbeat system.How It Works
At a configurable interval, your agent wakes up, reads your HEARTBEAT.md instructions, and executes the checks you’ve defined. If something needs your attention, it sends you a message. If everything is fine, it stays silent.Reads HEARTBEAT.md
Your agent reads the instructions in your HEARTBEAT.md workspace file — these define exactly what to check.
Runs Checks
Your agent performs the defined checks using its integrations and skills (check email, look up weather, query a service, etc.).
HEARTBEAT_OK means silence. Your agent only reaches out when there’s something actionable. No “all clear” spam — just signal, never noise.
Configuring Heartbeat
Setting the Interval
Configure how often your agent checks in from your dashboard under Settings > Heartbeat. Common intervals:| Interval | Good For |
|---|---|
| Every 15 minutes | Time-sensitive monitoring (inbox, alerts) |
| Every 30 minutes | Active workday monitoring |
| Every hour | General-purpose checks |
| Every 4 hours | Low-frequency oversight |
Active Hours
Set active hours so your agent only runs heartbeat checks during times you want to be notified. For example:- Workday only: 8am – 6pm, Monday through Friday
- Waking hours: 7am – 11pm, every day
- Always on: 24/7 monitoring
Writing HEARTBEAT.md
Your HEARTBEAT.md file tells your agent exactly what to check. Be specific and actionable:Use Cases
Inbox Monitoring
Get notified about urgent emails, messages from VIP contacts, or emails matching specific keywords — without checking your inbox constantly.
Weather Alerts
Your agent checks the forecast and texts you only when conditions matter — rain before your outdoor event, freezing temps overnight, etc.
Price Tracking
Monitor prices on products or services. Your agent checks periodically and notifies you when a price drops below your threshold.
Calendar Prep
Get proactive reminders about upcoming meetings, including context from previous conversations with attendees.
Server & Service Monitoring
Have your agent check the status of websites, APIs, or services and alert you if something goes down.
News & Research
Monitor news sources or topics relevant to your work. Get notified only when something significant happens.
Heartbeat vs. Cron Jobs
Both features let your agent do things on a schedule, but they serve different purposes:| Heartbeat | Cron Jobs | |
|---|---|---|
| Purpose | Monitor and alert | Execute tasks |
| Output | Notification only if actionable | Always produces output |
| Configuration | HEARTBEAT.md file | Cron schedule + payload |
| Behavior when nothing to report | Silent (HEARTBEAT_OK) | Still runs the task |