martinpercu

Langchain Langgraph Agents Structure — AI skill for Claude Code

AI community

Production-ready template for complex AI agents using LangGraph and LangChain.

How to install Langchain Langgraph Agents Structure

This entry records only its repository, not the path inside it, so there is no exact command to give. Open martinpercu/Langchain-Langgraph_Agents-Structure and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Langchain Langgraph Agents Structure does

Production-ready template for complex AI agents using LangGraph and LangChain. Implements RAG, ReAct, routing, parallelization, and orchestrator patterns with FastAPI backend and PostgreSQL checkpoints

Alternatives in AI

  • Oh My Claudecode — 32 specialized agents and 7 execution modes for Claude Code, with smart model routing and automatic paralleliz 10.9k ★
  • LLM Wiki Compiler — Claude Code plugin that compiles markdown knowledge files into a topic-based wiki 224 ★
  • LLM Task Orchestrator — Top AI Router 2026: Split Codex for Quick Code & Claude for Complex Refactoring 115 ★

README

Langchain-Langgraph_Agents-Structure

Production-ready project template for building complex, stateful AI agents using **LangGraph** and **LangChain**. Features modular architecture, multiple workflow patterns, and persistent conversation history.

🎯 What's Inside

This repository demonstrates professional AI agent development with:

  • 6 Core Workflow Patterns: RAG, ReAct, Routing, Parallelization, Orchestrator-Worker, Evaluator-Optimizer
  • Modular Structure: Organized nodes/, routes/, and state.py for scalability
  • Production Features: FastAPI backend, PostgreSQL checkpoints, Docker support
  • Advanced Prompting: Jinja2 templates for fine-grained prompt control

🤖 Implemented Workflows

Workflow Description Use Case
Basic Agent Linear graph with LLM integration Simple chatbots
RAG Retrieval-Augmented Generation with vector stores Knowledge-based assistants
ReAct & Tools Reasoning and Acting pattern with external tools Multi-capability agents
Conditional Routing Dynamic decision-making between paths Intent-based routing
Parallelization Execute multiple nodes simultaneously Concurrent processing
Orchestrator-Worker Coordinator node distributes work Complex multi-step tasks
Evaluator-Optimizer Feedback loop for iterative improvement Quality refinement

🛠️ Tech Stack

  • AI Framework: LangGraph, LangChain
  • LLMs: OpenAI, Anthropic Claude, Google Gemini
  • Backend: FastAPI with async support
  • Database: PostgreSQL with langgraph-checkpoint-postgres
  • Templating: Jinja2
  • Package Manager: uv
  • Containerization: Docker Compose

🚀 Quick Start

# Install uv package manager
curl -LsSf https://astral.sh/uv/install.sh | sh

# Setup environment
uv venv
uv sync

# Run development server
uv run langgraph dev

# Or run FastAPI backend
uv run uvicorn api.main:app --reload

📁