Define Agent Workflow with LangGraph

planningChallenge

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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