"Where is everybody?" — Enrico Fermi, 1950
FermiParadox is an AI-powered astrophysics simulator that models the rise and fall of civilizations across the galaxy, constrained by real physics. It combines a high-performance Rust simulation engine with a React + Three.js frontend and a Claude AI narrative layer.
- 🔭 Real exoplanet data from the NASA Exoplanet Archive
- ⚡ Rust-powered physics engine — stellar evolution, energy scaling, Dyson Sphere detectability
- 🧠 AI narrative generation — each civilization gets a unique story derived from physical parameters
- 🌐 Interactive 3D galaxy map — Three.js visualization of simulated civilizations
- 📡 Fermi Paradox analyzer — calculates the Great Filter probability given your simulation results
- 🕰️ Andromeda Paradox visualizer — relativistic simultaneity cones per civilization
- 📊 Kardashev tracker — real-time energy type progression (I → VII)
FermiParadox/
├── frontend/ # React + Three.js + Vite
│ └── src/
│ ├── components/ # Galaxy map, civilization cards, paradox visualizer
│ ├── hooks/ # useSimulation, useNarrative, useExoplanets
│ ├── store/ # Zustand state management
│ └── utils/ # Physics helpers, API clients
├── backend/ # Rust — Axum HTTP server + simulation engine
│ └── src/
│ ├── main.rs
│ ├── simulation/ # Civilization lifecycle, energy models
│ ├── physics/ # Stellar evolution, detectability, Dyson math
│ └── api/ # REST endpoints
└── docs/ # Architecture decisions, physics references
cd backend
cargo run --release
# API available at http://localhost:8080cd frontend
npm install
npm run dev
# UI available at http://localhost:5173The simulation engine implements:
- Stellar Habitable Zone drift over time using luminosity evolution:
L(t) = L₀ · (t/t₀)^0.4 - Kardashev Energy Scaling:
K = (log₁₀(P) - 6) / 10.4where P is watts consumed - Dyson Sphere IR Excess: detectable excess at ~10μm for Type II+ civilizations
- Great Filter probability via Drake Equation with Monte Carlo sampling
- Relativistic simultaneity for the Andromeda Paradox visualizer
Each civilization simulation produces a structured JSON output fed to Claude AI, which generates:
- Origin story constrained by stellar type and planetary conditions
- Technological trajectory based on Kardashev progression
- Collapse/survival analysis based on energy availability
- Detectability report — what James Webb would see from Earth
| Tier | Features | Price |
|---|---|---|
| Free | 3 simulations/day, basic map | $0 |
| Explorer | Unlimited sims, AI narratives, export | $9/mo |
| Research | API access, bulk simulations, custom params | $29/mo |
- Core simulation engine (Rust)
- Galaxy 3D map (Three.js)
- AI narrative generation
- NASA exoplanet data integration
- Multiplayer civilizations (competing/cooperating)
- JWST observation mode (real telescope data overlay)
- WebAssembly port of physics engine
- Mobile app
- Kardashev, N.S. (1964). Transmission of Information by Extraterrestrial Civilizations
- Hart, M.H. (1975). Explanation for the Absence of Extraterrestrial Life on Earth
- Penrose, R. (1989). The Emperor's New Mind (Andromeda Paradox)
- NASA Exoplanet Archive: https://exoplanetarchive.ipac.caltech.edu/
PRs welcome. Please read docs/CONTRIBUTING.md before submitting.
Built with Rust 🦀 + React ⚛️ + Three.js 🌐 + Claude AI 🤖