Chuyển đến nội dung
Skillpedia
Agent48k · #5026

langgraph

Skill này làm gì

LangGraph là công cụ xây dựng các chương trình AI biết ghi nhớ và đưa ra quyết định qua nhiều bước. Nó giúp tổ chức quy trình làm việc của AI, cho phép xử lý các tác vụ phức tạp một cách có cấu trúc.

Khi nào nên dùng

  • ✓Khi bạn cần AI ghi nhớ thông tin giữa các bước.
  • ✓Khi xây dựng một AI agent dùng nhiều công cụ hoặc nhiều bước.
  • ✓Khi muốn tạo các quy trình AI có thể lặp lại hoặc rẽ nhánh theo nhiều hướng khác nhau.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/langgraph/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/langgraph/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để dùng LangGraph xây dựng một agent tìm kiếm thông tin rồi tóm tắt lại?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

LangGraph hoạt động bằng cách định nghĩa một 'graph' trong đó mỗi nút là một bước AI và các mũi tên cho thấy AI di chuyển giữa các bước như thế nào. Nó quản lý 'state' (thông tin AI ghi nhớ) và cho phép vòng lặp hoặc nhánh rẽ cho các đường đi khác nhau.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết 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. Used in production at LinkedIn, Uber, and 400+ companies. This is LangChain's recommended approach for building agents.

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 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: Python 3.9+, 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.
Câu hỏi thường gặp

AI 'agent' là gì?

AI agent là chương trình có thể suy nghĩ, lập kế hoạch và thực hiện hành động để đạt mục tiêu, dùng các công cụ như truy cập internet hoặc các chức năng khác.

'Stateful' nghĩa là gì?

'Stateful' nghĩa là chương trình (ở đây là AI) ghi nhớ thông tin từ các tương tác trước, nhờ đó có thể xây dựng dựa trên những gì đã xảy ra.

Mẫu ReAct là gì?

ReAct là mẫu trong đó AI suy nghĩ (Reasoning) về việc cần làm rồi hành động (Acting), lặp lại chu trình này cho đến khi đạt mục tiêu.

Chi tiết

Mô tả gốc của tác giả

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.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5026
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự