AgentX Hackathon 2026 | PS-07 Open track | Idea deck
Discom Message Gate Agent
An agent that decides which alerts and forecasts a power distribution company should act on, before it acts
Primary user: the duty team at a discom (power distribution company)
Replays public hourly data (BDG2: 18 sites, 1,578 buildings); live demo on one site. No personal data.
Pratik Panda |Sparsh Sharma
Who it is for, and why it needs an agent
2
What a wrong message costs in India
₹5.39 per kWh
average deviation price 2022-23 (₹3.73 a year earlier)
₹40 per kWh
deviation charge in the worst blocks, 2022-23
₹12+ per kWh
Delhi evening peak, 5 to 9 PM, 2021
₹2.16 per kWh lost
on surplus sold off-peak, Rajasthan
~39% of flags recovered money
MSEDCL AI theft detection: 27,964 cases detected, 10,810 recovered ₹29.85 crore (press report)
Sources: CERC Annual Report on Short-Term Power Market 2022-23; CEEW; IEEFA (2020); press report on MSEDCL AI theft detection. ~39% is our rough ratio of the two counts (recovered / detected); the periods may differ.
What the agent does, step by step
3
1. Message arrives
forecast, outage notice, anomaly flag
2. Plan
LLM picks which checks to run
3. Call tools
meter, weather, forecast, helper agents
4. Predict value
gate: beneficial, harmful or negligible
5. Act or ask
accept, verify, discount or ignore; human approves costly steps
6. Log and learn
outcome saved, thresholds updated
Tools the agent calls (real calls on mock and public data)
Tool | Type | What it does |
get_meter_data, get_weather | API over replayed BDG2 files | Hourly load, temperature and wind for a site |
run_forecast | ML model | Expected load, to judge how unusual a message is |
helper agents (4) | Rule agents | Fixed-limit, weather-adjusted, peer and trend messages |
gate_predict | LightGBM model | Probability a message is beneficial, harmful or negligible |
replay_cost | Simulator | Cost of acting versus not acting, with assumed prices |
create_ticket, propose_schedule | Mock APIs | Inspection ticket; draft purchase-plan change (after human approval) |
Agent design: planning, tools, memory, guardrails
4
Planning
The orchestrator (an LLM, open or free-tier) reads the message and chooses the next check. A small message that matches the forecast goes straight to the gate; a large or isolated one triggers the forecast, a peer check or a second agent opinion.
Tool use
Six tool groups (previous slide), with typed inputs and outputs. Every call and result is recorded, so each decision can be explained in plain language. If the LLM or a tool fails, the rule agents take over.
Memory
Stores each message, the decision, and what really happened next. Per-site thresholds and the gate are refreshed from this log, so the agent improves with use.
Guardrails
Human confirmation before any schedule change (the costly, irreversible step). Kill switch. Cap on how much of the purchase plan one message can change. Full action log.
The four helper agents are simple rules. The LLM plans and explains; the LightGBM gate makes the prediction.
Demo, data and reliability
5
Honest limits
Impact, innovation and our 24-hour plan
6
24-hour build plan
Hours | Work |
0 to 4 | Load Robin data; helper agents; forecaster |
4 to 10 | Replay labels; train and calibrate the gate |
10 to 16 | Orchestrator agent, tools, guardrails |
16 to 21 | Dashboard and baselines comparison |
21 to 24 | Tests, README, 3-minute demo video |