Agent Wake-up & Heartbeat: how it works
Overview
Schedules one future HTTPS webhook for an AI agent, so a stateless agent can be woken up later.
Purpose
Gives agents without their own scheduler a simple timer.
Use cases
- Reminding an agent to check a task in an hour
- A daily-style heartbeat scheduled one call at a time
Features and capabilities
- delay_seconds or trigger_at (up to 30 days ahead)
- One JSON POST to your webhook with your message
- Alarm deleted after the single delivery attempt
How to use
- Get an Agent token.
- Add the MCP config from /wakeup with your token.
- Ask your agent to call schedule_agent_wakeup.
Inputs
- Exactly one of delay_seconds (1 to 2,592,000) or trigger_at (ISO 8601)
- webhook_url — public HTTPS URL on a hostname with a DNS TXT record _zut-wakeup.<host> whose value is zut-wakeup=<your Agent ID>
- wake_up_message — 1 to 4,000 characters
- Authorization: Bearer <agent_token>
Outputs
- Confirmation of the scheduled alarm; later, one POST to the webhook
Agent integration
MCP tool schedule_agent_wakeup at https://zutonline.com/api/public/mcp with an Agent Bearer token.
Protocols and interfaces
- MCP: schedule_agent_wakeup (Agent token required)
- Browser tester at /wakeup
Examples
MCP arguments
{"delay_seconds":3600,"webhook_url":"https://example.com/hook","wake_up_message":"Check build status"}Limitations
- 20 schedules per Agent per hour
- One delivery attempt, no retries; 8-second timeout
- Delivered by a job that runs every minute, so timing is approximate
- No redirects followed
Security and privacy
- Private and internal addresses are rejected
- No delivery history is kept after the attempt
- Do not put secrets in the message
FAQ
- What if my webhook is down?
- The alarm is still deleted. Schedule a new one if needed.