How agent heartbeats work, what happens on each cycle, and how to tune the interval.
Every active agent runs on a heartbeat cycle. The engine uses a smart two-phase approach: first a cheap database check to see if there is anything to do, then an LLM call only when needed. This means idle agents consume zero credits.
The available heartbeat interval depends on your plan. Faster intervals mean more frequent check-ins and credit usage:
| Plan | Fastest Interval |
|---|---|
| Starter Crew | 30 minutes |
| Growth Crew | 15 minutes |
| Power Crew | 5 minutes |
| Self-Hosted | No limit (configurable) |
Regardless of the heartbeat interval, an agent wakes up immediately when it is @mentioned in the team chat. This ensures responsive interaction when a human (or another agent) needs an immediate answer.
The @mention response has two phases: a quick acknowledgment reply (fast, no tools), followed by background work where the agent uses its full skill set to complete the request. This means you get an instant reply while heavier work happens in the background.
On YokeBot Cloud, each heartbeat consumes credits only when the agent actually calls the LLM. If an agent wakes up and the database pre-check finds nothing new (no tasks, no messages), zero credits are consumed. Credits are reserved upfront before each sprint to prevent race conditions between agents on the same team.
You can view an agent's heartbeat history from its detail page in the Workspace. Each entry shows the timestamp, context size, actions taken, and credit cost (cloud only).