Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

LangChain 5 min read How-to mediumAdept

How to Build Proactive, Always-On Agents with the Schedules SDK in Managed Deep Agents

Many proactive, always-on agents rest on a simple mechanism: agent runs triggered as cron jobs. Scheduled runs support memory consolidation ("dreaming"), goal-driven proactive messages, triage of Slack or email streams, user follow-up reminders, and orchestrators that wake themselves to check on fleets. Building these takes two parts: a cron server that handles prompts, permissions and jitter, and a governed agent-facing interface for creating and modifying schedules. Managed Deep Agents provides both, with static schedules defined as files and dynamic or one-off schedules created at runtime by wrapping the Schedules SDK in tools. More than 70% of Managed Deep Agent runs on LangSmith come from scheduled rather than human-initiated runs.

Related posts

  • What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions

    LangChain mediumAdept

    Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions. With the Schedules SDK, agents can create cron or one-time schedules mid-conversation; these run with the requesting user's permissions and post results back to the originating channel. Per-run configuration makes the agent a callable that reads the run context and returns a define_deep_agent definition, so one deployment can choose its model, skills, MCP servers and sandbox per team or repo before the model runs, which keeps context small and acts as access control. Slack reactions acknowledge incoming messages with a configurable emoji, including one picked per message by a function. The release is in public beta.

  • What We’ve Learned Building Proactive Agents

    LangChain easyNovice

    Proactive agents run in the background toward goals, triggered by real-world events, developer schedules or schedules they set themselves; on LangChain's Managed Deep Agents over 70% of runs now come from schedules rather than human prompts. Making them useful without being annoying hinges on memory (seeded from past context, updated from feedback and outcomes, maintained by a background "dreaming" job that handles salience, expiry and duplication) and on UX that is high-signal, fast to review, and delivered where users already work, such as Slack. Examples come from LangChain's internal GTM Agent and Robin engineering agent, and suggested memory metrics include draft approval time and the share of check-ins users act on.

  • Managed Deep Agents v0.10: Browser Use and Async Subagents

    LangChain mediumAdept

    Managed Deep Agents v0.10 adds browser use, so agents can operate websites without APIs, and async subagents that run long tasks in the background while the orchestrator keeps talking to the user. The browser runs in a LangSmith sandbox scoped per thread or per user. It exposes snapshot, run, screenshot and handoff tools, and the handoff tool gives a person control of the window for logins so credentials never enter model messages or traces. Async subagents notify the orchestrator instead of being polled: results arrive mid-run, wake an idle agent, or wait behind a pending approval. Other changes include thread-origin records for replying in Slack, a Stop button, Slack event handlers, resolveUser identity mapping, and breaking changes to how MCP connectors are declared.

  • Evolving our calendar assistant Reclaim to be AI-native without starting over

    Dropbox Tech mediumAdept

    Reclaim added natural-language AI scheduling by routing agent requests through the same scheduling logic used by users and its automated scheduler, rather than building a separate AI-only path. Dropbox built its own agent loop, tool system and context gathering, connecting directly to model providers instead of using an agent framework. That framework had lagged provider APIs and carried more structure than needed, and owning the loop costs more code to maintain. All actors share a common "Schedule Action" abstraction with one validation and commit path, and the same tools are exposed via MCP to clients like Claude and ChatGPT. A Preview Mode lets users review proposed changes on a temporary calendar, made fast by rewriting the scheduler as a pure function and caching calendar data in Redis.

  • Agents Are Going Async

    LangChain mediumAdept

    Deep Agents now supports async subagents, which split an agent into an orchestrator that stays responsive to the user and background subagents that run long tasks in parallel and report back. In a standard ReAct loop, long tool calls block every other task. Async subagents return immediately, like an un-awaited Promise or asyncio task. The orchestrator manages them with five tools (start, check, update, cancel, list), and an update_strategy of "interrupt" or "enqueue" controls how follow-up instructions reach a running task. Results are picked up before the next model call when the orchestrator is busy, wake it when idle, and wait behind pending approvals. Enabling the feature takes one `async` field in Managed Deep Agents, and task notifications are still in beta.

The quest for software engineering knowledge.

Look:
Layout: