Tango Horizon: AI Systems for EVA and Mars Exploration

Winner of the Impact category at the Buenos Aires local node of the NASA Space Apps Challenge 2026, out of about 450 participants.

A real-time 3D Mars mission simulator and tactical digital twin, built on real NASA and USGS cartography of Gale Crater, that keeps a four-astronaut crew safe during EVA when Earth is 4 to 24 minutes away.

Inspiration

On Mars, nobody can call Mission Control for help. One-way communication delay is 4 to 24 minutes, and during solar conjunction the link disappears entirely. A suit leak, a rover failure or a dust storm cannot wait for an answer from Earth. Mars also has no GPS, so even "where am I and how do I get back?" is a hard problem.

We wanted to answer one question: what would a crew need on the surface so that the base and the vehicles can react on their own, safely, and without the AI inventing physics?

What it does

Tango Horizon is a simulator where a crew of four astronauts (SOTELO, YACONIS, SALERNO, DIAZ-CANO) and a fleet of autonomous vehicles operate over the real 4 km x 4 km Gale Crater terrain (1 m/px HiRISE DTM, 0.25 m/px orthoimage).

Hands-free voice in 5 languages. Crew members talk to the system in English, Spanish, French, German or Italian. Urgent orders ("stop", "abort", "show the map") run locally in under 5 ms. Replies come back as radio-style speech with Apollo Quindar tones and a live 32-band spectrum analyzer.

A hierarchy of AI agents. A fast suit agent (SUIT.VOICE-EXEC) handles quick requests and escalates to a large orchestrator (BASE). BASE delegates to specialists: SUIT.HEALTH, EVA-PLANNER, SCIENCE, WEATHER-RAD, MAINTENANCE, and one ROBOT.<id> agent per vehicle.

Autonomous crew rescue. In our demo scenario a rover loses a wheel actuator, an astronaut falls into a sinkhole and is incapacitated, and dust opacity climbs toward a storm. The system detects each event, dispatches a pressurized rescue rover and a tracked rescue robot with a winch and stretcher, launches overwatch drones while it is safe to fly, grounds them when dust exceeds the limit, and asks for human confirmation before the final rescue step.

GPS-denied localization. Units localize with HiRISE map-relative localization, 6.5 GHz UWB ranging, visual-inertial odometry and 360 degree flash LiDAR.

Life-support drop pod. An 8.0 kg ballistic pod (oxygen, CO2 scrubber, battery, suit breach patch) is integrated with RK4 under Martian atmospheric drag and wind shear, with non-pyrotechnic LED/UWB breadcrumb beacons to guide the crew home.

Predictive safety from NASA standards. An in-memory BM25 search over 1,002 chunks from 15 NASA documents (NASA-STD-3001, OCHMO, AMCL, MEDPRAT, Mars-GRAM, MCD, MOXIE) answers in under 2 ms and returns exact document and page citations. It powers:

  • Crew health early warnings against personal baselines, plus a blood rheology bio-twin.
  • Fault detection and remaining useful life for suit, rover, arm and habitat systems.
  • Dust storm and radiation go / no-go decisions.

Camera vision. The crew can ask what a helmet, rover or drone camera sees, and a vision model analyzes geology or hazards.

Phone as a controller. Scanning a QR code turns a smartphone into a gyroscope laser pointer and push-to-talk radio.

Three ML models trained on real NASA data

All three are trained offline and validated with leakage-free cross-validation or held-out storm years.

Model Data Result
Hydration Prospector MSL DAN neutron stops (n = 1,567), CRISM, THEMIS, CTX Spearman 0.58, blocked R2 0.36 with 500 m spatial-block CV; MAE 0.37 vs 0.49 baseline
Storm Nowcaster 3,953 sols of MSL REMS pressure tides, Mastcam opacity Beats seasonal climatology at +1, +2, +3 sols on the held-out MY 34 global dust storm; does not beat persistence, so it is shown as a trend indicator
Mineral Vein Detector 117 audited Curiosity Mastcam/MAHLI frames, frozen DINOv2-small ROC-AUC 0.845, PR-AUC 0.796 (base rate 0.350), permutation p = 0.002

How we built it

  • Single source of truth in the browser. A Three.js (WebGL2) simulation runs at 60 FPS and sends a JSON mission snapshot to a stateless Fastify server for each order.
  • Deterministic physics in a shared package (@th/shared). Pandolf/Santee metabolic cost scaled for Mars gravity, choked-orifice suit leak flow, RK4 ballistics, direct-beam solar extinction, sky-view-factor radiation dose, A* routing over the real DEM, 4-DOF analytic inverse kinematics, and a tether pendulum model for the drones. Every constant is flagged as either published or a [design assumption].
  • Tools through MCP. Six in-process MCP servers expose terrain, suit, environment, fleet, HUD and knowledge tools to the agents.
  • Three LLM providers with failover. Google Cloud Vertex AI first, then Google AI Studio, then Meta Muse, and finally a deterministic offline engine so the system still works with no network. The architecture is built so that on a real Mars mission, open-weight models would run locally on the habitat compute module and on vehicle processors.
  • GUARDIAN, a three-layer safety gate before any action executes:
    1. Deterministic hard limits (slope, keep-out radii, dust and wind flight limits, radiation, unverified fault isolation, fire safety near 100% O2 suits).
    2. An LLM safety judge that treats speech and documents as untrusted input and fails closed.
    3. A three-model vote for high-consequence actions, where a confident dissent downgrades the action to "ask the human".
  • Voice stack. Web Speech API plus 16 kHz PCM capture, multimodal speech-to-text conditioned on a Mars glossary (it repairs errors like "rober uno" to rover-1), and Google Cloud neural text-to-speech.
  • Data and infra. 57 tracked assets with SHA-256 provenance, Python pipelines for the ML models, Terraform, Cloud Run, Vercel and GitHub Actions.

Challenges we ran into

  • Keeping the AI from hallucinating physics. We moved every physical calculation into deterministic code and let the models only choose which tool to call. GUARDIAN then checks each proposed action against live telemetry.
  • Mars has no GPS. We had to combine four localization sources instead of relying on one.
  • Small, real datasets. The vein detector uses 117 audited frames and the hydration model predicts a relative neutron ratio, not liters of water. We chose grouped cross-validation, a permutation test and clear caveats over inflated numbers.
  • Latency in a safety context. Emergency voice intents had to run locally and in milliseconds, while heavy reasoning stays in the agent tiers.
  • Building fast and safely as a team. The whole project was built inside the hackathon window with several AI coding agents in parallel, each in its own git worktree and branch, with human review of every pull request.

Accomplishments that we're proud of

  • A full rescue scenario that runs end to end, from fault detection to casualty recovery, across multiple autonomous vehicles.
  • Three ML models trained and validated on real NASA PDS data, with their weaknesses reported (for example, the storm model not beating persistence).
  • An explicit separation between what is real data, what is deterministic simulation, and what is a flagged design assumption.
  • Voice control in five languages with an offline fallback, so the system keeps working without cloud access.
  • Exact page-level citations to NASA standards inside agent decisions.

What we learned

  • LLMs are good at deciding what to do and poor at calculating physics, so the reliable design is agents for decisions and deterministic code for numbers.
  • A safety layer that is independent from the agent (rules first, then a judge, then a vote) catches mistakes the agent cannot see in itself.
  • Reporting a negative result clearly (the storm model versus persistence) makes the rest of the claims more credible.
  • Delays change everything: when Earth cannot answer, autonomy, local compute and human-in-the-loop confirmation have to be designed in from the start.

What's next for Tango Horizon

  • Run open-weight models fully on local compute to mirror a real Mars deployment.
  • Replace flagged design assumptions (pod mass budget, keep-out radii, slope limits) with values validated against hardware or published studies.
  • Extend hydration and dust models beyond Gale Crater and beyond a single weather station.
  • Validate the biomedical and FDIR advisories with domain experts, always as decision support and never as clinical diagnosis.
  • Add more rescue and science scenarios and more crew roles.

Known limitations

  • The terrain covers a 4 km x 4 km area. Orbital inputs (CRISM, CTX, THEMIS) cannot resolve outcrops smaller than about 20 m.
  • Solar and radiation models are simplified (direct beam only, geometric sky-view factor).
  • The hydration output is a relative H/OH indicator, not absolute water content.
  • The storm model uses a single station and cannot model global dust transport.
  • The vein detector works only on real Mastcam/MAHLI photos and detects visual bright veins only.
  • Health and fault outputs are advisories, not diagnoses or command authority.

Data used

NASA and USGS sources: MRO HiRISE DTM and orthoimage, MRO CTX, MRO CRISM, Mars Odyssey THEMIS, MSL Curiosity DAN, REMS, RAD, Mastcam and MAHLI, Mastcam optical depth, JPL Horizons (DE441), CCMC DONKI, Mars 2020 MOXIE, NASA OCHMO / NASA-STD-3001 / AMCL / MEDPRAT / Mars-GRAM / MCD, and NASA 3D Resources.

AI usage

We used AI coding agents (Codex, Claude Code, Gemini Antigravity, IBM Bob, Meta Muse) under our own AFAW (Anti-Fragile Agentic Workflow) methodology: one branch and worktree per task, shared contract files, atomic commits and human review of every pull request. At runtime the system uses Google Gemini models on Vertex AI / AI Studio and Meta Muse models, with a deterministic offline fallback. All plans, code, data validation, formulations and results were reviewed by the authors.

Team

Tango Horizon, Buenos Aires, Argentina

  • Agustin Diaz-Cano: MS candidate, Systems Engineering (UTN FRBA)
  • Baltazar Salerno: Frontend developer
  • Milagros Sotelo: Systems Engineering student (UTN FRBA)
  • Federico Yaconis: 3D developer and QA

Supported by NASA, NASA Space Apps Challenge, CONAE, Universidad de Palermo and IBM Argentina.

Built with

TypeScript, Three.js (WebGL2), Vite, Node.js, Fastify, Model Context Protocol, Zod, Vitest, Web Speech API, Web Audio API, WebSocket, Python, scikit-learn, PyTorch, DINOv2, Google Cloud Vertex AI, Google AI Studio (Gemini), Meta Muse, Google Cloud Text-to-Speech, Cloud Run, Terraform, Vercel, GitHub Actions

License

Code under MIT. Original 3D models under CC BY 4.0.

Built With

Share this project:

Updates