什么是 Heartbeat?
Heartbeat 是 OpenClaw 的定期触发机制,让 AI Agent 主动检查后台任务并汇报。
配置方式
在 openclaw.json 中配置:
{
"agents": {
"defaults": {
"heartbeat": {
"enabled": true,
"intervalMinutes": 30
}
}
}
}HEARTBEAT.md
在工作空间创建 HEARTBEAT.md 文件定义心跳任务。