Do Deepagents Skill — AI skill for Claude Code
skill指导AI正确的写代码-基于langchain deepagents框架.
How to install Do Deepagents Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open liangdabiao/do-deepagents-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Do Deepagents Skill does
skill指导AI正确的写代码-基于langchain deepagents框架。为什么需要 DeepAgents 这一套?单一提示词撑不住复杂任务真实业务往往是:多步推理、多工具组合、长会话、还要记用户偏好和历史决策。把一切都塞进一个 Chat 里,容易出现指令被淹没、行为漂移、失败不可定位。这就是为什么像Claude Code、Deep Research、Manus这样的应用能够脱颖而出——它们不是简单的工具调用器,而是具备深度思考能力的智能体。
Alternatives in AI
- PyTorch Lightning — Deep learning with PyTorch Lightning framework 6.4k ★
- Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
README
do-deepagents-skill - DeepAgents Framework Skill
掌握 [DeepAgents](https://github.com/langchain-ai/deepagents) 框架的技能库。DeepAgents 是 LangChain 团队推出的独立 Python 库,构建在 LangChain + LangGraph 之上,为构建智能代理提供有主见的默认配置。
项目简介
本项目为 AI Agent 提供 DeepAgents 框架的完整知识库,包括:
- 核心 API 参考 (
create_deep_agent) - 内置工具详解(文件系统、任务规划、子代理、上下文压缩)
- 中间件系统架构
- 后端系统(StateBackend、FilesystemBackend、StoreBackend、Sandbox 等)
- 子代理系统设计
- Skills 技能扩展机制
- 流式输出与人机协同
- 生产环境部署指南
快速开始
安装
pip install deepagents
第一个 Agent
from deepagents import create_deep_agent
def get_weather(city: str) -> str:
"""Get weather for a given city."""
return f"It's always sunny in {city}!"
agent = create_deep_agent(
model="anthropic:claude-sonnet-4-6",
tools=[get_weather],
system_prompt="You are a helpful assistant",
)
result = agent.invoke(
{"messages": [{"role": "user", "content": "What is the weather in SF?"}]}
)
print(result["messages"][-1].content)
核心能力
| 能力 | 内置工具 | 描述 |
|---|---|---|
| 规划 | write_todos |
任务分解与进度追踪 |
| 文件系统 | read_file, write_file, edit_file, ls, glob, grep |
上下文管理与大结果自动 offload |
| Shell 执行 | execute |
沙箱后端中运行命令 |
| 子代理 | task |
上下文隔离的任务委派 |
| 上下文压缩 | compact_conversation |
85% 窗口时自动摘要 |
项目结构
do-deepagents-skill/
├── SKILL.md # 主技能文件
└── references/
├── getting-started.md # 完整入门指南
└── docs/ # 详细文档
├── Deep Agents overview.md
├── Quickstart.md
├── Configuration.md
├── Backends.md
├── Subagents.md
├── Skills.md
├── Memory.md
├── Streaming.md
├── Human-in-the-loop.md
├── Sandboxes.md
├── Interpreters.md
└── ... (更多文档)
主要文档
Related Skills
Zenith
Self-hosted, local-first AI workspace on your own Ollama models — chat, a Claude-Code-class coding agent, deep
Wiki Bible
LLM-maintained research wiki over deep-research bibles: interlinked concepts/thinkers/debates/themes, a self-c
Research Wiki
LLM-maintained research wiki over deep-research bibles: interlinked concepts/thinkers/debates/themes, a self-c
Literature Monitor Bot
Agent-deployed, hands-off literature monitor: bioRxiv + journals -> 3-stage LLM filter -> Discord/Telegram dig
NotebookLM Research Agent
A fully autonomous AI research agent that ingests sources into Google NotebookLM, runs deep web research, synt
Manus
Delegate complex tasks to Manus AI agent for deep research, market analysis, product comparisons, stock analys
Related Agents
Perf Deep Audit
Use this agent when you need a deep performance review of Electron, React, or Vite-related code — especially f
Deep Research Agent
Specialist for comprehensive research with adaptive strategies and intelligent exploration
Deep Research Critic
Adversarial reader of a nav-deep-research draft. Finds ignored counter-evidence, unsupported claims, verbatim