Agents in Amp can now set their own schedules and wake themselves up. When a schedule fires, the agent wakes up with its saved prompt and continues right where it left off, with all of its
context and history. Works great with [Slack](https://ampcode.com/news/slack-integration),
[Puck](https://ampcode.com/news/meet-puck), and [spawning other agents](https://ampcode.com/news/from-agent-to-agent), too.
You can now say things like:
- "Every morning, dig up the five slowest database queries of the past 24 hours, investigate with an orb in ultra mode, and DM me the list on Slack."
- "Merge this, and remind me on Slack in two days to clean up the feature flag and roll it out to everyone."
- "My recent backfill job thread, check on it every ten minutes and ping me if it stalls or starts outputting errors. Let me know when it's done."
- "Every hour, use the inference-error-triage skill to inspect errors from the last hour and group related ones. For each newly discovered group, spin up a new thread to fix the errors and report back in the #bugs Slack channel."
Here's a real schedule at work: a thread watching a long-running job until it's done.