feat(examples): rewrite LangGraph integration with customer support domain#300
Conversation
…omain - Switch from generic calculator/knowledge-base scenarios to customer support domain (ORD-1001 through ORD-1003, lookup_order_status, lookup_policy) matching other integration examples - Add three scenarios: single agent with tools, multi-agent delegation via subgraphs (coordinator + specialists), and multi-turn with checkpointing (session continuity) - Upgrade from deprecated create_react_agent to langchain.agents.create_agent - Use langchain_core.messages imports (no full langchain.messages dependency) - Add proper agent names and system instructions for each scenario
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Claude finished @sanjeed5's task in 3m 6s —— View job
ResultReviewed the LangGraph integration rewrite. This is a clean, well-structured update that properly migrates to the new |
|
📚 Documentation preview built — Download artifact Review instructions & validation statusHow to Review
Validation Status
|
Review SummaryOverall: Looks great — this is a clean, well-structured rewrite that significantly improves the LangGraph example. What looks good:
No blocking issues found. Two minor inline nits left on the diff. |
|
📚 Documentation preview built — Download artifact Review instructions & validation statusHow to Review
Validation Status
|
Example Update: langgraph
File: python-sdk/examples/integrations/langgraph_integration.py
Framework version: langgraph 1.0.10
Status: Updated
Summary
create_react_agent(langgraph.prebuilt) tocreate_agent(langchain.agents)Patterns Covered
Changes Made
create_agentMemorySavercheckpointinglangchain.messagestolangchain_core.messageslangchainto install deps (required forcreate_agent)main()function with properforce_flush()Tracing Issues Found
Links