ralph-tui
Terminal user interface for the Ralph Orchestrator framework.
Built with ratatui and crossterm, this crate provides:
- Read-only observation dashboard for monitoring agent orchestration
- Real-time display of agent messages and state
- Keyboard navigation and search
Data source modes
The TUI operates in three modes:
-
In-process (default): Embedded in the orchestration loop. Receives events via an
EventBusobserver closure and streaming output via sharedArc<Mutex<Vec<Line>>>handles. -
RPC client: Connects to a running
ralph-apiserver over HTTP/WS and consumes the same RPC v1 stream the web dashboard uses. Start with [Tui::connect]. -
Subprocess RPC: Spawns
ralph run --rpcas a subprocess and communicates via JSON lines over stdin/stdout. Start with [Tui::spawn].