A Rust space-economy sim runs hundreds of autonomous ships, built with Claude
kalcode · hn · 2026-07-22
A developer shows a self-running space-economy simulator built in Rust and Bevy, with hundreds of autonomous ships planning their own actions.
The sim has no scripted objectives: ships chase trade routes, contracts, refueling, retrofits, and morale; markets move with supply and demand plus shortage multipliers; factions tax and subsidize; unhappy populations migrate; and failing stations are abandoned. The author says Claude helped rewrite the engine from an Elixir/Phoenix prototype into a synchronous Rust core, with a GOAP-based ship planner, shared sim/renderer world, and a single native binary. They report about 485 agents at roughly 10–20 ms per tick, and say the architecture is meant to scale toward 100k agents even though that has been difficult in practice.
The repo is currently more of a sandbox than a shippable game, but the author invites others to fork it and is open to discussing the Claude-assisted workflow behind it.
More from coding & agent
- Building a Secure AI Agent Gateway: Self-Hosting OAuth for Multiple SaaS Apps — Defiant_Cod_2654 · 2026-07-22
- Rowboat launches as an open-source, local-first AI coworker with memory — ycombinator · 2026-07-22
- Reddit user chains Ideogram 4 and Krea2 to mimic bbox-based image positioning — v3lh0t05c0 · 2026-07-22
- Apollo Cuts AI Assistant Skill Dev Time by 85% with Deep Agents — LangChain · 2026-07-22
- Scoble says AI “loops” really means long-running multi-agent workspaces — Scobleizer · 2026-07-22
- Kimi Code opens a waitlist as Moonshot rolls out its coding product — Fabulous_Bonus_8981 · 2026-07-22