Inspiration
Vibe coding is everywhere, but it's a black box: you fire off a prompt and watch as your codebase is changed in mysterious ways. For beginners especially, there's no mental model of what's actually happening under the hood. With Space Agents!, we wanted to build a tool to make the agentic workflow transparent, visualizing your codebase topology and the swarm of agents operating on it in real time.
What it does
Space Agents! is an orchestration and observability platform for agentic swarms working on your codebase. It renders a project's file tree in real-time, with directories and files as planets and agents as spaceships flying between them. Each agent's activity, target file, and operation type are tracked live. The visualization encodes file metadata (type via color, size via scale) and supports manual pan/zoom for navigating dense clusters. Launch new agents from within the app!
How we built it
We hooked into Claude Code via session hooks to stream agent information to a Rust server, which relays events to the frontend over WebSockets. The frontend uses the Rust notify crate for filesystem watching and the Bevy game engine for real-time 3D rendering of the codebase graph and agent state.
Challenges we ran into
Space Agents! is coded entirely in Bevy, a Rust game engine, which had a steep learning curve for most of the team. We integrated the Claude Code SDK for the first time, and we had a lot of fun designing a clean event pipeline using hook and websocket information to keep rendering modular.
Accomplishments that we're proud of
We built a tool that we will use ourselves. We also think our visuals are quite fun, while still being useful to the user!
What's next for Space Agents!
- Multiplayer mode: Code collaboratively, view your teammates' agent swarms next to your own
- Agentic interaction directly from the visualization: spawn, control, & kill agents from the app itself
- Multiple options for customizing the layout depending on user preferences
Built With
- bevy
- claudesdk
- rust
- websockets
Log in or sign up for Devpost to join the conversation.