mahmoud20138/tradecraft/deepagents-langchain

Claude Code and agent skill by mahmoud20138/tradecraft

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

DeepAgents — production-ready LangGraph agent framework by LangChain. Batteries-included: planning (write_todos), filesystem ops, shell execution, sub-agents with isolated context, auto context summarization. pip install deepagents → create_deep_agen

Install

npx vskill@latest install mahmoud20138/tradecraft/deepagents-langchain

SKILL.md

The same SKILL.md was published earlier as mahmoud20138/tradecraft/deepagents-langchain.

deepagents-langchain

USE FOR:

  • "production-ready agent with LangGraph"
  • "batteries-included coding/research agent"
  • "sub-agents with isolated context windows"
  • "LangChain agent framework"
  • "agent with planning + filesystem + shell"
  • "MCP tools in LangGraph agent"

tags: [LangGraph, LangChain, agent, production, sub-agents, MCP, planning, filesystem, shell, open-source] kind: framework category: ai-agent-builder


What Is DeepAgents?

Production-ready, batteries-included LangGraph agent by LangChain. No manual setup — create_deep_agent() returns a fully functional agent.

  • Repo: https://github.com/langchain-ai/deepagents
  • Install: pip install deepagents
  • Framework: LangGraph (compiled graph, streaming, persistence, checkpointing)
  • LangGraph Studio compatible

Quick Start

python
pip install deepagents
python
from deepagents import create_deep_agent
agent = create_deep_agent()
result = agent.invoke({
"messages": [{"role": "user", "content": "Research the latest AI agent frameworks and summarize"}]
})
print(result["messages"][-1].content)

Built-in Capabilities

CapabilityTools Included
Planningwrite_todos — task decomposition + progress tracking
Filesystemread, write, edit, search files
Shellexecute commands (with sandboxing)
Sub-agentsdelegate tasks with isolated context windows
Contextauto-summarization, large output → file handling

Architecture (LangGraph)

python
# Returns a compiled LangGraph graph
agent = create_deep_agent()
# Supports all LangGraph features:
# - Streaming
for chunk in agent.stream({"messages": [("user", "task")]}):
print(chunk)
# - Persistence / checkpointing
from langgraph.checkpoint.memory import MemorySaver
agent = create_deep_agent(checkpointer=MemorySaver())
# - LangGraph Studio compatibility (visual debug)

Customization

python
from deepagents import create_deep_agent
from langchain_anthropic import ChatAnthropic
# Custom model
agent = create_deep_agent(
model=ChatAnthropic(model="claude-opus-4-6")
)
# Add custom tools
from langchain_core.tools import tool
@tool
def my_tool(query: str) -> str:
"""Custom tool description"""
return do_something(query)
agent = create_deep_agent(tools=[my_tool])
# Custom system prompt
agent = create_deep_agent(
system_prompt="You are an expert financial analyst..."
)

MCP Integration

python
from langchain_mcp_adapters import MCPToolkit
# Connect any MCP server
toolkit = MCPToolkit(server_command=["npx", "gitnexus", "mcp"])
mcp_tools = toolkit.get_tools()
agent = create_deep_agent(tools=mcp_tools)

Sub-Agents Pattern

python
# Main agent delegates to sub-agents with isolated contexts
# Sub-agents don't share main agent's conversation history
# Useful for: parallel research, isolated code execution
agent = create_deep_agent(
enable_subagents=True,
subagent_model=ChatAnthropic(model="claude-haiku-4-5-20251001") # cheaper for subtasks
)

Use Cases

  • Research pipeline: fetch + summarize + synthesize across sources
  • Code automation: read codebase → plan changes → edit files → run tests
  • Data processing: ingest files → transform → write outputs
  • Multi-step workflows: plan → delegate subtasks → aggregate results

vs. Other Agent Frameworks

FeatureDeepAgentsOpenAliceAutoHedge
FrameworkLangGraphCustom TSSwarms
Built-in tools✓ (full)✓ (trading)✓ (trading)
Sub-agents✓✗✗
MCP support✓✓ (planned)✗
DomainGeneralTradingTrading
Studio UI✓ LangGraph✓ Web✗

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
17
Repository forks
5
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mahmoud20138/tradecraft/deepagents-langchain/badge)](https://verified-skill.com/skills/mahmoud20138/tradecraft/deepagents-langchain)

Something wrong with this skill or its page? Tell us.