DeepAgents is an open-source agentic coding framework and CLI tooling suite maintained by LangChain (langchain-ai). Designed to bring autonomous agent execution to local development workflows, it bridges LangChain's agent orchestration infrastructure with coding-specific harness environments. In daily use, DeepAgents executes commands, inspects project trees, edits code, and automates multi-step development tasks from the terminal. The framework leverages the broader LangChain ecosystem for model routing, allowing developers to configure standard commercial LLM backends (such as OpenAI and Anthropic) as well as self-hosted models via standard API endpoints and environment configurations. What distinguishes DeepAgents from standalone CLI coding assistants is its deep integration into LangChain's agent architecture and evaluation tooling (including LangSmith tracing and sandbox environments). Development in the repository centers on modular libraries such as core execution runtimes (`libs/code`), evaluation harnesses (`libs/evals`), and managed orchestration clients (`managed-deepagents` / `mda`), replacing earlier iterations of `deepagents-cli`. DeepAgents is distributed as open-source software under standard permissive licensing on GitHub and packaged for Python via PyPI.
Tags: agent harness, ai agent, cli, developer tools, Generative AI, OpenSource
mda) — Transitioned tooling to the managed-deepagents CLI interface for executing coding agent workloads. - Evaluation harnesses — Dedicated libs/evals and automated test suites for benchmarking coding agent reliability across repositories. - Multi-model compatibility — Supports standard LLM providers configured through standard LangChain chat model interfaces.libs/evals and runner infrastructure within DeepAgents to benchmark agent performance on realistic multi-file coding and debugging tasks.DeepAgents is targeted at Python developers, AI engineers, and teams already building within the LangChain and LangSmith ecosystems who need an extensible, code-focused agent harness. It is less suited for developers seeking an out-of-the-box, single-binary GUI/IDE assistant with zero configuration requirements.
pip (or uv / poetry). Note that recent repository releases utilize the managed-deepagents (mda) package in place of legacy deepagents-cli: bash pip install managed-deepagents Alternatively, install directly from the source repository: bash git clone https://github.com/langchain-ai/deepagents.git cd deepagents pip install -e .bash export OPENAI_API_KEY="your-openai-key" export ANTHROPIC_API_KEY="your-anthropic-key" # Optional LangSmith tracing export LANGCHAIN_TRACING_V2="true" export LANGCHAIN_API_KEY="your-langsmith-key"bash mda run "Audit libs/ for deprecated import warnings and generate a summary report"Part of CLI Coding Agents
Categories: AI Coding Agents, Chatbot Development, Developer Tools