DEV Community

hongjv zhao
hongjv zhao

Posted on

Star Trek Voice Computer AI Agent

I Built a Star Trek Ship Computer in Rust

Repo: https://github.com/zhj-ldm/Star-Trek-voice-computer-rust

As a lifelong Star Trek fan, I've always wanted a shipboard computer that responds the moment you say "Computer" — so I built one in Rust. Function first, here's what it does:

  • Wake word computer with interrupt / stop keywords; fully local voice loop (KWS + STT + TTS)

  • Dual-agent architecture: main agent dispatches tasks, sub agent runs in the background and reports back by voice

  • Skills system, memory, scheduled tasks, session management

  • Built-in zero-API-key web search with multi-engine fallback

  • Clean minimal Electron UI

Stack: Rust (axum) backend + a dedicated voice-serve process + Electron frontend. Apache-2.0, clone and build.

It's been through many iterations: a pure Python version at first, then a Hermes-based backend, then GOOSE — before settling on the current architecture for maximum controllability.

Honest note: much of it is AI-assisted development. It runs, but I'm sure there are hidden bugs. Happy to improve it together — any feedback is welcome.

Top comments (0)