
A
Apollo 11 AGC
Open SourceOriginal Apollo 11 Guidance Computer source code for space exploration
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 97/100β
76,863 Stars
git clone https://github.com/chrislgarry/Apollo-11.gitThis repository contains the original source code for the Apollo 11 Guidance Computer (AGC) used in both the command and lunar modules. It offers a fascinating historical look at the embedded assembly code that successfully guided humanity to the moon under extreme memory constraints.
Original Luminary 099 and Colossus 2A assembly code for the Apollo Guidance Computer.
Includes contemporary comments, notes, and marginalia from NASA programmers and MIT engineers.
Provides deep insight into software engineering for severely constrained, core-rope memory hardware.
Studying early embedded systems and real-time operating system architecture
Historical research into the 1969 lunar landing software architecture
Running simulations of the Apollo guidance algorithms using community emulators
Embedded systems engineers, computer science historians, and developers fascinated by aerospace history.
Apollo 11 AGC is engineered to eliminate critical operational friction in open source alternatives. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
The Apollo 11 Guidance Computer (AGC) source code represents the primary flight software for the Command Module (Colossus 2A) and Lunar Module (Luminary 099), developed by the MIT Instrumentation Laboratory under the architectural direction of Margaret Hamilton and Hal Laning. Engineered for custom discrete-transistor RTL logic operating at a clock frequency of 1.024 MHz, the software executed under extreme physical hardware constraints: exactly 2,048 15-bit words (approximately 4 kilobytes) of magnetic core RAM (erasable memory) and 36,864 words (approximately 74 kilobytes) of physically woven core-rope ROM (fixed memory). The architecture utilized 15-bit data words with an additional parity bit (16 bits total), employing one's complement arithmetic. The runtime's defining computer science breakthrough was its priority-scheduled, asynchronous real-time operating system. The system executive, known as the 'Exec,' cooperatively managed up to eight concurrent, priority-ranked job slots, while the 'Waitlist' handled up to nine interrupt-driven timed tasks dispatched via hardware timer interrupts. Fault tolerance was demonstrated during the historic Apollo 11 lunar descent: when an incorrectly configured rendezvous radar saturated the AGC CPU with spurious cycle-stealing interrupts, triggering the famous 1201 and 1202 alarms, the Exec automatically shed low-priority radar and display tasks while persistently maintaining critical propulsion guidance and thruster control loops, successfully landing Apollo 11.
From an engineering ergonomics and historical readability standpoint, the AGC codebase is authored in AGC Assembly language (targeting the yaAGC / AGC4 instruction set). The code is legendary for its meticulous structural discipline, containing comprehensive inline mathematical derivations, astronomical coordinate transformations, and contemporary MIT engineer annotations ranging from Shakespearean quotations to playful engineering puns (most famously the BURN, BABY, BURN label designating the master lunar descent engine ignition sequence). Transcribed from physical paper listings through the dedicated efforts of Ron Burkey's open-source Virtual AGC project, the modern developer experience is surprisingly accessible. Software engineers can assemble the raw source using open-source cross-assemblers (yaYUL) and execute the flight programs cycle-accurately within virtual AGC emulators paired with simulated DSKY (Display and Keyboard) interfaces. The modular organization of the source code into discrete subsystemsβsuch as orbital integration, attitude control, and lunar landing maneuversβdemonstrates an astonishing degree of architectural foresight that anticipated modern component-based software engineering. However, from a contemporary operational perspective, the software is strictly non-deployable to modern hardware platforms. The assembly dialect relies on obsolete hardware-specific bank-switching registers, non-standard one's complement overflow handling, and unique I/O channel address mappings that hold zero direct utility for commercial application development. Nonetheless, for systems programmers.
As an official historical work of the United States Government (NASA) developed by the MIT Instrumentation Laboratory, the Apollo 11 AGC codebase resides entirely within the public domain, carrying zero licensing fees, commercial restrictions, or copyright encumbrances. In historical economic terms, the development of the Apollo guidance software was a monumental federal investment. The Apollo flight software initiative consumed several hundred million dollars in 1960s fundingβtranslating to billions of inflation-adjusted dollars in modern currencyβand required the concerted labor of over 400 software engineers, mathematicians, and systems analysts at MIT. In an era before established computer science curricula, formal compilers, or interactive software debuggers existed, Hamilton's software engineering division practically invented the discipline of software engineering itself. They established formal verification methodologies, extensive hardware-in-the-loop simulation runs on analog-digital hybrid mainframes, and rigorous regression testing protocols. The software's development established unprecedented standards for peer code reviews, formal requirements traceability, and rigorous anomaly tracking that continue to inform aerospace systems certification frameworks today. Today, the repository serves as an invaluable, zero-cost educational asset. While developing a modern safety-critical embedded avionics package (under DO-178C Level A certification guidelines) routinely costs upwards of $1,000 to $3,000 per verified line of code, the AGC repository gifts the global engineering community an open, completely transparent primary-source reference for mission-critical software verification and extreme-constraint computational optimization.
Earning an exceptional ToolsRadar Signal Score of 97/100, the Apollo 11 AGC repository is one of the most significant open-source artifacts in the history of computer science. It stands as a timeless masterclass in real-time systems programming, proving that software reliability is ultimately an architectural discipline rooted in deterministic scheduling, fault-tolerant priority preemption, and rigorous formal validation rather than brute-force hardware resources. We recommend the AGC codebase unconditionally for embedded systems engineers, aerospace software architects, real-time operating system researchers, and computer science historians seeking to study the foundational roots of mission-critical engineering. It provides an unmatched pedagogical lens for understanding how to build fail-soft systems that maintain deterministic control under catastrophic environmental overload. Its enduring architectural legacy demonstrates that software engineering rigor, deterministic state management, and clear priority hierarchies remain the ultimate defense against unanticipated system failure in high-stakes operational environments. Conversely, general software developers building standard web, mobile, or enterprise cloud applications should treat this repository purely as a historical and educational study, as its specialized assembly paradigms and obsolete hardware semantics have no direct applicability to modern application stacks. For anyone passionate about the craft of software engineering and the monumental human achievement of landing on the Moon, the Apollo 11 AGC codebase remains an indispensable, inspiring monument of software craftsmanship.
Apollo 11 AGC is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Compared to alternative solutions, Apollo 11 AGC offers distinct developer flexibility, streamlined workflows, and focused features.
Yes. Apollo 11 AGC is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Apollo 11 AGC. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Apollo 11 AGC quickly using the following command: git clone https://github.com/chrislgarry/Apollo-11.git Visit the official portal at https://github.com/chrislgarry/Apollo-11 for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Apollo 11 AGC was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Apollo 11 AGC and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/apollo-11-agc)<a href="https://lordorange.top/tool/apollo-11-agc" target="_blank"><img src="https://lordorange.top/badge/apollo-11-agc.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Apollo 11 AGC.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.