Skip to main content

Use the TUI

The OpenRAG Terminal User Interface (TUI) provides a simplified and guided experience for configuring, managing, and monitoring your OpenRAG deployment directly from the terminal.

OpenRAG TUI Interface

If you install OpenRAG with the automatic installer script, uv, or uvx, you use the TUI to manage your OpenRAG deployment. The TUI guides you through the initial setup, automatically manages your OpenRAG .env and docker-compose files, and provides convenient access to service management controls.

In contrast, when you deploy OpenRAG with self-managed services, you must manually configure OpenRAG by preparing a .env file, and then use Docker or Podman commands to deploy and manage your OpenRAG services.

Access the TUI

If you installed OpenRAG with uv, access the TUI with uv run openrag.

If you installed OpenRAG with the automatic installer script or uvx, access the TUI with uvx openrag.

You can navigate the TUI with your mouse or keyboard. Keyboard shortcuts for additional menus are printed at the bottom of the TUI screen.

Manage services with the TUI

Use the TUI's Status page to access controls and information for your OpenRAG services. For more information, see Manage OpenRAG services.

Toggle GPU/CPU mode

You can toggle between GPU and CPU mode from within the TUI if your system has compatible GPU hardware and drivers installed.

In the TUI, click Status, and then click Switch to GPU Mode or Switch to CPU Mode.

This change requires restarting all OpenRAG services because each mode has its own docker-compose file.

Exit the OpenRAG TUI

To exit the OpenRAG TUI, press q on the TUI main page.

Exiting the TUI doesn't stop your OpenRAG services. Your OpenRAG services continue to run until they are stopped from within the TUI or by another process that inadvertently stops them.

To restart the TUI, see Access the TUI.