Define Agent Workflow with LangGraph

planningChallengeNovember 25, 2025

Prompt Content

Design a LangGraph workflow for the shopping agent. The workflow should include distinct nodes for: `research_product_A`, `research_product_B`, `compare_products`, `synthesize_recommendation`, and `validate_sources`. Define the state schema and conditional edges that govern transitions between these nodes to ensure a structured comparison process. Consider how to handle conflicting information or missing data to enforce multi-reference validation.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations