Build Proactive Agents with the Managed Deep Agents Schedules SDK
Brief
LangChain describes how to add scheduled runs to Managed Deep Agents, either as fixed schedules or as schedules created at runtime through tools.
What scheduled runs enable
- Use recurring jobs to condense conversations into long-term memory, prompt agents to pursue goals, monitor information streams, and send reminders.
- An orchestrator can use scheduled wake-ups to check on asynchronous subtasks.
- LangChain says more than 70% of Managed Deep Agent runs on LangSmith come from scheduled runs rather than a human typing a message.
How to add schedules
- Define a fixed schedule in the agent definition, such as a weekday 8 a.m. sales report in the America/Los_Angeles timezone.
- Use the Schedules SDK to create, list, and delete user schedules dynamically; the article also shows how to schedule a one-off check-in.
- The article says a cron server should support custom schedules and prompts, required skills or permissions, and jitter to spread out runs.
Generated by AI from the original article. Check the source for full details.