Build a BESS Dispatch Optimizer Agent with Mastra AI & Hume AI
Grid stability during peak energy shifts in Saudi Arabia requires real-time battery energy storage optimization. Build an interactive BESS dispatch agent using Mastra AI and Hume AI to voice-query grid status and automate dispatch scheduling across 1.16bn BESS assets.
What you are building
The core problem, expected build, and operating context for this challenge.
Implement a Mastra AI workflow combined with Hume AI empathetic audio interface to deliver natural language grid management and BESS charge orchestration.
How work is evaluated
Tests the Mastra workflow logic for state-of-charge optimization and audio response generation.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
valid_action_check
Check if action is CHARGE, DISCHARGE, or IDLE
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
efficiency_gain
Percentage efficiency optimization • target: 0.92 • range: 0.7-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Develop Mastra AI dynamic workflows for battery state-of-charge calculation
Integrate Hume AI voice interface for dispatcher interactive queries
Simulate high-capacity battery charge-discharge cycles against grid demand spikes
Output JSON execution telemetry for SCADA control integration
Reference links and supporting material
Telemetry logs from grid-scale energy storage projects including state of charge, temperature, and hourly grid load profiles.
Challenge setup
Tests the Mastra workflow logic for state-of-charge optimization and audio response generation.
Challenge input
JSON grid telemetry
Mastra AI
TypeScript-native agent workflow engine
Hume AI
Enables natural voice interaction for grid dispatchers
Evaluated output
JSON dispatch order
- Check if action is CHARGE, DISCHARGE, or IDLE
- Percentage efficiency optimization • target: 0.92 • range: 0.7-1
- Benchmark: GridStorageBench
- Efficiency Gain target: 0.92
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Hume AI · Required
- Mastra AI · Optional
- Twin · Optional
- Mastra AI · Optional
Evaluation contract
- valid_action_check · Weight 1
- efficiency_gain · Weight 1
Metrics
- efficiency_gain · Target 0.92
Benchmarks
- GridStorageBench
- energy
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON grid telemetry
Output: JSON dispatch order
Execution harness: JavaScript
Evaluation tools
- Mastra AI · Agent Framework
- Hume AI · Voice AI Platform
Recipe freeze marker
No recipe freeze time is recorded.