Agent skill · magnus919

langgraph

Build multi-agent AI systems with LangGraph — the low-level orchestration

What it needs

About 6k tokens when loaded.

What this skill does

LangGraph LangGraph is LangChain's low-level orchestration framework for building stateful, long-running, multi-agent AI workflows using directed graph architectures (inspired by Pregel/Beam and NetworkX). It models agents as nodes in a graph, with edges controlling flow — enabling cycles, conditional branching, parallel execution, human-in-the-loop, and subgraph composition that linear chains cannot express. This skill covers all major patterns for building and deploying LangGraph systems: core graph architecture, the three canonical multi-agent patterns (supervisor, swarm, hierarchical), persistence and state management, production debugging, and evaluation methodology. Before you begin: Install dependencies: Quick Start Create your first LangGraph agent in under 10 lines: Next steps: 1. Use the Pattern Selection Guide below to choose supervisor, swarm, or hierarchical architecture — each pattern links to its recommended template 2. Load the corresponding reference file for the deep pattern walkthrough 3. Use the Choosing Your Starting Point table below to pick scaffold, template, or reference based on your task 4. For a complete runnable example matching your pattern, use the linked template in assets/templates/ Design Principles — These Govern Every Graph Decision 1. State is the source of truth — all inter-node communication happens through state, not through side channels or global variables. 2. Nodes are pure-ish — a node receives state, does work, returns updates. It should not depend on state that isn't passed to it. 3. Reducers prevent conflicts — any state key written by multiple nodes in parallel MUST have a reducer. 4. Start simple — a single agent with good prompts beats a multi-agent system with bad routing. Add agents only when a single prompt or toolset becomes unwieldy. 5. Use Send() for dynamic fan-out — when you don't know how many workers you'll need at compile time, spawn them dynamically from the orchestrator node. 6. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills magnus919/langgraph

View the source on GitHub

Browse the @skills marketplace