Design Agent Roles and Graph Structure

planningChallenge

Prompt Content

Outline the key agent roles (e.g., `ProductSearcher`, `CartManager`, `PaymentProcessor`, `OrderConfirmer`) needed for the conversational commerce system. Design the LangGraph state and flow, specifying how agents pass information and control, including conditional routing for decisions like 'product found' or 'payment failed'. Consider how to manage conversational history and context persistence.

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