Skip to main content
Back to Prompt Library
planning

LangGraph Workflow Design for Power Management

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Multi-Agent Power Grid Optimizer

Format
Text-first
Lines
1
Sections
1
Linked challenge
Multi-Agent Power Grid Optimizer

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 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.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.