Back to prompt library
LangGraph Workflow Design Prompt
Linked challenge: EU DMA/DSA Policy Compliance Graph Agent
Prompt source
planning1 lines1 sectionsNo variables0 checklist items
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.'.