LangGraph Workflow Design Prompt

planningChallenge

Prompt Content

Design a LangGraph workflow for EU DMA/DSA compliance. Define at least three agent nodes (e.g., 'Document Reader', 'Policy Comparator', 'Risk Aggregator') and their roles. Outline the graph's control flow, including how agents communicate using A2A protocol and how the graph transitions between states based on compliance findings for 'MegaSocial Inc.'.

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