{"name":"Deep Agents: The Batteries-Included Agent Harness for Complex AI Tasks","description":"Deep Agents is an agent harness built on LangChain and LangGraph, designed to simplify the creation of complex AI agents. It comes equipped with essential tools like planning, filesystem access, and the ability to spawn sub-agents, enabling it to handle sophisticated agentic tasks out of the box. This framework provides a ready-to-run agent that can be easily customized with additional tools, models, and prompts.","github":"https://github.com/hwchase17/deepagents","url":"https://osrepos.com/repo/hwchase17-deepagents","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/hwchase17-deepagents","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/hwchase17-deepagents.md","json":"https://osrepos.com/repo/hwchase17-deepagents.json","topics":["agents","deepagents","langchain","langgraph","Python","AI","Agent Framework"],"keywords":["agents","deepagents","langchain","langgraph","Python","AI","Agent Framework"],"stars":null,"summary":"Deep Agents is an agent harness built on LangChain and LangGraph, designed to simplify the creation of complex AI agents. It comes equipped with essential tools like planning, filesystem access, and the ability to spawn sub-agents, enabling it to handle sophisticated agentic tasks out of the box. This framework provides a ready-to-run agent that can be easily customized with additional tools, models, and prompts.","content":"## Introduction\nDeep Agents is an opinionated, batteries-included agent harness built on top of LangChain and LangGraph. It provides a ready-to-run agent out of the box, eliminating the need to wire up prompts, tools, and context management manually. This framework is designed to handle complex agentic tasks by equipping agents with powerful capabilities.\n\nKey features included:\n*   **Planning**: `write_todos` for task breakdown and progress tracking.\n*   **Filesystem**: `read_file`, `write_file`, `edit_file`, `ls`, `glob`, `grep` for reading and writing context.\n*   **Shell access**: `execute` for running commands, with sandboxing.\n*   **Sub-agents**: `task` for delegating work with isolated context windows.\n*   **Smart defaults**: Prompts that teach the model how to use these tools effectively.\n*   **Context management**: Auto-summarization for long conversations, large outputs saved to files.\n\n## Installation\nTo get started with Deep Agents, you can install it using pip or uv:\n\nbash\npip install deepagents\n# or\nuv add deepagents\n\n\n## Examples\nOnce installed, you can quickly create and invoke a Deep Agent:\n\npython\nfrom deepagents import create_deep_agent\n\nagent = create_deep_agent()\nresult = agent.invoke({\"messages\": [{\"role\": \"user\", \"content\": \"Research LangGraph and write a summary\"}]})\n\n\nDeep Agents are highly customizable. You can add your own tools, swap models, customize prompts, and configure sub-agents:\n\npython\nfrom langchain.chat_models import init_chat_model\n\nagent = create_deep_agent(\n    model=init_chat_model(\"openai:gpt-4o\"),\n    tools=[my_custom_tool],\n    system_prompt=\"You are a research assistant.\",\n)\n\n\n## Why use Deep Agents\nDeep Agents offers several compelling reasons for its adoption:\n\n*   **100% open source**: MIT licensed and fully extensible.\n*   **Provider agnostic**: Works with Claude, OpenAI, Google, or any LangChain-compatible model.\n*   **Built on LangGraph**: Provides a production-ready runtime with streaming, persistence, and checkpointing.\n*   **Batteries included**: Planning, file access, sub-agents, and context management work out of the box.\n*   **Get started in seconds**: Install with `pip install deepagents` or `uv add deepagents` for a working agent.\n*   **Customize in minutes**: Easily add tools, swap models, and tune prompts as needed.\n\n## Links\n*   [GitHub Repository](https://github.com/langchain-ai/deepagents){:target=\"_blank\"}\n*   [Official Documentation](https://docs.langchain.com/oss/python/deepagents/overview){:target=\"_blank\"}\n*   [API Reference](https://reference.langchain.com/python/deepagents/){:target=\"_blank\"}\n*   [LangChain Forum](https://forum.langchain.com){:target=\"_blank\"}","metrics":{"detailViews":11,"githubClicks":14},"dates":{"published":null,"modified":"2026-03-04T09:07:35.000Z"}}