Skip to main content
A heartbeat gives a Computer Agent periodic opportunities to notice something important and decide whether action or attention is required. It is best for awareness and judgment, not for a rigid job that must run on an exact schedule.

Heartbeat or repeating Task?

Write useful heartbeat instructions

Define:
  • the systems and records the Agent should review
  • the time window or freshness requirement
  • what qualifies as a legitimate issue
  • what measurable improvement is worth suggesting
  • actions it may take without approval
  • when it should alert a person
  • when it should remain quiet
Avoid prompts such as “check everything and report problems.” They create noise and make it hard to distinguish a real risk from routine activity.

Set an alert threshold

Ask the Agent to notify people only when:
  • a real issue remains unresolved
  • a customer commitment or deadline is at risk
  • approval or information is required
  • a specific change is likely to produce a measurable improvement
A transient tool failure that recovers during the same heartbeat should not become a customer-facing alert.

Test and review

Run the heartbeat under normal conditions, a known issue, and an inconclusive condition. Review its heartbeat conversation to see what it checked and why it did or did not alert. Revisit the instructions when the Agent’s responsibilities, connected systems, or customer risk change. Use a repeating Task instead when the heartbeat evolves into one deterministic workflow.