Skip to content

Commit c870ee0

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 c870ee0

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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)
@@ -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: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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

@@ -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)