langraph-up-react
https://github.com/fanqingsong/langraph-up-react
This template showcases a ReAct agent implemented using LangGraph, works seamlessly with LangGraph Studio. ReAct agents are uncomplicated, prototypical agents that can be flexibly extended to many tools.
🎉 Latest v0.2.0 Release: Complete evaluation system and multi-model support! Check the release notes for all new features.
The core logic, defined in src/react_agent/graph.py
, demonstrates a flexible ReAct agent that iteratively reasons about user queries and executes actions. The template features a modular architecture with shared components in src/common/
, MCP integration for external documentation sources, and comprehensive testing suite.
⭐ Star this repo if you find it helpful! Visit our webinar series for tutorials and advanced LangGraph development techniques.
- SiliconFlow Integration: Complete support for Chinese MaaS platform with open-source models (Qwen, GLM, DeepSeek, etc.)
- Qwen Models: Complete Qwen series support via
langchain-qwq
package, including Qwen-Plus, Qwen-Turbo, QwQ-32B, QvQ-72B - OpenAI: GPT-4o, GPT-4o-mini, etc.
- OpenAI-Compatible: Any provider supporting OpenAI API format via custom API key and base URL
- Anthropic: Claude 4 Sonnet, Claude 3.5 Haiku, etc.
- Dual Evaluation Framework: Graph trajectory evaluation + Multi-turn chat simulation for comprehensive agent testing
- LLM-as-Judge Methodology: Scenario-specific evaluation criteria with professional assessment systems
- Multi-Model Benchmarking: Compare performance across different model providers and configurations
- LangSmith Integration: Complete evaluation tracking with historical analysis and collaboration features
- Model Context Protocol (MCP): Dynamic external tool loading at runtime
- DeepWiki MCP Server: Optional MCP tools for GitHub repository documentation access and Q&A capabilities
- Web Search: Built-in traditional LangChain tools (Tavily) for internet information retrieval