Community코딩 & 개발github.com

langchain-ai/langgraph-fundamentals

LangGraph 코드를 작성할 때 이 스킬을 호출하세요. StateGraph, 상태 스키마, 노드, 엣지, Command, Send, invoke, 스트리밍 및 오류 처리를 다룹니다.

langgraph-fundamentals란 무엇인가요?

이 스킬은 LangGraph를 이용한 AI 에이전트 및 워크플로우 구축에 필수적인 핵심 개념을 다룹니다. LangGraph는 LangChain 라이브러리의 일부로, 상태 기반 그래프를 통해 복잡한 에이전트 로직을 정의하고 실행할 수 있게 해줍니다. 이 스킬은 StateGraph 생성, 상태 스키마 정의, 노드 및 엣지 추가, 조건부 분기(Command 및 Send), 그래프 호출(invoke), 실시간 출력 스트리밍, 그리고 일반적인 오류 처리 패턴을 설명합니다. Claude Code, Cursor, Codex 등 다양한 AI 코딩 에이전트에서 활용 가능하며, 개발자가 LangGraph 코드를 작성할 때 일관된 가이드라인을 제공하여 생산성을 높입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/langgraph-fundamentals

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

langgraph-fundamentals은(는) 무엇을 하나요?

LangGraph 코드를 작성할 때 이 스킬을 호출하세요. StateGraph, 상태 스키마, 노드, 엣지, Command, Send, invoke, 스트리밍 및 오류 처리를 다룹니다.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

langchain-ai/deep-agents-core

INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.

langchain-ai/deep-agents-memory

INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.

langchain-ai/deep-agents-orchestration

INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.

langchain-ai/framework-selection

INVOKE THIS SKILL at the START of any LangChain/LangGraph/Deep Agents project, before writing any agent code. Determines which framework layer is right for the task: LangChain, LangGraph, Deep Agents, or a combination. Must be consulted before other agent skills.

langchain-ai/langchain-dependencies

INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph, LangSmith, or Deep Agents. Covers required packages, minimum versions, environment requirements, versioning best practices, and common community tool packages for both Python and TypeScript.

langchain-ai/langchain-fundamentals

Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.

langchain-ai/langchain-middleware

INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output. Covers HumanInTheLoopMiddleware for human approval of dangerous tool calls, creating custom middleware with hooks, Command resume patterns, and structured output with Pydantic/Zod.

langchain-ai/langchain-rag

INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).

langchain-ai/langgraph-human-in-the-loop

INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval/validation workflows, and the 4-tier error handling strategy.

langchain-ai/langgraph-persistence

INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.

langchain-ai/swarm

Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.

관련 스킬