AI Hardware

Apollo 11 Code Open-Sourced by NASA

Everyone figured NASA's Apollo 11 code would stay buried in some vault forever. Wrong. It's now on GitHub, public domain, ready for your tinkering — and it's a brutal reminder of how little we needed to conquer the cosmos.

Screenshot of Apollo 11 AGC code on GitHub repository

Key Takeaways

  • Apollo 11's Command and Lunar Module code now public on GitHub.
  • Tiny AGC specs: 3,840 bytes RAM, yet conquered the Moon.
  • Emulate it with Virtual AGC; inspires modern efficient computing.

NASA’s Apollo 11 code. Open-sourced. Public domain. On GitHub.

That’s not a fever dream. It’s real. And it flips the script on what we thought was locked away forever in some dusty archive.

Look, back in the moonshot days, folks expected this stuff to be classified until the heat death of the universe. National security, proprietary tech — pick your excuse. But Chris Garry at NASA says nope. He’s dumped the Command Module (Comanche055) and Lunar Module (Luminary099) codebases online. Digitized by Virtual AGC and MIT Museum nerds who scanned the original listings. Proofread. Ready to roll.

This changes everything for code archaeologists, hobbyists, and anyone who’s ever wondered how three guys pulled off the impossible with less computing power than your smart fridge.

What Fresh Hell is ALARM_AND_ABORT.agc?

Dive into Comanche055. First file that smacks you: ALARM_AND_ABORT.agc. Obvious name, right? Logs alarms. Flashes lights. Handles aborts without turning the whole mission into a fireball.

Comments spell it out — crystal clear, no corporate fluff.

The published resource is basically in two large codebases, one set of code for the Command Module (Comanche055) and another for the Lunar Module (Luminary099). These modules both had their own Apollo 11 guidance computers (AGC) upon which to run the code, and were instrumental to the success of the remarkable mission – the first human Moon landing in history.

That’s straight from the repo notes. No hype. Just facts.

And get this: a measly 30 lines of assembly crunched sines, cosines — navigation essentials. Shared on Twitter, annotated. Pic.twitter.com/s4hn2EOmGSA. Boom. Transcendentals on a shoestring.

Short para for emphasis: It’s elegant. Brutally so.

Now, sprawl with me here — this isn’t some verbose Python script bloated with imports and error-handling boilerplate that crashes on a Tuesday; no, it’s assembly from 1969, hand-optimized for a computer with 3,840 bytes of RAM. Yeah, bytes. Not gigs. Your phone’s camera app laughs at that. Yet it navigated to the moon. Landed. Returned. Without a single Windows update nagging in the background.

Can You Run Apollo 11 Code on Your Laptop?

Hell yes. Virtual AGC emulator. GitHub link awaits. Compiles the code. Runs on Linux, old Windows, Mac OS X 10.3 (remember that?). Even FreeBSD.

Fire it up. Watch the DSKY blink — those clunky displays, two in the Command Module at 17.8 pounds each, one in Lunar. The AGC itself? Desktop-tower sized. 70 pounds. 85,000 instructions per second. Slower than a 90s calculator. But reliable. No bluescreens mid-orbit.

Here’s my hot take — unique, unasked for: this code’s ghost will haunt modern AI. We’re drowning in trillion-parameter models that hallucinate facts and guzzle datacenters. Apollo’s lean genius? It’ll inspire edge AI for deep space. Predict it: NASA’s Artemis drones, running distilled AGC-style efficiency. No more Outlook bugs derailing toilets on Orion. (Artemis II’s already a clown show — email glitches? Really?)

But. Skeptical eye on the timing. Over half a century later. Artemis limping along. Coincidence?

One sentence punch: Smells like PR spin.

Then, unpack it — NASA open-sources history while their new program’s toilet overflows and software burps. Contrast stings. Apollo: pure engineering poetry. Artemis: corporate email hell. We’ve regressed, folks. Bloated teams, endless meetings — that’s why we can’t moonshot anymore.

Apollo’s Puny Processor vs. Today’s Bloat

AGC specs? Hilarious.

RAM: 3,840 bytes.

Storage: 69,120 bytes.

Size: 24x12x6 inches. 70 pounds.

Modern equivalent? A Raspberry Pi sneezes more power. Yet Apollo didn’t need cloud backups or NFTs.

Dry humor break: Imagine Neil Armstrong swiping left on a Tinder for landing sites.

No. They coded tight. Hand-assembled. Tested in vacuum chambers. Every cycle counted.

Historical parallel — my insight gem: it’s like the Wright brothers’ bicycle engine code. Open it now, and drone makers weep. Apollo AGC? Future CubeSats and Mars rovers will fork it. Minimalism revolution incoming. Big Tech’s excess ends here.

Tinker warning: don’t expect Pythonic bliss. YaYUL assembler. AGC machine code. Steep curve. But rewarding — run Luminary099. Simulate Eagle’s descent. Feel the genius.

Why Does This Matter in 2024?

Education. First. Kids hacking history beats TikTok scrolls.

Inspiration. Second. Proves less is more — critique for every startup peddling ‘AI-powered’ vaporware.

Heritage. Third. Public domain means no paywalls. Fork it. Remix. Moon base sims?

But call out the hype: NASA’s not reinventing wheels. This sat in MIT vaults forever. Digitized ages ago. Now GitHub drop feels like belated homework.

Artemis context? Ironic gold. They’re prepping crewed lunar flyby — Orion’s got potty problems. Apollo code whispers: simplify, idiots.

Long para wind-down: So yeah, grab Comanche055. Poke ALARM_AND_ABORT. Compile. Run. Marvel at 1969’s audacity — then glare at your 128GB phone that’s dumber per byte. This open-source gift? A slap to complacency. Use it. Or stay grounded.


🧬 Related Insights

Frequently Asked Questions

What is Apollo 11 code?

The assembly software for the Apollo Guidance Computer (AGC) in the Command and Lunar Modules. Handled navigation, guidance, control for the first Moon landing.

Can I download and run Apollo 11 code?

Yes. GitHub repos: Comanche055 and Luminary099. Use Virtual AGC emulator. Works on modern OSes.

Why did NASA open-source Apollo 11 code now?

Public domain push by Chris Garry. Digitized from MIT Museum originals. Ties into Artemis hype — but mostly preserves history.

Sarah Chen
Written by

AI research editor covering LLMs, benchmarks, and the race between frontier labs. Previously at MIT CSAIL.

Frequently asked questions

What is Apollo 11 code?
The assembly software for the <a href="/tag/apollo-guidance-computer/">Apollo Guidance Computer</a> (AGC) in the Command and Lunar Modules. Handled navigation, guidance, control for the first Moon landing.
Can I download and run Apollo 11 code?
Yes. GitHub repos: Comanche055 and Luminary099. Use Virtual AGC emulator. Works on modern OSes.
Why did NASA open-source Apollo 11 code now?
Public domain push by Chris Garry. Digitized from MIT Museum originals. Ties into Artemis hype — but mostly preserves history.

Worth sharing?

Get the best AI stories of the week in your inbox — no noise, no spam.

Originally reported by Tom's Hardware - AI

Stay in the loop

The week's most important stories from theAIcatchup, delivered once a week.