langgraph
Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications.
Skill by AndrewHaward2310
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/andrewhaward2310-langgraph
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/langgraph
What's inside
- Skill name
langgraph- Description
- 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.
- License
- MIT
- Instructions
- 283 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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) -> str:
"""Evaluate a math expression."""
return str(eval(expression))
tools = [search, calculator]
# 3. Create LLM with tools
llm = ChatOpenAI(model="gpt-4o").bind_tools(tools)
# 4. Define Nodes
def agent(state: AgentState) -> dict:
"""The agent node - calls LLM."""
response = llm.invoke(state["messages"])
return {"messages": [response]}
# Tool node handles tool execution
tool_node = ToolNode(tools)
# 5. Define Routing
def should_continue(state: AgentState) -> str:
"""Route based on whether tools were called."""
last_message = state["messages"][-1]
if last_message.tool_calls:
return "tools"
return END
# 6. Build Graph
graph = StateGraph(AgentState)
# Add nodes
graph.add_node("agent", agent)
graph.add_node("tools", tool_node)
# Add edges
graph.add_edge(START, "agent")
graph.add_conditional_edges("agent", should_continue, ["tools", END])
graph.add_edge("tools", "agent") # Loop back
# Compile
app = graph.compile()
# 7. Run
result = app.invoke({
"messages": [("user", "What is 25 * 4?")]
})
```
### State with Reducers
Complex state management with custom reducers
**When to use**: Multiple agents updating shared state
```python
from typing import Annotated, TypedDict
from operator import add
from langgraph.graph import StateGraph
# Custom reducer for merging dictionaries
def merge_dicts(left: dict, right: dict) -> dict:
return {**left, **right}From AndrewHaward2310/.agents, MIT.
More from AndrewHaward2310/.agents
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langfuse
AndrewHaward2310
Expert in Langfuse - the open-source LLM observability platform.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache…
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-library
AndrewHaward2310
Curated collection of high-quality prompts for various use cases.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9 - 0.406score
research-engineer
AndrewHaward2310
An uncompromising Academic Research Engineer.
SkillDFreshness: DClaude Code +9 - 0.401score
llm-app-patterns
AndrewHaward2310
Production-ready patterns for building LLM applications.
SkillDFreshness: DClaude Code +9 - 0.390score
mcp-builder
AndrewHaward2310
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 10, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AndrewHaward2310/.agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AndrewHaward2310
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langfuse
AndrewHaward2310
Expert in Langfuse - the open-source LLM observability platform.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache…
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-library
AndrewHaward2310
Curated collection of high-quality prompts for various use cases.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9
Cite this page
langgraph skill. Agent Mart. https://agentmart.dev/skills/andrewhaward2310-langgraph (last updated 2026-10-24)