langgraph-ai

作者 piyushagni5已验证

LangGraph AI Repository

113
Stars
61
Forks
Jupyter Notebook
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/piyushagni5/langgraph-ai

快速入门

使用 langgraph-ai 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

LangGraph AI Repository

A comprehensive collection of LangGraph implementations, tutorials, and advanced AI workflows covering Agentic RAG systems, MCP (Model Context Protocol) development, and practical AI application patterns.

Overview

This repository serves as a implementation guide for building sophisticated AI applications using LangGraph. It contains practical examples, tutorials, and production-ready implementations across multiple domains:

  • Agentic RAG Systems: Advanced retrieval-augmented generation with adaptive routing and self-correction mechanisms
  • MCP Development: Complete Model Context Protocol server and client implementations
  • Workflow Patterns: Orchestration patterns for complex AI workflows
  • Human-in-the-Loop Systems: Interactive AI systems with human oversight
  • Advanced RAG Agents: Sophisticated retrieval and generation systems

Repository Structure

langgraph-ai/
├── rag/
│   ├── rag-from-scratch/
│   │   └── 1_rag_overview.ipynb
│   ├── rag-agents/
│   │   ├── Building an Advanced RAG Agent.ipynb
│   │   └── rag-as-tool-in-langgraph-agents.ipynb
│   ├── agentic-rag/
│   │   ├── agentic-rag-systems/
│   │   │   └── building-adaptive-rag/
│   │   └── agentic-workflow-pattern/
│   │       ├── 1-prompting_chaining.ipynb
│   │       ├── 2-routing.ipynb
│   │       ├── 3-parallelization.ipynb
│   │       ├── 4-orchestrator-worker.ipynb
│   │       └── 5-Evaluator-optimizer.ipynb
├── mcp/
│   ├── 01-build-your-own-server-client/
│   ├── 02-build-mcp-client-with-multiple-server-support/
│   ├── 03-build-mcp-server-client-using-sse/
│   └── 04-build-streammable-http-mcp-client/
├── langgraph-cookbook/
│   ├── human-in-the-loop/
│   │   ├── 01-human-in-the-loop.ipynb
│   │   ├── 02-human-in-the-loop.ipynb
│   │   └── 03-human-in-the-loop.ipynb
│   └── tool-calling -vs-react.ipynb
├── .gitignore
├── .gitmodules
├── README.md
└── requirements.txt

Prerequisites

Before setting up this repository, ensure you have the following installed:

  • Python 3.10 or higher (depends on the project)
  • UV package manager (recommended) or pip
  • Git

Installation and Setup

Step 1: Clone the Repository

git clone https://github.com/piyushagni5/langgraph-ai.git
cd langgraph-ai

Step 2: Install UV Package Manager

If you haven't installed UV yet, install it using:

curl -LsSf https://astral.sh/uv/install.sh | sh

For Windows (PowerShell):

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Step 3: Create Virtual Environment

Navigate to the specific project directory you want to work with. For example, to work with the Adaptive RAG system:

cd langgraph-cookbook/agentic-patterns

Create a virtual environment using UV:

uv venv --python 3.10

Step 4: Activate Virtual Environment

On macOS/Linux:

source .venv/bin/activate

On Windows:

.venv\Scripts\activate

Step 5: Install Dependencies

Using UV (Recommended):

uv pip install -r requirements.txt

Using pip (Alternative):

pip install -r requirements.txt

Step 6: Adding Virtual Environment to Jupyter Kernel

To use your UV virtual environment with Jupyter notebooks, you need to install ipykernel and register the environment as a kernel: Install ipykernel in the virtual environment:

uv pip install ipykernel

Register the virtual environment as a Jupyter kernel:

python -m ipykernel install --user --name=langgraph-ai --display-name="LangGraph AI"

When you open a notebook, you can select the "LangGraph AI" kernel from the kernel menu.

Step 7: Environment Configuration

Create a .env file in your project directory with the necessary API keys:

ANTHROPIC_API_KEY="your-anthropic-api-key"
# LANGCHAIN_API_KEY="your-langchain-api-key"  # optional
# LANGCHAIN_TRACING_V2=True                   # optional
# LANGCHAIN_PROJECT="multi-agent-swarm"       # optional

Note: The LANGCHAIN_API_KEY is required if you enable tracing with LANGCHAIN_TRACING_V2=true.

Running Projects

Adaptive RAG System

cd agentic-rag/agentic-rag-systems/building-adaptive-rag
uv run main.py

Running Tests

uv run pytest . -s -v

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for:

  • Bug fixes and improvements
  • New tutorial implementations
  • Documentation enhancements
  • Performance optimizations

License

This project is open source and available under the MIT License.


Note: This repository contains multiple independent projects. Each project has its own requirements and setup instructions. Please refer to individual project README files for specific details.

常见问题

What is langgraph-ai?

langgraph-ai is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by piyushagni5. LangGraph AI Repository. It has 113 GitHub stars.

Is langgraph-ai safe to use?

Yes. langgraph-ai passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install langgraph-ai?

Clone the repository with "git clone https://github.com/piyushagni5/langgraph-ai" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is langgraph-ai written in?

langgraph-ai is primarily written in Jupyter Notebook. It is open-source under piyushagni5 on GitHub, so you can review or fork the full source.

Are there alternatives to langgraph-ai?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh langgraph-ai against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情