Back to prompt library
LangGraph Workflow Design for Power Management
Linked challenge: Multi-Agent Power Grid Optimizer
Prompt source
planning1 lines1 sectionsNo variables0 checklist items
Design the LangGraph workflow. Define the nodes (agents or tool calls) and edges (information flow). Specify the state object that will be passed between nodes. Detail how different power source agents (Grid Agent, Generator Agent, Demand Agent) will communicate via A2A protocol within this graph to achieve optimization. Use Claude Opus 4.1 for decision-making within each agent.