> LangGraph Agent Workflows
Build stateful multi-step AI agent workflows with LangGraph. Graphs, nodes, conditional edges.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/langgraph-workflows?format=md"SKILL.md•LangGraph Agent Workflows
LangGraph
Basic Agent Graph
from langgraph.graph import StateGraph, END
from typing import TypedDict
class AgentState(TypedDict):
messages: list
next_step: str
def call_model(state: AgentState) -> AgentState:
response = llm.invoke(state["messages"])
return {"messages": state["messages"] + [response]}
def should_continue(state: AgentState) -> str:
if state["messages"][-1].tool_calls:
return "tools"
return END
graph = StateGraph(AgentState)
graph.add_node("agent", call_model)
graph.add_node("tools", tool_executor)
graph.add_conditional_edges("agent", should_continue, {"tools": "tools", END: END})
graph.add_edge("tools", "agent")
graph.set_entry_point("agent")
app = graph.compile()
result = app.invoke({"messages": [HumanMessage("What's the weather?")]})
Checkpointing for persistence, human-in-the-loop, branching, subgraphs
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.
┌ stats
installs/wk0
░░░░░░░░░░first seenMar 18, 2026
└────────────