-
-
Satellite anatomy: which parts draw power, and which loads are essential.
-
GIF
Hold Ctrl+Alt and say the incident: Gemini transcribes it and selects the satellites and the fault.
-
Fault Storm: the agent's tool calls stream into the trace while causes are scored.
-
Real orbits for a 24-satellite fleet, with Earth's shadow on the globe.
-
Every plan is simulated against every hypothesis; a plan that fails one turns red.
-
Tier 2: a human approves the exact verified plan, identified by its hash.
-
Reveal: the agent's diagnosis next to the injected fault it never saw.
-
Through the next eclipse, the battery stays above the floor the verifier promised.
Inspiration
A few people fly dozens of satellites, and each satellite talks to the ground for only a few minutes per orbit. A power fault that starts in eclipse can drain a battery before anyone sees the telemetry. LLM agents are good at triage and at explaining what they see, but no command should go up to a spacecraft because a language model sounded confident. We wanted an agent that is allowed to be wrong, inside a system where its mistakes cannot reach the fleet. One rule ran through the whole build: AI proposes, physics verifies, humans approve.
What it does
Penumbra is a mission control console for a 24-satellite LEO constellation (SAT-01 to SAT-24) during a power-fault storm.
Sense
The orbits are real (public CelesTrak elements), and so are the Sun geometry (JPL DE421) and the 10° contact windows at three polar ground stations. Telemetry comes down only during a pass. Between passes the operator sees nothing new, as in a real control room.
Understand
A detector raises alerts with a time-to-critical estimate. A scorer ranks six hypotheses (nominal, solar array degradation, stuck-on load, battery capacity fade, sensor bias, beta season) and compares each satellite with its peers, which separates a fleet-wide environmental cause from a hardware fault on one satellite. A Gemini agent reads the alert, pulls telemetry, scores the hypotheses, can run a short diagnostic test inside the current pass, and proposes recovery plans. It works through nine allowlisted tools and has no other way to act.
Act
Before a plan can be scheduled, a Monte Carlo verifier simulates it under every hypothesis that is still plausible. A plan passes only if the battery stays above the floor under all of them, and the passing plans are ranked. Low-risk plans that match a named flight rule execute on their own (Tier 1). Everything else waits for the Flight Director's click (Tier 2). If nothing passes, the agent says so and recommends SAFE_MODE. Failed plans stay clickable on purpose: pressing one shows the refusal and the hypotheses that broke it. Neither the agent nor the operator can schedule a plan the verifier rejected.
Penumbra also handles collision warnings. When simulated debris comes close, the agent proposes one avoidance burn per window. A burn draws power, so the verifier checks each window against the battery, and every burn goes to the Flight Director for approval and must be uplinked before its window opens.
You can also start your own incident: pick up to three satellites and one of four faults, or say it out loud with push-to-talk, and the agent works it live. The run ends with a reveal of the fault you injected, so you can check the agent's diagnosis against the answer.
Every screen keeps a REAL / SIMULATED legend in view.
How we built it
Two people and four AI coding sessions (two Claude Code, two Codex) worked from a frozen interface contract and a GitHub issue board. Each session owned a set of folders, and CI rejected any pull request that touched files outside its author's area. We shipped 48 issues, each on its own branch and pull request, each reviewed against its acceptance criteria and a clean-clone test run before merge. When two sessions ran out of quota during the night, the others took over their work through handoff notes on the board and kept the original branch names.
The orbit model runs Skyfield and SGP4 on cached elements. Eclipse is the overlap of the apparent Sun and Earth discs, so penumbra comes out as a partial illumination value between 0 and 1. It passes the textbook check: a 500 km circular orbit at zero beta spends \( 35.8 \pm 1 \) minutes per orbit in shadow.
The power side has two models. The truth simulator uses a battery whose open-circuit voltage curve, internal resistance, coulombic efficiency and fade rate are fitted to NASA PCoE cell-aging data, plus seeded faults, sensor noise and bias. The verifier plans with a separate vectorized model, so it never sees the truth it is graded against.
The verifier draws \( N = 100 \) Monte Carlo samples per plan and hypothesis over array efficiency, capacity, load power, initial state of charge and sensor bias. The plan hash seeds the draws, so the same plan always gets the same verdict. A plan passes a hypothesis when
$$ \Pr\left[ \mathrm{SOC}_{\min} \ge 0.30 \right] \ge 0.95 $$
with bus voltage, battery temperature and essential loads held to their limits in the same samples.
The uplink scheduler uses CP-SAT with optional intervals and a no-overlap rule per ground station, with a greedy fallback. 200 uplink requests across 24 satellites solve to optimality in about 0.3 s.
The agent is Gemini with function calling. It may not write a single digit in its narration. It writes placeholders such as {CJ-1.miss_km} and the backend fills in the value, so every number on screen comes from the backend. A flight recorder logs each live run, and the logs replay offline to the same plan hashes.
ElevenLabs reads the alerts and the agent's narration aloud for the recorded storm. Clips are cached under a hash of voice, model and text, so the public server never needs a voice key. Gemini also turns push-to-talk audio into satellite ids and a fault, with a deterministic parser as a backup.
The frontend is React and Vite around a CesiumJS globe with bundled imagery and fonts, so it runs without a network. GSAP drives the motion, including a grid of 20 small satellites that plays out the Monte Carlo draws while physics verifies. The recorded storm takes 90 seconds and one click.
The public demo runs in one Docker container on a Vultr instance (2 vCPU, 4 GB), behind a firewall that allows only key-based SSH and web traffic. Live incidents use a Gemini key kept in a root-only file on the server. Without it, the site plays the recorded runs.
Challenges we ran into
- Some real passes graze the 10° horizon for 30 seconds, which is too short to uplink anything. We kept the requirement that every contact lasts 2 to 15 minutes and dropped the unusable passes rather than loosen the test.
- The Gemini free tier allows five requests a minute, and one run needs seven to thirteen. We honour the server's retry delay, cap the wait, fall back to replay, and record every demo run.
- The model kept writing numbers. The first live narration was rejected three times for things like
{AL-1.sat_id}and a bare{H2}. The renderer now unwraps bare ids and lists the fields the model may use, and the last step of a run can only summarise. - Scheduler priorities were upside down. Triage rank 1 means most urgent, but the solver maximised weight, so the most urgent satellite got the lowest priority. A fleet-mode test caught it, and \( w = 1/\mathrm{rank} \) fixed it.
- Plan hashes differed between our laptops and the CI runners because conjunction and contact times carried sub-second floating-point noise. Rounding them to whole seconds made recorded runs replay to the same hash on any machine.
Accomplishments that we're proud of
- A single-satellite scenario runs end to end on the real orbit, live with Gemini and in offline replay, to the same plan hash. In the truth simulator, the battery stays above the floor through the next eclipse.
- In 100 seeded runs, plans picked at random from the allowlist broke a hard limit 73 times, and the verified Gemini plan broke none. Gemini's own proposal was already safe in this scenario, so the verifier had nothing to veto here.
- Diagnosis accuracy rises from 77.5 % to 90 % with peer comparison and the diagnostic test (40 cases).
- Across 10 storms with 42 faulty satellites, a verified plan kept the payload running 23.6 % of the time after the alert, against 0.9 % for going straight to safe mode (about 26 times more).
- For collision avoidance, over 50 seeds, the verifier chose the second burn window every time instead of the cheapest early one. That raised the 5th-percentile lowest state of charge from 0.431 to 0.475, and no run in any arm went below the floor.
- The planning model evaluates 10,000 satellites × 6 hypotheses × 3 plans × 20 samples in 29 s on a laptop and in 84 s on the 2-vCPU Vultr instance.
- We kept our one miss in the results. In one of the 42 storm cases, the verifier passed a plan that the truth simulator then broke: SAT-24 went from 0.46 to 0.13 state of charge. We traced it, and a minimum predicted margin of 0.13 would have rejected that plan.
What we learned
A frozen contract and an append-only decision board let two people and four coding agents ship 48 issues without stepping on each other. Most of the work in an AI operations tool sits around the model: the allowlist, the plan hashes, a verifier that can refuse, and a UI that never computes a number the backend did not produce.
Ground contact limits recovery more than decision speed does. In the storm benchmark, working the queue in triage order instead of arrival order cut floor breaches only from 19 to 18, because most satellites had already crossed the floor before the next pass brought their telemetry down.
What's next for Penumbra
Close the verifier miss with a calibrated margin. Build collision scenarios where the burn window changes the miss distance (in ours, every window gives 1.726 km). Replace the fixed 20 minutes per operator decision with timing measured on real operators.
Real vs. simulated data
Real: satellite orbits (public CelesTrak elements for one constellation, renamed SAT-01 to SAT-24), Sun and Earth geometry (JPL DE421), ground station sites (approximate coordinates), 10° contact windows, and the battery parameters fitted to NASA PCoE Li-ion aging data. BIRDS CubeSat on-orbit telemetry is used only as a sanity check of our solar panel fault signature.
Simulated: all power telemetry, the faults, sensor noise and bias, the space debris, and the effects of every recovery plan and burn. No real operator or satellite names appear anywhere.
What existed before the hackathon
Planning documents, a draft interface contract, the issue backlog, and workflow tooling (board reader, path guard, CI skeleton). All product code was written during the hacking period. The full list is in docs/PRE-EVENT.md.
Tracks
Best General Hack
Penumbra puts an LLM agent on a satellite fleet and lets physics decide what is safe. The agent diagnoses faults and proposes plans, a Monte Carlo verifier rejects any plan that could drain a battery, and a person approves anything risky. It runs end to end on real orbits, live with Gemini or from recorded runs. Judges can inject their own fault, watch the agent work it out, and check its diagnosis against the reveal at the end.
Radial: Sense, Understand, Act
Sense: real orbits, Sun geometry and ground contact windows, with telemetry that arrives only while a satellite is over a station. Understand: alert detection, scoring of six fault hypotheses, comparison with peer satellites, and a diagnostic test run inside the pass. Act: a verified recovery plan, an uplink scheduled into a real contact window, approval by flight rule or by the Flight Director, and SAFE_MODE when no plan is safe. Every screen shows a permanent Real / Simulated legend, and every results file lists which of its inputs are real and which are simulated.
Best AI/ML
The agent is Gemini with function calling, limited to nine tools. A safety layer sits between the model and the fleet and rejects any command off the allowlist, LOAD_OFF on an essential load, an uplink outside a contact window, an approval carrying a stale plan hash, and narration that contains a bare digit. Each proposed plan is simulated under six hypotheses with 100 Monte Carlo samples each before anyone sees it as feasible. We measured the result instead of describing it. Diagnosis accuracy goes from 77.5 % to 90 % with peer comparison and the diagnostic test. Random allowlisted plans broke a hard limit in 73 of 100 runs, and verified plans broke none. The single case where the verifier was wrong is reported in our results.
Best UI/UX Hack
A judge can run the whole demo with one click: the recorded fault storm plays in 90 seconds, with voice and captions. A progress stepper uses operator wording, so you always know which stage the run is in. Satellites with an incident stay amber on the globe for the whole run. Hovering a part of the 3D satellite blueprint lights up that subsystem. While physics verifies, a grid of 20 small satellites plays out the Monte Carlo draws. Failed plans stay clickable and explain why they were refused. You can start an incident by voice with push-to-talk, and the interface works with no network at all.
Spirit of the Hackathon
Penumbra is about satellites and the shadow they fly through. The name is the partial shadow at the edge of Earth's eclipse, and the eclipse model computes it as a fraction of the Sun's disc that is covered. The globe shows the sky with the Sun and Moon, real orbits, and a pin on Buffalo.
Most Over-Engineered Hack
The question is simple: should this satellite turn its payload down? To answer it we built a Monte Carlo verifier over six hypotheses, a CP-SAT uplink scheduler, hashed plans that replay identically on any machine, and a safety layer that forbids the AI from writing digits. Four AI coding sessions built it under a frozen interface contract, with CI that rejected any pull request outside its author's folders. Then we benchmarked it at 10,000 satellites for a fleet of 24, and ran the benchmark again on a cloud server.
Best Freshman Hack
Two people and four AI coding sessions built Penumbra in one weekend: 48 issues, each on its own branch and pull request, each with tests that run offline from a clean clone.
Best Use of Gemini API (MLH)
Gemini runs the agent. With function calling it reads alerts, pulls telemetry, scores hypotheses, proposes diagnostic tests and recovery plans, and requests approval, all through a nine-tool allowlist. Every live run is recorded and replays offline to the same plan hashes. Gemini also transcribes the push-to-talk command that judges use to start an incident.
Best Use of ElevenLabs (MLH)
ElevenLabs voices the control room. Callouts read each alert and the agent's narration during the recorded fault storm. The clips are cached under a hash of voice, model and text, so the public server never holds a voice key.
Best Use of Vultr (MLH)
The public demo runs on a Vultr compute instance, in one Docker container behind a firewall that allows only key-based SSH and web traffic. We re-ran the scale benchmark there: 10,000 satellites × 6 hypotheses × 3 plans × 20 samples in 84 s on 2 vCPUs.
Best Domain Name from GoDaddy Registry (MLH)
Built With
- agent
- cesiumjs
- claude-code
- codex
- fastapi
- gemini
- github-actions
- godaddy
- google-genai
- gsap
- javascript
- nasa
- pydantic
- pytest
- python
- react
- sgp4
- skyfield
- space
- vite
- vultr
- websockets