langchain-agent-builder-skills
This agent provides a library of pre-built knowledge to help artificial intelligence assistants create complex and effective programs. It solves the problem of developers needing to repeatedly explain coding concepts and best practices to AI tools, saving time and improving the quality of the resulting code. Software engineers and developers building AI applications would find this particularly helpful. The agent’s value lies in its collection of expert-level knowledge, allowing users to quickly build sophisticated AI systems without extensive documentation searches. It essentially provides a shortcut to creating production-ready AI agents using established frameworks.
README
<div align="center">
# 🤖 LangChain Agent Builder Skills
**A production-grade skill library for building AI agents with LangChain, LangGraph & Deep Agents**
[](https://github.com/langchain-ai/langchain)
[](https://github.com/langchain-ai/langgraph)
[](https://www.anthropic.com)
[](https://python.org)
[](LICENSE)
*Stop searching documentation every time you build an agent. This is everything you need, exactly when you need it.*
<!-- keywords: langgraph agent, langchain agent builder, ai agent skills, llm agent python, langgraph tutorial, langchain skills, multi-agent system, human-in-the-loop, rag implementation, prompt engineering, mcp server, cost optimization llm, langgraph examples, ai coding assistant skills, claude anthropic agent, deep agents, create_react_agent, StateGraph -->
</div>
---
## 🧭 What Is This?
This repository is a **curated, battle-tested collection of AI coding skills** — structured knowledge files that an AI coding assistant (like Claude / Gemini) reads automatically to produce production-quality code on the first attempt.
Each skill is a **senior engineer living inside your editor** who specializes in one area. Instead of you explaining context from scratch every session, the assistant reads the relevant skill and already knows the correct APIs, proven patterns, common pitfalls, and how to combine multiple tools cleanly.
> **The result**: You go from "build me an agent" to a fully structured, memory-enabled, cost-optimized, production-ready LangGraph agent — in a single conversation.
---
## 🏗️ Core Skill: `langchain-langgraph`
> *"If you only read one skill, make it this one."*
This is the **foundational skill** of the entire repository — a comprehensive, layered reference system for the three-tier AI agent stack:
```
┌─────────────────────────────────────────┐
│ Deep Agents │ ← Highest layer: out-of-the-box
│ (planning, memory, skills, files) │
├─────────────────────────────────────────┤
│ LangGraph │ ← Orchestration layer: graphs, loops, state
│ (nodes, edges, state, persistence) │
├─────────────────────────────────────────┤
│ LangChain │ ← Foundation layer: models, tools, chains
│ (models, tools, prompts, RAG) │
└─────────────────────────────────────────┘
```
### What It Covers
| Area | Capabilities |
|------|-------------|
| **Agent Patterns** | ReAct, Plan-and-Execute, Multi-Agent Supervisor, Functional Workflow (`@entrypoint` / `@task`) |
| **State Management** | `StateGraph`, TypedDict schemas, Reducers, `MessagesState`, input/output schemas |
| **Human-in-the-Loop** | `interrupt()` / `Command(resume=...)` — node-level, tool-level, multi-step review, validation loops |
| **Memory** | Short-term (Checkpointers) + Long-term (Store API with semantic search) — 3 types: Semantic, Episodic, Procedural |
| **Durable Execution** | `@task` memoization, durability modes (`sync` / `async` / `exit`), crash recovery |
| **Parallel Processing** | Map-Reduce fan-out via `Send`, parallel `@task` execution |
| **Deep Agents** | `create_deep_agent()`, TodoListMiddleware, FilesystemMiddleware, SubAgentMiddleware, SkillsMiddleware |
| **Anthropic Claude** | Extended Thinking (adaptive + budget), Prompt Caching (90% savings), Server Tools (web search), MCP Connector |
| **Observability** | LangSmith tracing, custom callbacks, streaming (v2 events), async execution |
### Reference Architecture (13 Files, ~130KB)
The skill uses a **progressive disclosure** pattern — the main `SKILL.md` provides core concepts and quick starts, while 13 specialized reference files contain detailed code examples:
```
skills/langchain-langgraph/
├── SKILL.md (21KB) # Core concepts, 4 quick starts, anti-patterns
└── references/
├── framework-selection.md # Decision guide: LangChain vs LangGraph vs Deep Agents
├── langchain-dependencies.md # Packages, versions, templates (Python + TypeScript)
├── langchain-fundamentals.md # create_agent(), @tool, Checkpointer, middleware
├── langchain-middleware.md # HumanInTheLoopMiddleware, structured output
├── langchain-rag.md # Document loaders, splitters, vector stores, retrieval
├── langgraph-fundamentals.md # StateGraph, nodes, edges, Command, Send, streaming
├── langgraph-human-in-the-loop.md # interrupt(), approval/validation workflows, parallel HITL
├── langgraph-persistence.md # Checkpointers, thread_id, time travel, Store, subgraph scoping
├── deep-agents-core.md # create_deep_agent(), Harness, SKILL.md format
├── deep-agents-memory.md # StateBackend, StoreBackend, CompositeBackend
├── deep-agents-orchestration.md # Sub-agents, TodoList planning, HITL approval
├── architecture_patterns.md (23KB) # 13 complete patterns: RAG, Supervisor, Map-Reduce, HITL, Memory Store
└── advanced_features.md (21KB) # Extended Thinking, Prompt Caching, MCP, LangSmith, Testing
```
### Routing Table
When you encounter a specific problem, the skill routes you to the right reference:
| Scenario | Reference File |
|----------|---------------|
| Choosing between LangChain / LangGraph / Deep Agents | `framework-selection.md` |
| Package installation, version conflicts, dependencies | `langchain-dependencies.md` |
| Using `create_agent()`, defining `@tool`, adding Checkpointer | `langchain-fundamentals.md` |
| Human-in-the-loop middleware, structured output | `langchain-middleware.md` |
| Building RAG pipelines, vector stores, text splitting | `langchain-rag.md` |
| Building `StateGraph`, designing nodes/edges, `Command`, `Send` | `langgraph-fundamentals.md` |
| Implementing `interrupt()`, approval workflows, validation loops | `langgraph-human-in-the-loop.md` |
| Checkpointer, `thread_id`, state history, time travel, Store | `langgraph-persistence.md` |
| Using Deep Agents (`create_deep_agent()`), Harness, SKILL.md | `deep-agents-core.md` |
| Deep Agent memory, filesystem backends | `deep-agents-memory.md` |
| Sub-agent delegation, TodoList planning, Deep Agent HITL | `deep-agents-orchestration.md` |
### Representative Example
```
User: "Build me a research assistant that searches the web,
asks for human approval before sending emails, and
remembers user preferences across sessions."
→ Agent generates: Multi-agent graph with HITL approval,
PostgresSaver checkpointer, InMemoryStore with semantic search,
web_search server tool, send_email tool with interrupt(),
all wired up and ready to run.
```
---
## 📦 Other Skills
Beyond the core engine, 8 complementary skills cover the full AI agent development stack:
| Skill | Purpose | Key Deliverables |
|-------|---------|-----------------|
| 🎯 **`prompt-engineering`** | Prompt quality & evaluation | 7-layer prompt hierarchy, Claude-specific techniques, Constitutional AI, LLM-as-Judge, A/B testing |
| 🔧 **`tool-design`** | Tool interface contracts | Consolidation principles, description engineering, error message design, MCP naming |
| 📚 **`rag-implementation`** | Knowledge retrieval | 5 RAG patterns (Hybrid, Multi-Query, HyDE, etc.), 4 vector stores, reranking, 2026 embedding models |
| 📊 **`instructor`** | Structured LLM output | Pydantic-first validation, auto-retry, streaming partial objects, multi-provider support |
| 💰 **`cost-optimization`** | Cost control | 3-tier
[truncated…]PUBLIC HISTORY
IDENTITY
Identity inferred from code signals. No PROVENANCE.yml found.
Is this yours? Claim it →METADATA
README BADGE
Add to your README:
