Tools/langchain-ai/deepagents

deepagents

The batteries-included agent harness.

31.7k ★+147/wkgrowthPythonMIT License →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Nov 2026

Deep Agents is LangChain's opinionated agent harness. One Python package gives you an agent that plans, hands work to sub-agents, reads and writes files, runs shell commands in a sandbox, summarizes long threads, remembers across sessions, and pauses for human approval. MIT, free, and it works with any tool-calling model, local ones included.

It sits on LangGraph, so streaming and checkpoints come along, and there is a TypeScript port plus Deep Agents Code, a terminal coding agent. You pay for tokens. The required dependencies pull in the LangSmith client and the Anthropic and Google integrations either way.

The money is LangSmith. Developer is one free seat with 5K base traces a month. Plus is $39 per seat per month with 10K traces and one small serverless Agent Server free, then $5 per 1,000 extra traces. Hosted Managed Deep Agents is in public beta. Solo: free. Small teams: Plus once traces are shared. Larger teams: Enterprise for custom SSO. For lower-level control: langchain-ai/langgraph or mastra-ai/mastra.

The catch: the security model is trust the LLM. Two 2026 advisories showed approval rules bypassed through alternate file paths and unparseable shell commands. Both are patched. Put real limits in the sandbox, not the prompt.

Free vs Self-Hosted vs Paid

fully free

Free: The framework is MIT with nothing held back: planning, sub-agents, pluggable filesystem backends, context summarization, shell access, persistent memory, human-in-the-loop approvals, skills, and any tool or MCP server, on any tool-calling model including local ones via Ollama, vLLM or llama.cpp. The TypeScript port (deepagentsjs) and the Deep Agents Code terminal agent are also free.

Self-hosted: Runs anywhere Python 3.11+ runs; your cost is model tokens and whatever sandbox you run shell commands in. langsmith, langchain-anthropic and langchain-google-genai install as required dependencies. Self-hosting LangSmith itself is Enterprise only.

Paid: LangSmith, billed in LangChain Standard Units at $1.00 per LSU. Developer: $0, 1 seat, 5K base traces a month, 8 LSU of sandbox usage and 7 LSU of Fleet included, no Agent Server. Plus: $39 per seat per month, unlimited seats, 10K base traces, 1 small serverless Agent Server at no charge, 37 LSU of Fleet; extra Agent Servers bill on resource time. Extra base traces cost 0.005 LSU each ($5 per 1,000, 14-day retention); upgrading to 180-day extended retention adds 0.0025 LSU per trace. Enterprise: custom pricing, cloud, hybrid or self-hosted, custom SSO and RBAC. Managed Deep Agents is in public beta (US region, CLI-first) with no separate line on the pricing page.

Free MIT framework; you pay for tokens. LangSmith Plus at $39 per seat per month adds tracing and one free small Agent Server, with traces past 10K at $5 per 1,000.

What to do by team size

Solo
free; LangSmith's free Developer seat covers early tracing
Small team
free framework; LangSmith Plus at $39/seat once you share traces or deploy
Medium team
free framework plus LangSmith Plus seats; watch trace overage at $5 per 1,000
Large team
free framework; LangSmith Enterprise for custom SSO and self-hosted tracing
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
92/100 · A+
Adoption27/30
Maintenance25/25
Community15/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 26,153 starsActive community: 3,660 forksCommunity discussions enabledOrganization account (251 public repos)Notable author: 20,810 followersBacked by: Sequoia, BenchmarkAuthor also built: langchain-ai/openwiki (10,788 stars)

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
LangChain (Organization)
Backed by
Sequoia, Benchmark
Stars
31,724
Forks
4,489

Also by LangChain

Explore Further

More tools in the directory