skills/langgraph-multiagent/SKILL.md
Architect-level development, audit, and migration of multi-agent systems using LangGraph (v1+) and LangChain (v1+). Use when building or refactoring supervisor/subagent architectures, orchestrator-worker workflows, routing/hand-offs, agentic RAG, memory (short + long-term), state + context engineering, guardrails + human-in-the-loop, MCP tool integration, observability (LangSmith/OpenTelemetry), deployment, and performance/cost optimization — or when migrating off deprecated patterns like `langgraph.prebuilt.create_react_agent` and libraries like `langgraph-supervisor(-py)`, LlamaIndex agents, CrewAI, Agno, or OpenAI Agents.
npx skillsauth add bjornmelin/dev-skills langgraph-multiagentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build, review, and modernize production-grade multi-agent systems with LangGraph/LangChain while staying version-accurate by default: always resolve the current APIs from docs + installed versions, and fall back to opensrc/ source snapshots for under-the-hood edge cases.
importlib.metadata).langchain-docs.SearchDocsByLangChain.opensrc/ (read-only):
npx opensrc pypi:<package>@<version> --modify=falseopensrc/sources.json and cite exact opensrc/... paths + versions in your writeup.Use references/research_playbook.md when you need a rigorous doc-sweep, including llms.txt-driven crawling of LangGraph docs.
python scripts/audit_repo_agents.py --root . (from the skill folder)python scripts/audit_repo_agents.py --root . --json agent_audit.jsonpython scripts/generate_migration_plan.py --audit-json agent_audit.json --out migration_plan.mdlangchain-docs.SearchDocsByLangChain using queries from references/docs_index.mdpython scripts/opensrc_snapshot.py --packages langgraph langchain langchain-core (from the skill folder)python scripts/fetch_llms_txt_urls.py --print --unique (from the skill folder)references/doc_crawl_targets.mdpython scripts/crawl_docs.py --llms-txt https://langchain-ai.github.io/langgraph/llms.txt --allow-prefixes https://langchain-ai.github.io/langgraph/ --out-dir docs_cache_langgraph (from the skill folder)references/langchain_create_agent_middleware.md: create_agent + middleware hooks + migration mappings.references/langchain_multiagent_handoffs.md: choosing between subagents vs handoffs vs multi-node subgraphs.references/langgraph_graph_api_primitives.md: reducers, Send API, subgraphs, and common error codes.references/memory_and_context_engineering.md: state vs store vs runtime context; memory design.references/mcp_integration_patterns.md: MCP client/interceptors and ToolRuntime-driven auth/DI.references/testing_evaluation.md: tests + eval strategy for safe migrations.references/deployment_agent_server.md: langgraph.json and Agent Server deployment basics.references/security_threat_model.md: threat model + mitigations for tool calling systems.references/upgrades_and_versioning.md: repeatable upgrade process.references/audit_and_migration_methodology.md: end-to-end audit→plan→execute methodology.references/api_map_python.md: import-path cheat sheet (verify for your version).references/ui_nextjs_rsc.md: Next.js App Router (RSC) + React UI integration (Agent Server + useStream).references/ui_nextjs_ai_sdk.md: Next.js App Router using AI SDK v6 (useChat) + Streamdown (alternative UI stack).references/ui_fastapi_backend.md: FastAPI backend patterns for in-process agents or Agent Server BFF/proxy.references/ui_streaming_protocol.md: simple SSE event protocol for custom UI backends.references/ui_streamlit.md: Streamlit UI integration patterns (streaming + HITL).Use references/patterns.md for design templates and “gotchas” per topology.
scripts/audit_repo_agents.py and expand it with repo-specific patterns if needed.langgraph.prebuilt.create_react_agent usage should move to langchain.agents.create_agent.Use references/migration_supervisor.md and references/migration_other_frameworks.md for playbooks.
Use references/performance_cost.md for checklists and tactics.
scripts/: deterministic helpers (audits, llms.txt extraction, opensrc snapshot runner)references/: playbooks + templates for docs research, patterns, migrations, safety, observability, and performanceassets/: copy/paste templates for Python + UI integrations (Next.js, FastAPI, Streamlit)Start with references/docs_index.md and references/research_playbook.md.
development
Repo/monorepo modernization: dependency upgrades, security fixes, deprecation cleanup, framework migrations, dependency-native refactors, and verified hard-cut simplification.
development
Use this skill for Browser Web Animations API: Element.animate(), Animation, KeyframeEffect, playback control, generated keyframes, cancel/finish, commitStyles, and cleanup. Trigger on Element.animate, WAAPI, Web Animations API, KeyframeEffect, Animation object, commitStyles. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
tools
Use this skill for Three.js, React Three Fiber, Drei, Canvas/createRoot lifecycle, loaders, GLTF, useFrame, disposal, SSR/client boundaries, DPR, and browser proof. Trigger on Three.js, THREE, @react-three/fiber, @react-three/drei, R3F Canvas, useFrame, GLTF, WebGLRenderer. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
development
Use this skill for Tailwind CSS v4 transition, animation, duration, easing, motion-safe/motion-reduce, @theme motion tokens, and static class safety. Trigger on Tailwind animation, transition-all, motion-safe, motion-reduce, @theme, animate-, duration-. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.