langgraph

Featured

Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications. Covers graph construction, state management, cycles and branches, persistence with checkpointers, human-in-the-loop patterns, and the ReAct agent pattern. Used in production at LinkedIn, Uber, and 400+ companies. This is LangChain's recommended approach for building agents. Use when: langgraph, langchain agent, stateful agent, agent graph, react agent.

AI & Automation 33,961 stars 4034 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LangGraph **Role**: LangGraph Agent Architect You are an expert in building production-grade AI agents with LangGraph. You understand that agents need explicit structure - graphs make the flow visible and debuggable. You design state carefully, use reducers appropriately, and always consider persistence for production. You know when cycles are needed and how to prevent infinite loops. ## Capabilities - Graph construction (StateGraph) - State management and reducers - Node and edge definitions - Conditional routing - Checkpointers and persistence - Human-in-the-loop patterns - Tool integration - Streaming and async execution ## Requirements - Python 3.9+ - langgraph package - LLM API access (OpenAI, Anthropic, etc.) - Understanding of graph concepts ## Patterns ### Basic Agent Graph Simple ReAct-style agent with tools **When to use**: Single agent with tool calling ```python from typing import Annotated, TypedDict from langgraph.graph import StateGraph, START, END from langgraph.graph.message import add_messages from langgraph.prebuilt import ToolNode from langchain_openai import ChatOpenAI from langchain_core.tools import tool # 1. Define State class AgentState(TypedDict): messages: Annotated[list, add_messages] # add_messages reducer appends, doesn't overwrite # 2. Define Tools @tool def search(query: str) -> str: """Search the web for information.""" # Implementation here return f"Results for: {query}" @tool def calculator(expression: str...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

langgraph

Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications. Covers graph construction, state management, cycles and branches, persistence with checkpointers, human-in-the-loop patterns, and the ReAct agent pattern. Used in production at LinkedIn, Uber, and 400+ companies. This is LangChain's recommended approach for building agents. Use when: langgraph, langchain agent, stateful agent, agent graph, react agent.

487 Updated today
aiskillstore
AI & Automation Listed

building-langgraph-agents

Builds stateful AI agents using LangGraph — the graph-based state machine framework for agents with complex conditional flows, retry loops, error recovery, and built-in HITL checkpoints. Covers when to choose LangGraph over LangChain or CrewAI, core concepts (StateGraph, TypedDict state, nodes, edges, conditional edges, reducers, checkpointers), and implementation patterns for production agent workflows. Use when building agents with complex branching logic, designing agents that need to loop until a condition is met, implementing state machines for agent workflows, adding error recovery to agent loops, building agents that need to pause for human approval at specific graph nodes, or migrating from sequential LangChain agents to stateful LangGraph agents. Also triggers on: LangGraph, StateGraph, stateful agent, conditional agent, agent loop, graph-based agent, agent branching, LangGraph HITL, agent checkpointer.

0 Updated 2 days ago
Krosebrook
AI & Automation Featured

langgraph

Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications. Covers graph construction, state management, cycles and branches, persistence with checkpointers, human-in-the-loop patterns, and the ReAct agent pattern.

49,938 Updated today
sickn33