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

Langgraph

skill-ultroncore-claude-skill-vault-langgraph · by UltronCore

Build stateful multi-actor AI applications with LangGraph: cyclic graphs, agent workflows, fine-grained state/flow/memory control.

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

Install

$ agentstack add skill-ultroncore-claude-skill-vault-langgraph

✓ 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 No
  • Dynamic code execution Used

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/skill-ultroncore-claude-skill-vault-langgraph)

Reliability & compatibility

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

Declared compatibility

Claude CodeClaude Desktop

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 Langgraph? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

LangGraph Skill

Overview

LangGraph is a library for building stateful, multi-actor AI applications with LLMs. It extends LangChain to support cyclic graphs, enabling sophisticated agent workflows with fine-grained control over state, flow, and memory.

Key Concepts

Graph Types

  • StateGraph: Primary graph type with shared state schema across nodes
  • MessageGraph: Simplified graph where state is a list of messages

Core Components

  • Nodes: Python functions or runnables that read/write state
  • Edges: Connections between nodes (conditional or fixed)
  • State: Typed dict schema shared across all nodes
  • Checkpointers: Persist state between runs (memory, SQLite, Postgres)

Basic Usage

from langgraph.graph import StateGraph, END
from typing import TypedDict, Annotated
import operator

class AgentState(TypedDict):
    messages: Annotated[list, operator.add]
    next: str

def agent_node(state: AgentState):
    return {"messages": [response], "next": "tool" if needs_tool else END}

def tool_node(state: AgentState):
    return {"messages": [tool_result]}

graph = StateGraph(AgentState)
graph.add_node("agent", agent_node)
graph.add_node("tools", tool_node)
graph.set_entry_point("agent")
graph.add_conditional_edges("agent", lambda s: s["next"], {"tool": "tools", END: END})
graph.add_edge("tools", "agent")

app = graph.compile()
result = app.invoke({"messages": [HumanMessage(content="Hello")], "next": ""})

ReAct Agent (Prebuilt)

from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools=[search_tool, calculator_tool])
result = agent.invoke({"messages": [("user", "What is 2+2?")]})

Persistence / Memory

from langgraph.checkpoint.memory import MemorySaver
from langgraph.checkpoint.sqlite import SqliteSaver

checkpointer = SqliteSaver.from_conn_string("checkpoints.db")
app = graph.compile(checkpointer=checkpointer)

config = {"configurable": {"thread_id": "user-123"}}
result = app.invoke(input, config=config)

Human-in-the-Loop

from langgraph.graph import interrupt

def approval_node(state):
    decision = interrupt("Approve this action? (yes/no)")
    return {"approved": decision == "yes"}

app = graph.compile(checkpointer=checkpointer, interrupt_before=["approval"])
app.invoke(Command(resume="yes"), config=config)

Streaming

for chunk in app.stream(input, stream_mode="values"):
    print(chunk)

async for chunk in app.astream(input):
    print(chunk)

Installation

pip install langgraph
pip install langgraph-checkpoint-sqlite
pip install langgraph-checkpoint-postgres

Key Tips

  • Use Annotated[list, operator.add] for accumulating state fields
  • Always compile with checkpointer for stateful/conversational apps
  • Use interrupt_before/interrupt_after for human-in-the-loop workflows
  • Sub-graphs can be compiled and used as nodes in parent graphs
  • Fan-out to parallel nodes: graph.add_edge("start", ["node_a", "node_b"])

Related Skills

  • langchain — LangChain foundation
  • multi-agent-orchestration — multi-agent patterns
  • crewai — alternative agent framework

GitNexus Index

This skill is indexed by GitNexus for knowledge graph traversal. Index path: /Users/localuser/.claude/skills/langgraph/.gitnexus Last indexed: 2026-05-23

Source & license

This open-source skill 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.