Build agents for complex, multi-step tasks

Deep Agents is an agent harness built for long-running tasks. It handles planning, context management, and multi-agent orchestration for complex work like research and coding.

Trusted by companies shaping the future of agents

Why use Deep Agents?

Designed for autonomous agents

Agents are taking on increasingly complex work over long time horizons, like research, coding, and multi-step workflows. Deep Agents provides the primitives for these patterns:

  • Break down complex objectives: Planning tools let agents decompose tasks, track progress, and adapt as they learn
  • Delegate work in parallel: Spawn subagents for independent subtasks, each with isolated context
  • Persist knowledge across sessions: Virtual filesystem stores system prompts, skills, and long-term memory
Learn about the agent harness

Native context management

Context management is critical for long-running agents, and hard to get right. Deep Agents includes middleware that helps agents compress conversation history, offload large tool results, isolate context with subagents, and use prompt caching to reduce latency and cost

Context management with deep agents

Built on LangChain and LangGraph

Deep Agents applies what we've learned from LangChain and LangGraph to give you a batteries-included, general purpose framework. Use any model provider, manage state, and add human-in-the-loop when you need it. Tracing and deployment work natively with LangSmith.

Explore langsmith

Code with Deep Agents CLI

Deep Agents is available as an SDK and CLI, so you can use it in your codebase or run it directly in your terminal

Learn more about Deep Agents CLI

Introduction to Deep Agents

Learn the fundamental characteristics of Deep Agents and how to implement your own Deep Agent for complex, long-running tasks.

Take the course

FAQs for Deep Agents

How is LangGraph different from other agent frameworks?

Other agentic frameworks can work for simple, generic tasks but fall short for complex tasks bespoke to a company’s needs. LangGraph provides a more expressive framework to handle companies’ unique tasks without restricting users to a single black-box cognitive architecture.

Does LangGraph impact the performance of my app?

LangGraph will not add any overhead to your code and is specifically designed with streaming workflows in mind.

Is LangGraph open source? Is it free?

Yes. LangGraph is an MIT-licensed open-source library and is free to use.

Ready to start shipping reliable agents faster?

Get started with tools from the LangChain product suite for every step of the agent development lifecycle.