SENIOR RESEARCH · DUKE UNIVERSITY

Scheduler Agent

Cutting a data center's power bill by moving flexible AI work into cheaper hours

LIVE DEMO · DATA: NOV 2025 – OCT 2026

Ask a question in plain English, for example “How much did the scheduler save in Virginia over the year?”, “What happened during the January 2026 winter storm?” or “Which season saves the most in Texas?” Under each answer, open How this was answered to see which tools the agent used.

If the demo has been idle it may need about 30 seconds to wake up. Open in a new tab →

The project

A data center runs two kinds of AI work. Always-on work, like answering chatbot requests, has to run the moment it arrives. Flexible work, like batch jobs, can wait, as long as it finishes before its deadline. Electricity prices change every hour, so flexible work that waits for cheaper hours costs less.

The scheduler is a linear program. Each week it plans when to run the flexible work using day-ahead prices, which are published in advance, and then pays the real-time prices that actually happened. I tested it on a 1 MW data center block over 48 weeks of hourly prices in two markets: Virginia (PJM, Dominion zone) and Texas (ERCOT, North hub), and compared it with simpler rules: running work immediately, running it at a fixed time of night, planning on typical prices from the past four weeks, and a perfect-hindsight upper bound.

$70,083
saved in Virginia over the year (38.6% of the flexible work's power cost)
$23,024
saved in Texas over the year (34.8%)
24 hours
deadline for these results; the agent also covers 6 to 168 hours

How the agent works

The agent is Claude (Anthropic's model) running in a loop I wrote by hand, so every step can be explained. It never answers from memory. To answer a question it:

Tested before it went online

I wrote 30 questions whose correct answers are computed directly from the results files, including two it should decline (a market and a month that aren't in the data). The agent scored 30/30 on accuracy, exact match and grounding.

What it can and can't see

The website only has the precomputed weekly results. The raw hourly price data never leaves my laptop, and a privacy guard in the code rejects any tool result that isn't a single number or a short label, so a price series can't be sent anywhere. Each visitor has a spending limit, and the demo has a monthly budget.