Deep Agents is LangChain's open-source, model-neutral harness designed to enable complex, long-running AI agents. It provides essential components like context management, tool integration, memory, subagent orchestration, sandboxing for untrusted code, and human-in-the-loop controls for sensitive actions. A key architectural feature is its swappable filesystem, allowing agents to operate seamlessly across different environments (local, sandbox, cloud) without code modifications, thereby streamlining development and deployment. Managed Deep Agents extends this by bundling the Deep Agents harness with managed LangSmith infrastructure, enabling agents to be defined as a folder of instructions, skills, and tools, tested locally, and deployed via CLI. It addresses production concerns like caller identity, user/agent-scoped credentials with mid-task authentication pauses, channel-aware memory access control, versioned context in Context Hub, and Harbor evals traced to LangSmith experiments. New in 0.8 are HTTP channels, user-scoped memory, Slack file transfers, and built-in search powered by Parallel.
All LangChain trails