Agent
AI agent
How the agent moves flexible load and buys hourly certificates, tested walk-forward on real hours.
In plain terms: An AI agent decides a day ahead when to run flexible work and which extra hourly certificates to buy, so more hours run on clean energy.
What the agent does
Every day, before the day starts, the agent makes two decisions for the next day. It is tested on real hours it never trained on.
Forecast
It forecasts tomorrow's hourly wind production and the buyer's load, using only data published by the decision time.
Move flexible load
It moves part of the into hours with more wind.
Buy hours
It buys extra certificates for the hours its own portfolio will not cover, within a fixed budget.
Method note from the backtest: Flexible share and top-up budget are declared scenario parameters; every MWh value is real Energinet data; decisions use only information available at D-1 17:30 UTC.
Hourly coverage by strategy
The share of the buyer's use covered by certificates from the same hour, over the test half-year. Higher is better.
On the second half of the year
Walk-forward on real hours, 2025-07-01 to 2025-12-30. Flexible share 10% of each hour's load (scenario parameter); extra certificates 4.8% of load, and the comparison portfolio gets exactly the same extra MWh.
- Fixed portfolio70.5%
- Bigger portfolio, same MWh71.7%
- Agent: moving flexible load71.4%
- Agent: moving load and buying hours75.7%
- 76.7%
Bars start at zero. Perfect foresight uses the same policy and budget fed with the actual load, wind and availability; no real strategy can reach it.
How good are its forecasts?
Average error per hour on the test half-year; lower is better. The agent's load forecast is less accurate than simply repeating last week's load.
Agent's hourly coverage minus a bigger fixed portfolio that gets exactly the same extra MWh.
Energinet's own day-ahead wind forecast, as a baseline.
The agent's own wind model.
The agent's load forecast against simply repeating last week's load.
Its plans, on-chain
Each daily plan is committed as a and revealed afterwards; the contract checks that every revealed plan matches its commitment.
AI agent commits its 7 day plans (certificate purchases, CO2 forecast, planned load shift) on-chain before each day starts
0/7 committed before their day started (chain clock) — on a public chain a past week is necessarily committed late; see `live` mode
- commit plan 2025-11-100xd9db4e…4768ecblock 48,239,304 · 69,995 gas
- commit plan 2025-11-110x85dfc6…9a3b2cblock 48,239,307 · 70,007 gas
- commit plan 2025-11-120x32cd75…9330d8block 48,239,311 · 69,995 gas
- commit plan 2025-11-130x197460…2f6bdfblock 48,239,315 · 70,007 gas
- commit plan 2025-11-140x754643…2b1ed9block 48,239,319 · 69,995 gas
- commit plan 2025-11-150x6c042f…d8580ablock 48,239,323 · 70,007 gas
- commit plan 2025-11-160x3043bb…f99953block 48,239,327 · 69,995 gas
Agent reveals its plans; the chain checks them against the commitments
7/7 plans revealed and matched
- reveal plan 2025-11-100x2f41a2…bbbedcblock 48,239,551 · 98,650 gas
- reveal plan 2025-11-110x3d7d6f…f96e18block 48,239,554 · 101,770 gas
- reveal plan 2025-11-120xf1a3af…1bd21bblock 48,239,557 · 98,440 gas
- reveal plan 2025-11-130xfcdd34…b66fbablock 48,239,560 · 99,600 gas
- reveal plan 2025-11-140x0911d1…2e41f9block 48,239,563 · 100,520 gas
- reveal plan 2025-11-150x1d10b7…c4ab73block 48,239,567 · 102,280 gas
- reveal plan 2025-11-160x23e161…217804block 48,239,569 · 101,950 gas
The run replays a past week, so on a public chain its plans can only be committed after the fact. They still cannot change between commitment and reveal; committing ahead of time is what the live mode is for.