Smarter scheduling for AI workloads.
Mission
AI work that can wait should wait for clean power.
Many AI tasks do not need an answer this minute: a nightly summary, a report for Friday, a batch of documents to sort. Tidegap is a free, open-source tool that holds those tasks and runs each one at the hour before its deadline when the electricity grid is cleanest. You tell your AI agent "do this by tomorrow"; Tidegap picks the hour.
Why this exists
One shift, four wins.
Grid load. US data centers are projected to use 6.7–12 % of the national grid by 2028 (DOE 2024, projected), and AI is the main driver. Today an AI agent runs every request at once, so "summarize this overnight" still lands at the busiest hour. Tidegap moves that work to quieter hours.
Cost. Anthropic and OpenAI sell a Batch API at 50 % below the normal price (projected, provider list price), with answers within 24 hours. When the deadline allows, Tidegap sends the task through it: the same prompt for half the bill.
Latency. Provider servers queue requests. At quiet hours fewer people send requests, so a task that waits for those hours meets shorter queues.
Carbon. The carbon cost of a unit of electricity rises and falls through the day as sun, wind and demand change (simulated, from the mock curve's per-region model; see docs/claims.md). Tidegap writes a carbon receipt for each task, with the real grid value at the moment it ran.
one shift, four wins
One scheduled task, four parallel wins.
A task arrives while the grid is at peak — dirty, strained, expensive. Tidegap rides it down the carbon curve and dispatches it at the clean off-peak trough. From that one dispatch, four wins flow out at once — carbon, cost, latency and grid load — because they all track the same thing: grid demand.
Carbon
Lower
vs dispatching at peak
Cost
−50%
Batch window (projected)
Latency
Faster
off-peak capacity
Grid load
−84%
time-shifted (simulated)
Illustrative loop, not live data. Cost and grid-load figures are projected or simulated; sources in docs/claims.md.
How it works
From “by tomorrow” to a signed receipt.
- Your agent (Claude Code, OpenAI Codex CLI, Claude Desktop, Cursor, Windsurf, Continue, Cline, Zed editor, Goose, OpenClaw, mcphost / mcp-cli, or any MCP host) calls one of Tidegap's 12 MCP tools, for example
schedule_taskwith a prompt, a region and a deadline. - Tidegap reads the carbon forecast for that region: UK National Grid ESO (no key needed), US EIA, WattTime, ENTSO-E for Europe, or Electricity Maps as the fallback.
- It scores every hour before the deadline and picks a clean one. A 15 % tolerance band and a random tie-break spread tasks out, so not every user lands on the same hour.
- The task waits in a local queue file,
~/.tidegap/queue.db. When its hour comes, thetidegap tickdaemon sends it, through the provider's Batch API when the deadline allows. - A carbon receipt is written: time, region, the grid value used, tokens, and cost. Receipts are Ed25519-signed and can be checked offline with
tidegap verify. Every Tidegap client (the Claude Code plugin, the OpenClaw plugin, the MCP server and the CLI) reads and writes the same file, so you can defer in one tool and check in another.
Who it is for
Anyone with AI work that has a deadline, not a timer.
- Builders running deferrable AI: nightly digests, batch evaluations, research sweeps, long reports.
- Teams watching their AI bill: the Batch API route costs less for the same answer.
- Teams with carbon commitments: per-task receipts give numbers you can defend, not spreadsheet estimates.
- Inference operators: per-task records show when work actually ran.
- Researchers: the simulated grid feed is reproducible, and the local ledger keeps every run.
- MCP host builders: the upstream proposal describes load-aware scheduling for the Model Context Protocol.
The numbers we stand behind
Every number, with its source.
Each number on this site is measured, simulated or projected. The row number points to its entry in docs/claims.md.
| Number | Class | What it means | Row |
|---|---|---|---|
| 6.7–12 % | projected | Share of US grid load used by data centers in 2028 (DOE 2024 forecast) | #24 |
| 50 % | projected | Batch API price cut against the sync price (Anthropic and OpenAI list prices) | #4 |
| 31 | measured | Grid regions Tidegap knows, on the live map | #6 |
| 5 | measured | Live carbon feeds (UK National Grid ESO, US EIA, ENTSO-E, WattTime, Electricity Maps) | #10 |
| 72 h | measured | How far ahead Tidegap looks for a clean hour | #11 |
| 158 gCO₂/kWh | measured | Grid intensity at dispatch in one real run on the GB grid, 2026-09-30 | #31 |
| 4,380 | measured | Automated tests across 7 packages (generated by pnpm gen:tests) | #13 |
| 12 | measured | MCP tools an agent gets (11 in the OpenClaw plugin) | #16 |
| 12 | measured | Agent hosts with an install path (libraries not counted) | #18 |
| 15 % | measured | Tolerance band when Tidegap picks among near-equal clean hours | #23 |
| −84 % | simulated | Drop in peak-hour pile-up in a 10,000-task simulation | #5 |
| 10.6 % | simulated | Largest share of those tasks in one hour (the test allows up to 20 %) | #9 |
No general carbon-saving percentage appears on this site: the saving depends on the region and the day.
Status
Version 0.20.0, operator preview.
The scheduler works end to end. In a simulation, 10,000 synthetic tasks across 7 grid zones reach a 10.6 % largest-hour share (simulated; the test allows up to 20 %). The queue survives a restart. Live carbon feeds back every region on the map, and a feed outage falls back to a clearly labelled mock, never a silent one. Receipts use per-model energy figures and are signed.
The public interface is still before 1.0, so it can change in a minor version. Planned next: the upstream MCP spec proposal, an opt-in aggregate leaderboard and cross-provider routing. Release notes are in the CHANGELOG.
Name history
Formerly Ebb AI.
Tidegap was called Ebb AI up to version 0.17. On 2026-10-16 (version 0.18.0) it was renamed, because "Ebb" conflicts with an existing software trademark. The packages, commands, plugin names and this site all moved to the Tidegap name.
Version 0.18.0 kept the old names working. Version 0.19.0 (2026-10-17) removed them: an old setting name now prints a notice with its new name and is not used. The old ClawHub plugin points to the new one. The 0.19.0 upgrade note covers moving from 0.17.
The mcp.so directory still lists the project under its former name: mcp.so listing (former name).
Maintainer
Built by Vitalii Borovyk.
Built by Vitalii Borovyk, independent and open source. Issues, pull requests and feature requests: github.com/tidegap/tidegap/issues.