Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mahmoud20138/Tradecraft --skill deepagents-langchaingit clone --depth 1 https://github.com/mahmoud20138/TradecraftWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mahmoud20138/tradecraft/deepagents-langchain)<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/deepagents-langchain"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/deepagents-langchain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/deepagents-langchain"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/deepagents-langchain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.01040 |
| Opus 5 | $0.00028 | $0.00520 |
| Sonnet 5 | $0.00011 | $0.00208 |
| Haiku 4.5 | $0.00006 | $0.00104 |
Grade A, and why
deepagents-langchain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
pip install deepagents
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
| Capability | Tools Included |
|---|---|
| Planning | write_todos — task decomposition + progress tracking |
| Filesystem | read, write, edit, search files |
| Shell | execute commands (with sandboxing) |
| Sub-agents | delegate tasks with isolated context windows |
| Context | auto-summarization, large output → file handling |
Architecture (LangGraph)
# 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
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..."
)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 168 lines · 0 tokens per session scan A 1b16a037c516
deepagents-langchain is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 1,040 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
offensive-crypto-attacks
Systematic methodology for identifying and exploiting cryptographic implementation weaknesses in real-world applications. Covers padding oracle attacks against CBC-mode ciphers with PKCS7 padding (Vaudenay's original attack through modern padbuster automation), ECB mode exploitation including block cut-and-paste and…
offensive-parameter-pollution
HTTP parameter pollution (HPP) checklist: duplicate parameter injection, backend vs frontend parsing differences, WAF bypass via HPP, server-side vs client-side HPP, and practical exploitation patterns. Use when testing web applications for parameter handling flaws.
offensive-wifi
Wireless / 802.11 attack methodology for red team engagements and wireless security assessments. Covers monitor-mode setup, WPA/WPA2-PSK handshake capture and PMKID attacks, WPA3 SAE downgrade and Dragonblood, WPA-Enterprise (EAP) attacks (MSCHAPv2 cracking, EAP-TLS cert theft, evil-twin RADIUS), Karma / Known Beacons…
offensive-z-wave
Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…
comptable
Comptabilité, fiscalité et facturation pour entreprises françaises. Gère écritures PCG, déclarations TVA, IS/IR, clôture annuelle, liasse fiscale (2033/2065), FEC, états financiers, et chaîne facturation (mentions obligatoires, numérotation, Factur-X/UBL/CII, plateformes agréées PDP/PA, e-reporting, réforme 2026…
fiscaliste
Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…