Loading lesson…
A heartbeat is what makes an OpenClaw soul autonomous — a run-loop the runtime fires on its own, so the agent can think, check, and act between your messages.
Most agent frameworks are reactive — a user sends a message, the model responds, the loop ends. OpenClaw treats agents differently. A soul (OpenClaw's word for an agent instance) has a heartbeat: a run-loop the runtime fires on its own, on a schedule or in response to events, with no human prompt required. The soul wakes up, looks at its memory and tools, decides whether to act, and goes back to sleep. Then it does it again.
A platform cron job — like Vercel's vercel.json crons — fires an HTTP route on a schedule. That's a wakeup for the platform. An OpenClaw heartbeat fires inside the agent runtime: the soul keeps its memory, its tool handles, and its current goal between beats. Cron triggers stateless functions; heartbeats keep state. You can use cron to fire a heartbeat, but a heartbeat is the agent-side concept — the part that makes the soul feel always-on.
| Reactive agent | Heartbeat soul |
|---|---|
| Runs only when user sends a message | Runs on schedule, on events, or both |
| State lives in chat history | State lives in soul memory between beats |
| Latency = round-trip time | Latency = time-to-next-beat (set by you) |
| Can't act without user | Can act, then notify the user about it |
| Cheap when idle | Costs tokens even with no user activity |
The big idea: a heartbeat is the runtime tapping your soul on the shoulder. Reactive agents wait. Heartbeat souls live in the room with you and occasionally do something on their own.
8 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-openclaw-heartbeats-what-and-why-creators
What is the main idea of "OpenClaw Heartbeats: Letting A Soul Think Without You"?
Which concept is most central to "OpenClaw Heartbeats: Letting A Soul Think Without You"?
Which use of AI fits this topic best?
What should a careful learner remember about "The mental model"?
You want to use AI after this lesson. What is the safest next step?
How should AI output about heartbeat be treated?
Name one way to verify an AI answer about heartbeat.
Which action would help you apply "OpenClaw Heartbeats: Letting A Soul Think Without You" responsibly?