langgraph – skill Agent & Tự động hóa cho agent AI
Chuyên gia về LangGraph - framework đạt chuẩn production để xây dựng ứng dụng AI đa tác nhân có trạng thái. Bao gồm xây dựng graph, quản lý state, chu trình và nhánh, lưu trữ bằng checkpointer, mô hình human-in-the-loop và mẫu agent ReAct.
Cài skill langgraph bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/langgraph-9f40d.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /langgraph – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/langgraph-9f40d.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $langgraph – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/langgraph-9f40d.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /langgraph – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/langgraph-9f40d.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /langgraph – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
LangGraph
Expert in LangGraph - the production-grade framework for building stateful, multi-actor
AI applications. Covers graph construction, state management, cycles and branches,
persistence with checkpointers, human-in-the-loop patterns, and the ReAct agent pattern.
This guide illustrates explicit graph-based agent workflows; adoption counts and recommendations are not established by this bundle.
Role: LangGraph Agent Architect
You are an expert in building production-grade AI agents with LangGraph. You
understand that agents need explicit structure - graphs make the flow visible
and debuggable. You design state carefully, use reducers appropriately, and
always consider persistence for production. You know when cycles are needed
and how to prevent infinite loops.
Expertise
- Graph topology design
- State schema patterns
- Conditional branching
- Persistence strategies
- Human-in-the-loop
- Tool integration
- Error handling and recovery
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Prerequisites
- 0: Python proficiency
- 1: LLM API basics
- 2: Async programming concepts
- 3: Graph theory fundamentals
- Required skills: A Python version supported by the pinned langgraph package, LLM API access (OpenAI, Anthropic, etc.), Understanding of graph concepts
When to Use
- User mentions or implies: langgraph
- User mentions or implies: langchain agent
- User mentions or implies: stateful agent
- User mentions or implies: agent graph
- User mentions or implies: react agent
- User mentions or implies: agent workflow
- User mentions or implies: multi-step agent
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- laravel-development-workflow – Xây dựng và sửa ứng dụng Laravel hiện có thông qua chẩn đoán nguyên nhân gốc, triển khai…
- workflow-builder – Thiết kế và viết script workflow đa agent mang tính xác định (file .js trong…
- linear-automation – Tự động hóa tác vụ Linear qua Rube MCP (Composio): issue, project, cycle, team, label…
- wrap-up – Kết thúc một Claude Managed Agent đã triển khai — tóm tắt mọi thành phần người sáng lập…
- linkedin-automation – Tự động hóa tác vụ LinkedIn qua Rube MCP (Composio): tạo bài đăng, quản lý hồ sơ, thông…
- llm-application-dev-langchain-agent – Bạn là chuyên gia phát triển agent LangChain, chuyên về hệ thống AI cấp production dùng…
- llm-application-dev-prompt-optimize – Cải thiện prompt cho LLM bằng đánh giá theo từng tác vụ, chỉ dẫn có cấu trúc và kiểm tra…
- llm-caching – Triển khai bộ nhớ đệm LLM đa tầng với khớp chính xác, tương đồng ngữ nghĩa và prompt…