AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Langchain Agent Builder Skills

mcp-ferzat0918-langchain-agent-builder-skills · by ferzat0918

Production-ready skill library for building LangGraph AI agents — RAG, multi-agent, HITL, memory, cost optimization, and MCP integration.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add mcp-ferzat0918-langchain-agent-builder-skills

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ferzat0918-langchain-agent-builder-skills)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Langchain Agent Builder Skills? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

🤖 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.


🧭 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 model routing, Prompt Caching, Token Budget Guardian, context compression, Batch API | | 🔌 mcp-builder | MCP server development | 4-phase process, tool annotations, evaluation framework, TypeScript + Python guides | | 🚀 fastapi | API serving | Streaming endpoints (SSE, JSON Lines), dependency injection, async patterns, modern toolchain | | 🛠️ skill-creator | Meta-tooling | Create, evaluate, and improve new skills in this format |


⚡ What You Can Build

| System | Skills Used | |---|---| | Autonomous research agent with web search, memory, and email approval | langchain-langgraph + prompt-engineering + cost-optimization | | Document Q&A chatbot over proprietary PDFs with source citations | langchain-langgraph + rag-implementation + prompt-engineering | | Multi-agent content pipeline (researcher → writer → reviewer) | langchain-langgraph + tool-design + cost-optimization | | Structured data extraction API from unstructured documents | instructor + fastapi + prompt-engineering | | Agent with MCP-powered database tools | mcp-builder + langchain-langgraph + tool-design | | Cost-aware customer support agent with long-term user memory | All skills combined |


🏁 Getting Started

Prerequisites

# Core (always required)
pip install langchain langchain-core langgraph langsmith

# Model provider (choose one)
pip install langchain-anthropic    # For Claude
# pip install langchain-openai     # For GPT-4o / o3

# Production persistence
pip install langgraph-checkpoint-postgres

# Optional: Deep Agents framework
pip install deepagents

Environment Setup

cp .env.example .env
# Fill in your API keys:
# ANTHROPIC_API_KEY=sk-ant-...
# LANGSMITH_API_KEY=ls__...
# LANGSMITH_TRACING=true

How to Use These Skills

These skills are designed to be read by AI coding assistants that support the skills protocol (e.g., Gemini, Claude with project files).

Point your assistant at the skills/ directory. When you start a task, the assistant automatically finds and reads the relevant skill(s) before generating code.

> No framework? Just reference the skill files directly in your system prompt or context window.


📁 Repository Structure

langchain-agent-builder-skills/
│
├── README.md
├── .gitignore
│
└── skills/
    ├── langchain-langgraph/          # 🏗️ Core agent framework (21KB + 13 references)
    │   ├── SKILL.md                  #    Main skill: concepts, quick starts, anti-patterns
    │   └── references/               #    13 specialized reference files (~130KB total)
    │       ├── framework-selection.md
    │       ├── langchain-dependencies.md
    │       ├── langchain-fundamentals.md
    │       ├── langchain-middleware.md
    │       ├── langchain-rag.md
    │       ├── langgraph-fundamentals.md
    │       ├── langgraph-human-in-the-loop.md
    │       ├── langgraph-persistence.md
    │       ├── deep-agents-core.md
    │       ├── deep-agents-memory.md
    │       ├── deep-agents-orchestration.md
    │       ├── architecture_patterns.md
    │       └── advanced_features.md
    │
    ├── prompt-engineering/           # 🎯 Prompt quality & evaluation
    ├── tool-design/                  # 🔧 Tool interface contracts
    ├── rag-implementation/           # 📚 Knowledge retrieval (5 patterns)
    ├── instructor/                   # 📊 Structured LLM output
    ├── cost-optimization/            # 💰 Cost control strategies
    ├── mcp-builder/                  # 🔌 MCP server development
    ├── fastapi/                      # 🚀 API serving
    └── skill-creator/                # 🛠️ Meta-tooling

🔗 Related Projects & Resources

  • LangGraph — The agent orchestration framework these skills are built for
  • LangChain — The broader ecosystem
  • Anthropic Claude — The LLM powering most examples here
  • LangSmith — Observability & evaluation for LangGraph agents
  • FastMCP — Python MCP server framework used in mcp-builder
  • Instructor — Structured outputs library used in instructor skill

🤝 Contributing

Found a missing pattern? Got a better example? Skills evolve.

  1. Fork the repo
  2. Create a branch: git checkout -b feat/new-pattern
  3. Add your changes with clear examples and explanations
  4. Open a PR with a description of what problem it solves

📄 License

MIT © ferzat0918


If this saves you hours of documentation diving, consider giving it a ⭐

Built with obsessive attention to what actually works in production.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.