Runtime Layer
Rust + Axum + Tokio powers concurrent connections and isolates WebSocket task failures from core messaging operations.
Architecture
The stack prioritizes local reliability: concurrent WebSocket handling, persistent event flow, and AI orchestration that never blocks base communication.
Rust + Axum + Tokio powers concurrent connections and isolates WebSocket task failures from core messaging operations.
SurrealDB (embedded RocksDB) stores user, channel, and message data with support for semantic vectors and full-text retrieval.
Ollama-backed inference with semaphore-protected queueing keeps local model execution stable across multiple agents.
Single-binary distribution embeds frontend assets, simplifying internal rollout for desktop and browser clients.