Skip to content

Commit 71a0d37

Browse files
committed
📝 docs(readme): update LangGraph version and add v0.6.6 feature notes
- Update LangGraph badge to v0.6.6 in README and README_CN - Introduce LangGraph v0.6 context-driven configuration replacing config['configurable'] - Highlight simplified API for runtime context passing to agents - Provide backward compatibility migration guidance - Add sample execution traces with LangSmith links for practical understanding - Maintain existing badges and introductory contents unchanged
1 parent 3153af7 commit 71a0d37

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ make dev_ui # Start LangGraph development server with UI
8282

8383
## LangGraph Studio Integration
8484

85-
This project is designed for LangGraph Studio. The `langgraph.json` config file defines:
85+
This project works seamlessly with LangGraph Studio. The `langgraph.json` config file defines:
8686
- Graph entry point: `./src/react_agent/graph.py:graph`
8787
- Environment file: `.env`
8888
- Dependencies: current directory (`.`)

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# LangGraph ReAct Agent Template
22

33
[![Version](https://img.shields.io/badge/version-v0.1.0-blue.svg)](https://github.com/webup/langgraph-up-react)
4+
[![LangGraph](https://img.shields.io/badge/LangGraph-v0.6.6-blue.svg)](https://github.com/langchain-ai/langgraph)
45
[![Build](https://github.com/webup/langgraph-up-react/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/webup/langgraph-up-react/actions/workflows/unit-tests.yml)
56
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
6-
[![README EN](https://img.shields.io/badge/README-English-blue.svg)](./README.md)
77
[![README CN](https://img.shields.io/badge/README-中文-red.svg)](./README_CN.md)
88
[![DeepWiki](https://img.shields.io/badge/Powered_by-DeepWiki-blue.svg)](https://deepwiki.com/webup/langgraph-up-react)
99
[![Twitter](https://img.shields.io/twitter/follow/zhanghaili0610?style=social)](https://twitter.com/zhanghaili0610)
1010

11-
This template showcases a [ReAct agent](https://arxiv.org/abs/2210.03629) implemented using [LangGraph](https://github.com/langchain-ai/langgraph), designed for [LangGraph Studio](https://github.com/langchain-ai/langgraph-studio). ReAct agents are uncomplicated, prototypical agents that can be flexibly extended to many tools.
11+
This template showcases a [ReAct agent](https://arxiv.org/abs/2210.03629) implemented using [LangGraph](https://github.com/langchain-ai/langgraph), works seamlessly with [LangGraph Studio](https://docs.langchain.com/langgraph-platform/quick-start-studio#use-langgraph-studio). ReAct agents are uncomplicated, prototypical agents that can be flexibly extended to many tools.
1212

1313
![Graph view in LangGraph studio UI](./static/studio_ui.png)
1414

@@ -35,6 +35,15 @@ The core logic, defined in `src/react_agent/graph.py`, demonstrates a flexible R
3535
- **Caching**: Optimized performance with client and tools caching
3636
- **Configurable**: Enable via environment variables or context parameters
3737

38+
### LangGraph v0.6.6 Features
39+
40+
> [!NOTE]
41+
> **New in LangGraph v0.6**: [LangGraph Context](https://docs.langchain.com/oss/python/context#context-overview) replaces the traditional `config['configurable']` pattern. Runtime context is now passed to the `context` argument of `invoke/stream`, providing a cleaner and more intuitive way to configure your agents.
42+
43+
- **Context-Driven Configuration**: Runtime context passed via `context` parameter instead of `config['configurable']`
44+
- **Simplified API**: Cleaner interface for passing runtime configuration to your agents
45+
- **Backward Compatibility**: Gradual migration path from the old configuration pattern
46+
3847
### Comprehensive Testing
3948
- **70+ Test Cases**: Unit, integration, and end-to-end testing
4049
- **MCP Integration Coverage**: Full testing of DeepWiki tool loading and execution
@@ -53,6 +62,13 @@ The ReAct agent:
5362

5463
The agent comes with web search capabilities and optional DeepWiki MCP documentation tools, but can be easily extended with custom tools to suit various use cases.
5564

65+
### Sample Execution Traces
66+
67+
See these LangSmith traces to understand how the agent works in practice:
68+
69+
- **[DeepWiki Documentation Query](https://smith.langchain.com/public/d0594549-7363-46a7-b1a2-d85b55aaa2bd/r)** - Shows agent using DeepWiki MCP tools to query GitHub repository documentation
70+
- **[Web Search Query](https://smith.langchain.com/public/6ce92fd2-c0e4-409b-9ce2-02499ae16800/r)** - Demonstrates Tavily web search integration and reasoning loop
71+
5672
## Getting Started
5773

5874
### Setup with uv (Recommended)

README_CN.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# LangGraph ReAct Agent 模板
22

33
[![Version](https://img.shields.io/badge/version-v0.1.0-blue.svg)](https://github.com/webup/langgraph-up-react)
4+
[![LangGraph](https://img.shields.io/badge/LangGraph-v0.6.6-blue.svg)](https://github.com/langchain-ai/langgraph)
45
[![Build](https://github.com/webup/langgraph-up-react/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/webup/langgraph-up-react/actions/workflows/unit-tests.yml)
56
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
67
[![README EN](https://img.shields.io/badge/README-English-blue.svg)](./README.md)
7-
[![README CN](https://img.shields.io/badge/README-中文-red.svg)](./README_CN.md)
88
[![DeepWiki](https://img.shields.io/badge/Powered_by-DeepWiki-blue.svg)](https://deepwiki.com/webup/langgraph-up-react)
99
[![Twitter](https://img.shields.io/twitter/follow/zhanghaili0610?style=social)](https://twitter.com/zhanghaili0610)
1010

11-
基于 [LangGraph](https://github.com/langchain-ai/langgraph) 构建的 [ReAct 智能体](https://arxiv.org/abs/2210.03629) 模板,专为本地开发者设计,支持 [LangGraph Studio](https://github.com/langchain-ai/langgraph-studio)。ReAct 智能体是简洁的原型智能体,可以灵活扩展支持多种工具。
11+
基于 [LangGraph](https://github.com/langchain-ai/langgraph) 构建的 [ReAct 智能体](https://arxiv.org/abs/2210.03629) 模板,专为本地开发者设计, [LangGraph Studio](https://docs.langchain.com/langgraph-platform/quick-start-studio#use-langgraph-studio) 无缝协作。ReAct 智能体是简洁的原型智能体,可以灵活扩展支持多种工具。
1212

1313
![LangGraph Studio 界面截图](./static/studio_ui.png)
1414

@@ -40,6 +40,15 @@
4040
- **Web 搜索**: 内置 Tavily 搜索集成
4141
- **可扩展**: 通过 `src/common/tools.py` 添加自定义工具
4242

43+
### 🆕 LangGraph v0.6.6 新特性
44+
45+
> [!NOTE]
46+
> **LangGraph v0.6 新功能**: [LangGraph Context](https://docs.langchain.com/oss/python/context#context-overview) 替代了传统的 `config['configurable']` 模式。运行时上下文现在通过 `invoke/stream``context` 参数传递,提供了更清洁、更直观的智能体配置方式。
47+
48+
- **上下文驱动配置**: 通过 `context` 参数传递运行时上下文,而不是 `config['configurable']`
49+
- **简化的 API**: 为智能体传递运行时配置提供更清洁的接口
50+
- **向后兼容**: 从旧配置模式的渐进迁移路径
51+
4352
### 📊 LangGraph 平台开发支持
4453
- **本地开发服务器**: 完整的 LangGraph Platform 开发环境
4554
- **70+ 测试用例**: 单元、集成和端到端测试覆盖,完整测试 DeepWiki 工具加载和执行
@@ -62,6 +71,13 @@ ReAct 智能体的工作流程:
6271

6372
智能体内置 Web 搜索功能和可选的 DeepWiki MCP 文档工具,可轻松扩展以支持各种用例的自定义工具。
6473

74+
### 示例执行追踪
75+
76+
查看这些 LangSmith 追踪记录,了解智能体的实际工作原理:
77+
78+
- **[DeepWiki 文档查询](https://smith.langchain.com/public/d0594549-7363-46a7-b1a2-d85b55aaa2bd/r)** - 展示智能体使用 DeepWiki MCP 工具查询 GitHub 仓库文档
79+
- **[Web 搜索查询](https://smith.langchain.com/public/6ce92fd2-c0e4-409b-9ce2-02499ae16800/r)** - 演示 Tavily Web 搜索集成和推理循环
80+
6581
## 快速开始
6682

6783
### 使用 uv 安装(推荐)

0 commit comments

Comments
 (0)