Public releaseYou are viewing an early public release. Original launch date: 18 May 2026. Please email hello@energymap.in for questions, issues, or feature requests.
energyatlas

Open-source donations to the IES Accelerator track

The donation logic

Working code, donated under Apache 2.0, with the IES Accelerator as the intended recipient.

The IES Accelerator track described in the v0.4 architecture document explicitly calls for “sandbox environments, tools, reference solutions, and other ecosystem enablers.” Pilots in Delhi, Gujarat, and Maharashtra need exactly this plumbing — and they need it before v1.0 ships in July 2026.

Rather than wait for an Accelerator-curated solution, India Energy Atlas is donating, under Apache 2.0, the orchestration code we already run in production on energymap.in. The first donation is live on GitHub today. The second and third are scoped and in the queue. The fourth ships once /v1/ies-preview/ is stable enough to be worth the agent-side abstraction.

The repositories

What is donated, and what is on the way

github.com/india-energy-atlas/ies-ingest

ies-ingest

Live · v0.1

The orchestration and contract layer between raw SLDC feeds and an IES-shaped consumer API. Apache 2.0. Dependency-light Python package; no Postgres, no Prometheus, no Docker required to import.

v0.4 §Adoption Strategy, p. 7 · §Programme Observability, pp. 26–28

  • StateDemandRow Pydantic contract — refuses to serve null observed values, distinguishes observed from modeled / synthesized / derived / missing
  • Canonical state-name normaliser collapsing 33+ SLDC variants (J&K vs Jammu and Kashmir, A&N vs Andaman, etc.) to one key
  • IST-aligned canonical hour with publication-SLA settle window (IST at edge, UTC in DB)
  • Lightweight {atlas_hour, source_health, data} freshness envelope, composable with the cryptographically-receipted IES envelope
  • Pluggable Source registry with timeout-bounded async pull
  • 60 unit tests, GitHub Actions CI matrix on Python 3.11 and 3.12, runnable end-to-end Delhi demo

Quick start

$ git clone https://github.com/india-energy-atlas/ies-ingest
$ cd ies-ingest
$ make verify

github.com/india-energy-atlas/ies-collect

ies-collect

In review

Per-state SLDC collectors — the httpx / playwright / pdfplumber adapters that produce hourly rows for the 33+ state and UT feeds. Plugin pattern so external contributors can add a new state without touching core. The companion repository to ies-ingest.

v0.4 Annexure 3 §1.1 — IEC CIM alignment

  • Wave-1 adapters at launch: Delhi, Maharashtra, Gujarat, Karnataka, Tamil Nadu
  • Each adapter exposes async fetch(atlas_hour) → Iterable[RawRow] and async health() → bool
  • Adapter outputs compose with ies_ingest.contract.finalize_state_demand_row() end-to-end
  • Test fixtures captured against real upstream payloads — HTML / PDF / Excel snapshots, redacted of any contact info

github.com/india-energy-atlas/policy-as-code

policy-as-code

Planned

Three CERC orders encoded as machine-readable, signed JSON policy packs. The policy-author seat that v0.4 Annexure 6 deliberately leaves open. Apache 2.0. Contestable per the architecture's §contestability requirement; deterministic evaluator; version-chained.

v0.4 Annexure 6, pp. 57–58

  • Each order has source.pdf with provenance metadata, policy.json (JSON-LD with @type ies-preview:PolicyPack), tests/*.json (positive + edge cases), and policy.json.sig (Ed25519)
  • policySignatory (the regulator) and policyAuthor (the encoding body) kept as two distinct fields per Annexure 6
  • Top-level evaluator returning an IES-preview-conformant outcome+reason envelope
  • Three orders chosen to exercise different building blocks — tariff (Identity + ERA), DR-eligibility (Credentials), open-access wheeling (all four)

github.com/india-energy-atlas/energymap-mcp

energymap-mcp

Planned

Model Context Protocol server exposing IES-shaped data as agent-native tools. Each tool name follows the verb–noun grammar from v0.4 Annexure 2 (energymap_aggregate_state, energymap_discover_regulatory_orders). Agentic-ready by design.

v0.4 §AI-ready by design

  • Backed exclusively by /v1/ies-preview/* calls — never reaches into upstream services directly
  • Tools draw from §8 verb-noun grammar: discover, search, publish, notify, attest, aggregate, report, audit
  • At least one third-party LLM integration demo at launch

Contributing

Three things we welcome, three we are cautious about

Welcome

  • New state-name variants observed in real SLDC feeds (with the source URL).
  • Bug fixes with a regression test that fails on main and passes on the PR.
  • New Source adapters that respect the existing contract — no DB dependency at the contract layer.

Cautious

  • New runtime dependencies — each is a maintenance tax forever. Argue the case in an issue first.
  • Coupling to a specific database or message bus. The contract layer is DB-agnostic by design.
  • Anything that claims IES certification. We never make that claim.

These repositories are donations into the India Energy Stack Accelerator track described in the IES Architecture Document v0.4 (Ministry of Power, 27 March 2026). They are produced by India Energy Atlas (energymap.in) under the legal aegis of the Saral Systems Council, Section 8 non-profit. They are not certified by IES, and they do not speak for IES.

Code: Apache License 2.0. Documentation: CC-BY 4.0. Security reports: security@energymap.in.