Community코딩 & 개발github.com

langchain-ai/langgraph-persistence

LangGraph의 상태 유지, 대화 기억, 기록 탐색, 서브그래프 체크포인터 범위 구성을 지원합니다. 체크포인터, thread_id, 시간 여행, Store, 서브그래프 지속성 모드를 포함합니다.

langgraph-persistence란 무엇인가요?

이 스킬은 LangGraph 애플리케이션에서 상태 지속성(persistence)을 구현해야 할 때 사용됩니다. LangGraph는 대화형 에이전트나 워크플로우 실행 중에 상태를 체크포인트로 저장하여, 시스템 재시작이나 중단 후에도 이전 상태를 복원할 수 있습니다. 주요 기능으로는 thread_id를 통한 대화 세션 식별, 체크포인터(checkpointer)를 통한 상태 저장/복원, 시간 여행(time travel)을 통한 과거 상태로의 롤백, Store를 통한 외부 데이터 저장소 연동 등이 있습니다. 또한 서브그래프(subgraph) 단위로 체크포인터 범위를 설정하는 모드도 지원하여, 복잡한 다중 그래프 구조에서도 세밀한 상태 관리가 가능합니다. 이 스킬은 CLI 도구, Python SDK, JavaScript SDK 등 다양한 플랫폼에서 활용할 수 있으며, LangGraph의 persistence 기능을 최대한 활용하려는 개발자에게 필수적입니다.

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

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

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

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

문서

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

LangGraph가 상태를 유지하고, 대화를 기억하며, 기록을 탐색하거나 서브그래프 체크포인터 범위를 구성해야 할 때 이 스킬을 호출하세요. 체크포인터, thread_id, 시간 여행, Store, 서브그래프 지속성 모드를 다룹니다.

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-fundamentals

INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.

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/swarm

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

관련 스킬