Reading8 min
Autonomous Grid Control: The Briefing Loop
π€ Module 7: AI Agents & MCP
Autonomous Grid Control: The BriefingβDispatchβAttest Loop
The most powerful pattern on the platform is the autonomous loop:
- Brief: Read all device states, check prices, assess grid conditions
- Decide: Determine optimal actions based on intelligence
- Dispatch: Send commands to devices
- Attest: Create carbon records for the energy transacted
- Repeat: Every 15 minutes, every hour, continuously
The Loop in Practice
Every 15 minutes:
1. Read battery SOC across all sites
2. Check LMP prices for the region
3. Check carbon intensity
4. For each battery:
- If price > threshold AND SOC > 30%: DISCHARGE
- If price < threshold AND SOC < 80%: CHARGE
- Otherwise: HOLD
5. Execute dispatch commands
6. Wait for completion (read-back verification)
7. Create carbon attestation for energy moved
8. Generate settlement recordWhy AI Agents Excel at This
A human operator can manage 5-10 batteries manually. An AI agent can manage 500. It never gets tired, never misses a price signal, and never forgets to create the carbon attestation.
The Economics
A fleet of 100 batteries Γ $50/MWh average spread Γ 4 hours/day = $7.3 million/year in dispatch value. The AI agent that runs this loop costs $0.01/conversation. The ROI is astronomical.
From Demo to Production
In the sandbox, this loop runs against simulated data. In production, it runs against real batteries, real prices, real carbon. The code is identical. Only the API key changes from eat_test_ to eat_live_.
Log in to track your progress and earn certifications.