langgraph-orchestration

langgraph-orchestration is a skill for Claude Code, Codex, Cursor from vpeetla-ai/react-agent-pattern. It costs 52 tokens per session (366 once invoked), scanned A, a copy of langgraph-orchestration, MIT.

A guide for building LangGraph StateGraph agents, which are workflows made from connected steps that share information and make decisions.

In plain words
What is it for?
Use it to add orchestrators, coding loops, specialist steps, quality checks, conditional routing, saved memory, and human-in-the-loop pauses.
Why use it?
It provides a consistent structure for multi-step and multi-agent workflows, including retries, iteration limits, and human approval points.

Skill for Claude CodeCodexCursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/vpeetla-ai/react-agent-pattern/langgraph-orchestration
Any agent
npx skills add vpeetla-ai/react-agent-pattern --skill langgraph-orchestration
Clone the repo
git clone --depth 1 https://github.com/vpeetla-ai/react-agent-pattern

Made for: Claude Code, Codex, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langgraph-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/skills/vpeetla-ai/react-agent-pattern/langgraph-orchestration.svg)](https://agentmods.dev/skills/vpeetla-ai/react-agent-pattern/langgraph-orchestration)
Your own site
<a href="https://agentmods.dev/skills/vpeetla-ai/react-agent-pattern/langgraph-orchestration"><img src="https://agentmods.dev/badge/skills/vpeetla-ai/react-agent-pattern/langgraph-orchestration.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00052 $0.00366
Opus 5 $0.00026 $0.00183
Sonnet 5 $0.00010 $0.00073
Haiku 4.5 $0.00005 $0.00037

Measured 3d ago against content hash ff51bf677029, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

langgraph-orchestration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to langgraph-orchestration — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/langgraph-orchestration/SKILL.md · 56 lines

What it actually says

LangGraph Orchestration

Standard pattern

START → observe/plan → specialist nodes → evaluate → route (retry|pass|hitl) → END

State

  • Use TypedDict with total=False for optional fields
  • Accumulate trace_events explicitly (list replacement per node unless using reducer)
  • Set max_iterations in state; enforce in routing

Nodes

  • Async wrappers: async def n_x(state): return sync_node(state, deps)
  • One responsibility per node (orchestrate, act, review, quality)
  • Return partial state updates only

Routing

builder.add_conditional_edges("quality", route_fn, {"retry": "plan", "pass": "ship", "escalate": "hitl"})
  • Security failures → escalate/HITL
  • Max iterations → escalate, never infinite loop

HITL

graph.compile(checkpointer=MemorySaver(), interrupt_before=["hitl"])

Resume with graph.ainvoke(update, config) after human approval.

Reference implementations

  • loop-engine-agent-platform/src/loop_engine/graph/build.py
  • loop-engine-agent-platform/src/loop_engine/graph/repo_build.py
  • venkat-ai-platform orchestrators

Tests

  • Mock LLM for deterministic paths
  • pytest.mark.asyncio + tmp_path for filesystem side effects
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 56 lines · 52 tokens per session scan A ff51bf677029

Subscribe to this mod's changes

langgraph-orchestration is a skill published in the GitHub repository vpeetla-ai/react-agent-pattern (2 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 366 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to langgraph-orchestration, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

aegis-gateway

Integrate AegisAI gateway before tool side effects (notify, publish, deploy). Use when adding Slack/Telegram/WhatsApp notify, content publish, or any irreversible external action in VAP, AegisLoop, or ai-content-factory.

vpeetla-ai/multi-agent-system-pattern · 58 tokens

deploy-vercel-render

Deploy vpeetla-ai demos: Vercel static/Next.js frontends, Render FastAPI backends, env vars, free tier gotchas. Use when shipping demos, fixing deploy failures, or adding render.yaml / vercel.json.

vpeetla-ai/multi-agent-system-pattern · 55 tokens

hitl-side-effects

Add human-in-the-loop gates for irreversible actions: LangGraph interruptbefore, AegisAI approval queue, UI approve/resume endpoints. Use when shipping, publishing, notifying, or merging agent-generated changes.

vpeetla-ai/multi-agent-system-pattern · 47 tokens

langgraph-orchestration

Build or modify LangGraph StateGraph agents in vpeetla-ai repos: typed state, nodes, conditional edges, MemorySaver, interruptbefore HITL. Use when adding orchestrators, coding loops, or multi-agent graphs.

vpeetla-ai/multi-agent-system-pattern · 52 tokens

portfolio-adr

Write ADRs, case studies, and portfolio copy for ai-architecture-portfolio and venkat-ai-portfolio. Use when documenting decisions, updating ecosystem pages, or syncing GitHub profile README with live demos.

vpeetla-ai/multi-agent-system-pattern · 46 tokens

rag-governance

Implement access-aware RAG in Enterprise RAG or VAP: hybrid retrieval, rerank, citations, AegisAI HITL for sensitive chunks. Use when tuning retrieval, adding Qdrant adapter, or wiring enterpriseragplatform.

vpeetla-ai/multi-agent-system-pattern · 54 tokens