We've been experimenting with giving AI agents access to a proper orbital mechanics environment. Darksun is a browser-based space mission simulator with 25+ MCP tools, so Claude (or any MCP-compatible agent) can create spacecraft, plan transfers, schedule maneuvers, and propagate trajectories directly.
The physics runs in Rust compiled to WASM, it simulates 61 solar system bodies using NASA JPL DE440 ephemeris data, with IAS15 and Dormand-Prince 8(7) integrators that can propagate years into the future at high fidelity. Perturbations include J2/J3 oblateness, atmospheric drag, solar radiation pressure, albedo pressure, and third-body gravitational effects.
Honestly, it still fails complex missions on the first attempt , but it can iterate, adjusting maneuvers and refining trajectories over multiple tries. It handles constellations and multi-spacecraft scenarios too. The interesting part is watching an AI agent reason about orbital mechanics and work through the problem.
johnmoonwalker•1h ago
The physics runs in Rust compiled to WASM, it simulates 61 solar system bodies using NASA JPL DE440 ephemeris data, with IAS15 and Dormand-Prince 8(7) integrators that can propagate years into the future at high fidelity. Perturbations include J2/J3 oblateness, atmospheric drag, solar radiation pressure, albedo pressure, and third-body gravitational effects.
Honestly, it still fails complex missions on the first attempt , but it can iterate, adjusting maneuvers and refining trajectories over multiple tries. It handles constellations and multi-spacecraft scenarios too. The interesting part is watching an AI agent reason about orbital mechanics and work through the problem.
Free to use, no install, runs in the browser.