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.
Many proactive, always-on agents rest on a simple mechanism: agent runs triggered as cron jobs.
Eval-driven development adapts test-driven development to non-deterministic agents: write a pass/fail spec for one behavior, build a dataset and evaluator before implementing, run a baseline, then hill-climb by comparing experiments per example.
LangChain's internal GTM Agent generates sales artifacts such as account plans, proof-of-value documents, proposal decks and onboarding plans, producing over 100 per week across 12 weeks.
Agent retrieval fails in three ways: inefficient searching, too much context at once, and irrelevant or stale context.
Long-running agents suffer "context rot" as tool output, history and instructions accumulate, so Deep Agents moves context out of the active window via middleware hooks in the agent loop rather than deleting it.
Stripe's company-wide productivity agent Kai was built by one engineer in a week on LangChain's open-source Deep Agents harness.
Dosu, an AI teammate that triages GitHub issues and answers code questions, uses evaluation driven development (EDD): ship a behavior with a few evals, monitor production for failure modes, add failing examples to offline eval datasets, iterate, and relaunch.
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.
Managed Deep Agents in LangSmith now runs a remote browser in its own sandbox and gives agents Stagehand-based tools: browser_snapshot (accessibility tree with element IDs), browser_run (batched actions or Playwright-style JavaScript in one call to keep page content out of context), browser_screenshot, and browser_handoff for letting a human sign in without exposing credentials.
Tool design dominated cost and speed for browser agents: across seven toolsets on 100 WebVoyager tasks, pass rates ranged 78–90%, but Stagehand passed 90% for $1.98 total while Playwright MCP passed 78% for $26.71 at three times the latency.
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.
Content Studio, LangChain's Slack-based design agent, produces on-brand videos, graphics, slide decks and UI recreations entirely as code, running on Managed Deep Agents with a per-thread LangSmith Sandbox.