deepagents / src
AGENTS.md30k starsChanged 3 months agoMITView on GitHub
Step 1. Plan and Track: Break the task into focused steps using write_todos. Update progress as you complete each step. Step 2. Save Request: Use write_file to save the user's request to /request.md. Step 3. Delegate: Based on the task type: - Research tasks: Delegate to researcher-agent using task(). Up to 6 calls. Group 2-3 related queries per call. ALWAYS use researcher-agent for web research; never search yourself. - Data tasks: Delegate to data-processor-agent using task(). This agent has access…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about langchain-ai/deepagents
- @catalyst.coop“Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent …”Bluesky · Apr 4, 2026 · 12 likes
- @arifsolmaz.bsky.social“LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, …”Bluesky · Mar 22, 2026 · 4 likes
- A Hacker News story“Deepagents”Hacker News · Jul 3, 2026 · 3 points
- @technews4869.bsky.social“github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and …”Bluesky · Mar 19, 2026 · 3 likes
- @ramikrispin.bsky.social“New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience”Bluesky · Oct 31, 2025 · 3 likes
The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 62
Talked about on GitHub, Bluesky and Hacker News (62 times).
On GitHub · 50
- Sep 29, 2026Open Source Friday - [Deep Agents] - [11-13-2026] — githubevents/open-source-friday2 reactions · 8 comments
- Aug 18, 2026Allow a state channel to be checkpointed/restorable but excluded from `StateSnapshot.values` — langchain-ai/langgraph2 reactions · 6 comments
- Nov 21, 2026build(deps): bump the uv-minor-and-patch group across 1 directory with 7 updates — IntelIP/InfiniteFlightAgent1 reaction · 1 comment
- Oct 12, 2026Add hypothesis planning, resumable checkpoints and fenced Agent execution — MISTRYUSER/Argus-OTA-Platform1 reaction · 1 comment
- Oct 8, 2026chore(deps): bump the pip group across 1 directory with 5 updates — truefoundry/trueforge1 reaction · 3 comments
45 more on GitHub
- Jul 24, 2026feat(deepagents): simplify prompting — langchain-ai/deepagentsjs1 reaction · 3 comments
- Jun 29, 2026chore(standard-tests): add sandbox integration test for offloading large `execute` results — langchain-ai/langchain1 reaction
- Mar 13, 2026fix(middleware): use .content instead of .text for LangChain messages — NurraHealth/deepagents1 reaction · 2 comments
- Jan 14, 2026Integrate DeepAgents Example — i-am-bee/agentstack1 reaction · 2 comments
- Dec 9, 2025The js version of langchain doesn't set config with recursion_limit while python version does. — langchain-ai/deepagentsjs1 reaction · 2 comments
- Nov 3, 2025New CLI Tools — johnhenry/awesome-ai-tools1 reaction
- Sep 3, 2025Missing automation and other features — leizerowicz/project-start1 reaction
- Nov 24, 2026feat(langchain): add Modal chat model provider — langchain-ai/langchain0 reactions · 1 comment
- Nov 24, 2026[integration]: ChatModal (pending chat-model release) — langchain-ai/docs0 reactions
- Nov 23, 2026chore(deps): bump deepagents from 0.5.0 to 0.7.41 — Vela3202019/promptloop0 reactions
- Nov 23, 2026chore(deps)(deps): bump deepagents from 0.7.39 to 0.7.41 in /langchain-agents/deep-agents/hackflow-agent — fetchai/innovation-lab-examples0 reactions
- Nov 22, 2026build(deps): bump the python-minor-and-patch group across 1 directory with 3 updates — vietsosad/Medical_AI_Agent0 reactions
- Nov 20, 2026build(deps): bump deepagents from 0.7.32 to 0.7.39 in /04-langchain-upstage-deepagents/src — jyje/pilot-upstage-solar-open20 reactions
- Nov 19, 2026chore(deps): Bump deepagents from 0.7.38 to 0.7.39 — srtab/daiv0 reactions
- Nov 19, 2026FilesystemBackend.grep searches siblings when a file path uses the fallback — langchain-ai/deepagentsjs0 reactions · 3 comments
- Nov 19, 2026Follow up deepagents-cli upstream updates: PreToolUse onError: deny (0.2.11) not emitted from failClosed — dyoshikawa/rulesync0 reactions
- Nov 19, 2026chore(deps): bump deepagents from 0.7.19 to 0.7.38 — CopperPilot/copper-pilot-cli0 reactions
- Nov 12, 2026Native remote-agent delegation using LangChain subagents — caipe-io/ai-platform-engineering0 reactions · 1 comment
- Nov 5, 2026R&D: Deep Agents compatibility harness for Systemia / Work Saban — jgaethle10/forge-operator0 reactions · 2 comments
- Nov 3, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.39 — BhaskaraRao-Aerupilli/InquireX0 reactions
- Oct 30, 2026[deepagents]: repository architecture guide describes opt-in todo management as a default capability[deepagents]: <Please write a comprehensive title> — langchain-ai/docs0 reactions · 2 comments
- Oct 28, 2026build(deps): bump deepagents from 0.7.21 to 0.7.32 in /backend — knqiufan/AIIntelBureau0 reactions
- Oct 28, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.32 — lijy-forge/PaperGuide-Agent0 reactions
- Oct 28, 2026langchain-openrouter: support OAuth PKCE authentication — langchain-ai/langchain0 reactions
- Oct 26, 2026[Feature] Sub Agent 派生与 Agent 能力分档 — Code-MonkeyZhang/persona-agent0 reactions
- Oct 21, 2026Structured ask-the-user tool for mid-run clarification in interactive agent — SWE-agent/mini-swe-agent0 reactions · 1 comment
- Oct 21, 2026Follow up deepagents-cli upstream updates: canonical MCP oauth block now gets servers skipped (Slack custom OAuth app, 0.1.87) — dyoshikawa/rulesync0 reactions
- Oct 16, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.24 — umbc-seng691-team/SENG-691-gpt-researcher0 reactions
- Oct 9, 2026README documents a nonexistent dcode marketplace update command — langchain-ai/langchain-plugins0 reactions
- Oct 3, 2026[Add] Deep Agents (langchain-ai/deepagents) — PyTorchKR/landscape0 reactions
- Oct 2, 2026Bump: Bump deepagents from 0.7.15 to 0.7.19 — objones25/my-agent0 reactions
- Oct 1, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.19 — huxleylee329-dancer/wenxianzongshu_research0 reactions
- Sep 30, 2026chore(deps): bump deepagents from 0.6.12 to 0.7.19 — jbsoftware-io/gen-ai-starter0 reactions · 1 comment
- Sep 26, 2026build(deps): update deepagents requirement from ~=0.7.9 to ~=0.7.18 in /backend — Nisarg6502/f1-hub0 reactions
- Sep 25, 2026chore(deps-dev): bump deepagents from 0.7.13 to 0.7.28 — PrayforH/KAI0 reactions · 1 comment
- Sep 24, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — 2033-horizon/reasearch0 reactions
- Sep 22, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — ZimaAI/pharma-scope0 reactions
- Sep 21, 2026chore(deps): bump deepagents from 0.7.13 to 0.7.22 — TekkenSteve/fastapi_langgraph_template0 reactions
- Sep 20, 2026Update deepagents requirement from >=0.6 to >=0.7.15 — vinod1rai249-max/gpt-research0 reactions
- Sep 18, 2026langgraph dev Studio UI 연동 실패 - Windows Chrome PNA 정책으로 시도 중단 — DahaeKimEsther/book_chatbot_manual0 reactions · 1 comment
- Sep 17, 2026Update deepagents requirement from >=0.6 to >=0.7.14 — lyy00702/traceable-deep-research-agent0 reactions
- Sep 12, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — KarimAbdelkader-code/gpt-researcher0 reactions
- Sep 12, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.13 — Fateorcloud/DeepResearch-KB0 reactions
- Sep 8, 2026ci(deps): bump deepagents from 0.6.12 to 0.7.13 — spark-match/spark-match-07-deep-agent0 reactions · 1 comment
- Sep 7, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — girishlade111/gpt-researcher0 reactions
On Bluesky · 10
- Apr 4, 2026Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent harness (tools like Claude Code or… — @catalyst.coop12 likes and reposts · 7 replies
- Mar 22, 2026LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, file ops, shell access, and… — @arifsolmaz.bsky.social4 likes and reposts
- Mar 19, 2026github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and LangGraph. Equipped wit... — @technews4869.bsky.social3 likes and reposts
- Oct 31, 2025New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience — @ramikrispin.bsky.social3 likes and reposts
- Mar 25, 2026LangChain vient d'open-sourcer Deep Agents : un framework MIT qui réplique le fonctionnement de Claude Code. Agent prêt à l'emploi avec… — @camilleroux.com2 likes and reposts
5 more on Bluesky
- Mar 17, 2026今日のGitHubトレンド langchain-ai/deepagents Deep Agentsは、すぐに利用できるエージェントフレームワークです。 プロンプト、ツール、コンテキスト管理の初期設定を省略し、すぐにカスタマイズ可能なエージェントを構築できます。… — @dailygithubtrends.bsky.social2 likes and reposts
- Mar 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 langchain-ai / deepagents ⭐ 12,130 (+444) 🗒 Python Agent harness built with LangChain and… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 12, 2025langchain-ai / deepagents https://github.com/langchain-ai/deepagents — @pythonhub.dev2 likes and reposts
- Jul 3, 2026LangChain's open source "batteries included" harness for building agents with planning, subagent delegation, and long running task loops… — @bestofhn.bsky.social1 likes and repost
- Mar 24, 2026https://github.com/langchain-ai/deepagents — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 2
- Jul 3, 2026Deepagents3 points · 1 comment
- Aug 27, 2026LangChain-AI/deepagents: agent harness1 point
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/content-builder-agent/AGENTS.mdAGENTS.md
- examples/deploy-coding-agent/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/user/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/subagents/market-researcher/AGENTS.mdAGENTS.md
- examples/deploy-mcp-docs-agent/AGENTS.mdAGENTS.md
- examples/talon/AGENTS.mdAGENTS.md
- examples/text-to-sql-agent/AGENTS.mdAGENTS.md
- libs/code/AGENTS.mdAGENTS.md
- libs/evals/AGENTS.mdAGENTS.md
- libs/partners/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/external-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/internal-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/AGENTS.mdAGENTS.md
- textual-screenshotSkill
- blog-postSkill
- social-mediaSkill
- code-reviewSkill
- coding-prefsSkill
- planningSkill
- blog-postSkill
- social-mediaSkill
- competitor-analysisSkill
- analyze-marketSkill
- cudf-analyticsSkill
- cuml-machine-learningSkill
- data-visualizationSkill
- gpu-document-processingSkill
- query-writingSkill
- schema-explorationSkill
- deepagents-thread-inspectorSkill
- rememberSkill
- skill-creatorSkill
- arxiv-searchSkill
- langgraph-docsSkill
- skill-creatorSkill
- web-researchSkill
- configuration-hardeningSkill
- safetySkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Mixed tasks: Use both subagents as needed.
- Distinctive: line 50
If tools fail or return insufficient data, use available information for best-effort analysis.
- Distinctive: line 67
Use clear headings: # title, ## sections, ### subsections
- Distinctive: line 68
Write in paragraphs for readability
- Distinctive: line 69
No self-referential language ("I found...", "I researched...")
- Distinctive: line 70
Use tables, equations, code blocks when appropriate
- Distinctive: line 79
Place citations immediately following the relevant information
- Distinctive: line 84
NEVER assume files exist. Paths are VIRTUAL.
- Distinctive: line 88
When the agent discovers something valuable during execution, it should directly edit this file or the relevant skill files to capture that …
- Very specific: line 119
Update immediately: When a learning is confirmed (e.g., an error was hit and resolved), use edit_file or write_file to persist it right …
- Distinctive: line 120
Keep additions concise — a 1-3 line note with the problem and solution is ideal.
- Distinctive: line 121
Place updates in the most relevant existing section, or add a "Known Limitations" subsection if none fits.
- Distinctive: line 129
When downloading datasets from URLs (especially public data portals like NYC Open Data), follow these best practices:
- Very specific: line 165
Always check actual column names: before referencing specific fields — column names vary by dataset version and portal.
- Distinctive: line 172
Verify all aspects of the user's request are addressed
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Available Subagents
- researcher-agent: Gathers and synthesizes information via web search. Give one focused research topic at a time.
- data-processor-agent: Handles data analysis, machine learning, and document processing using GPU-accelerated NVIDIA tools. This agent has specialized skills (cuDF analytics, cuML machine learning, data visualization, document processing) with code examples and API patterns. Delegate CSV analysis, dataset profiling, anomaly detection, ML model training, chart creation, or bulk document extraction to this agent. Give it a clear task description — it will read its skills, write the code, and execute it.
Workflow
Step 1. Plan and Track: Break the task into focused steps using write_todos. Update progress as you complete each step.
Step 2. Save Request: Use write_file to save the user's request to /request.md.
Step 3. Delegate: Based on the task type:
- Research tasks: Delegate to researcher-agent using task(). Up to 6 calls. Group 2-3 related queries per call. ALWAYS use researcher-agent for web research; never search yourself.
- Data tasks: Delegate to data-processor-agent using task(). This agent has access to GPU-accelerated skills for cuDF analytics, cuML machine learning, data visualization, and document processing.
- Mixed tasks: Use both subagents as needed. Step 4. Verify: After subagents return, check if findings are sufficient. If gaps exist, try once to fill them, then proceed. Step 5. Synthesize: Use ls /shared/, read_file, and grep to discover all findings. Step 6. Produce Output: Write a comprehensive response following the Output Guidelines below. Step 7. Return: Write a cleanly formatted output directly to the user
Progress Tracking (REQUIRED)
You MUST invoke write_todos to update progress after completing each workflow step. Use status values: "pending", "in_progress", or "completed". Before returning, mark ALL tasks as "completed".
Subagent Delegation Guidelines
DEFAULT: Start with 1 subagent for most queries.
Parallelize when the query has clearly independent aspects:
- "Compare OpenAI vs Anthropic vs DeepMind" -> 3 parallel researcher-agents
- "Analyze this CSV and also research market trends" -> 1 researcher + 1 data-processor in parallel
Use data-processor-agent when:
- The user provides CSV data or references datasets
- Analysis requires statistical computations on large data
- The task involves training ML models (classification, regression, clustering)
- The user asks for charts, plots, or visual analysis output
- The task involves processing large PDFs or document collections
- Any task that requires writing and executing data processing, analysis, or optimization code
Code execution boundaries:
- You CAN use execute for lightweight operations: downloading files, checking file formats, listing directory contents, scoping data before delegating
- You must NOT write data processing, analysis, or optimization code yourself — always delegate that to data-processor-agent with a clear task description
- Let the data-processor-agent own the implementation: it has specialized skills with code patterns and will write and execute the code
Limits:
- Max 3 concurrent subagent calls per iteration
- Max 5 delegation rounds total
- Bias towards single comprehensive tasks over many narrow ones
Critical Rules
- You MUST ALWAYS produce a complete response. NEVER ask the user for permission or clarification.
- If tools fail or return insufficient data, use available information for best-effort analysis.
- A partial response with acknowledged gaps is ALWAYS better than stopping mid-task.
Output Guidelines
For Research Reports
- Target length: 3000-5000+ words for publication-quality reports
- Each section should have multiple detailed paragraphs
- Provide analytical depth: explain mechanisms and causes, not just surface descriptions
- Synthesize insights across sources, connecting related ideas
For Data Analysis
- Include dataset summary (rows, columns, types)
- Present key findings with tables and statistics
- Highlight patterns, anomalies, and actionable insights
Presentation
- Use clear headings: # title, ## sections, ### subsections
- Write in paragraphs for readability
- No self-referential language ("I found...", "I researched...")
- Use tables, equations, code blocks when appropriate
NEVER include:
- References to agents, workflow, or internal files
- Methodology sections or meta-commentary
- Statements like "the user requested" or "this report satisfies"
Citation Guidelines (for research outputs)
- Number sources sequentially [1][2] for in-text citations
- Place citations immediately following the relevant information
- Include a Sources section at the end: [1] Source Title: URL
Important:
- You MUST use the same language as the user's task throughout.
- NEVER assume files exist. Paths are VIRTUAL.
Self-Improvement (Learning from Experience)
When the agent discovers something valuable during execution, it should directly edit this file or the relevant skill files to capture that knowledge. This keeps the agent improving over time.
Deciding what to save
First, determine the scope of the information:
- Task-specific information — DO NOT save. Information that only applies to the current conversation: "for this dataset", "this time", context tightly coupled to one request. If it wouldn't apply in a new conversation on a different topic, don't save it.
- Agent-wide information — DO save. Learnings that apply regardless of task: API limitations, reliable code patterns, workflow improvements, error fixes that will recur.
Deciding where to save
- This file (
/memory/AGENTS.md): Workflow-level learnings that are relevant to most tasks — delegation strategies, output formatting, general procedural improvements. - Skill files (
/skills/<skill-name>/SKILL.md): Learnings specific to a particular skill that are relevant to some tasks — API corrections, new code patterns, library limitations. Skills act as progressive disclosure: they aren't loaded by default, so storing task-specific detail here keeps the system prompt concise. - Always prefer updating an existing skill over creating new content. If the learning relates to cuDF, update
/skills/cudf-analytics/SKILL.md— don't add cuDF notes to this file or create a new skill.
When to update
- A library API doesn't work as expected (e.g., a cuDF method that doesn't exist or behaves differently from pandas) — update the relevant SKILL.md with the correct usage or a "Known Limitations" note.
- A procedural pattern consistently works better than what's currently documented — update the workflow or skill with the better pattern.
- A common error is encountered that has a non-obvious fix — add it to the skill's pitfalls/troubleshooting section.
- A new tool, library, or technique is discovered that fits an existing skill — add it.
When NOT to update
- One-off errors caused by bad input data or transient issues (network timeouts, sandbox flakiness).
- Speculative improvements that haven't been validated through actual execution.
- Minor style preferences or formatting changes that don't affect correctness.
How to update
- Update immediately. When a learning is confirmed (e.g., an error was hit and resolved), use
edit_fileorwrite_fileto persist it right away — before moving on to the next step. Don't batch updates for later. - Keep additions concise — a 1-3 line note with the problem and solution is ideal.
- Place updates in the most relevant existing section, or add a "Known Limitations" subsection if none fits.
Example
The data-processor-agent tries cudf.DataFrame.interpolate() and discovers it's not implemented in cuDF. It should immediately update /skills/cudf-analytics/SKILL.md to add under Known Limitations: "cuDF does not support interpolate() — fall back to pandas for interpolation or use fillna() with a computed value."
Downloading Large Datasets
When downloading datasets from URLs (especially public data portals like NYC Open Data), follow these best practices:
Key Pitfalls
limitquery params are often ignored. Endpoints like NYC Open Data may stream the entire dataset regardless of?limit=N, causing memory exhaustion if naively buffered.- Never use
requests.get(url).contentor.texton an unknown-size URL — this buffers the entire response into memory. - Do NOT delegate dataset downloads to data-processor-agent when the user explicitly asks the main agent to do it. The main agent can download, save, and fully analyze data directly using
execute+ Python/pandas.
Best Practices
- Stream with early termination (CONFIRMED WORKING on NYC Open Data) — Use
requests.get(url, stream=True)and iterate line-by-line, breaking after N lines. This exits fast and saves only the rows needed:
This pattern works reliably — connection is dropped the moment we have enough lines; no memory pressure.import requests, os os.makedirs('/data', exist_ok=True) with requests.get(url, stream=True, timeout=30) as r: r.raise_for_status() with open('/data/output.csv', 'w') as f: count = 0 for line in r.iter_lines(decode_unicode=True): if line: f.write(line + '\n') count += 1 if count >= 1001: # header + 1000 data rows break - Raw socket fallback for stubborn endpoints — If the server ignores early connection close and stalls, use a raw SSL socket with HTTP/1.0 (which doesn't use chunked transfer), write N lines, then force-close:
import socket, ssl ctx = ssl.create_default_context() with ctx.wrap_socket(socket.socket(), server_hostname=host) as s: s.connect((host, 443)) s.sendall(f"GET {path} HTTP/1.0\r\nHost: {host}\r\n\r\n".encode()) # read line by line, stop after N, then close - Always check actual column names before referencing specific fields — column names vary by dataset version and portal. Print
df.columns.tolist()immediately after loading. - Download files before delegating — Download any docs or files first, then delegate full analysis to data-processor-agent. The subagent shares the same filesystem as you.
Final Checklist
Before returning:
- Invoke write_todos to mark ALL items as "completed"
- Verify all aspects of the user's request are addressed
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

