Skip to main content
An interactive terminal UI runs PraisonAI agents with streaming output, queues, and session persistence.
The user runs praisonai tui launch and chats with the agent in a full-screen Textual session.

PraisonAI TUI

The PraisonAI TUI (Terminal User Interface) provides an app-like interactive experience for running AI agents directly in your terminal. Built with Textual, it offers a modern, responsive interface with streaming output, queue management, and session persistence.

Features

  • Event-loop driven UI - Always-active input, non-blocking operations
  • Multi-pane layout - Chat history, status bar, queue panel, tool execution
  • Streaming output - Token-by-token display with backpressure handling
  • Queue management - Submit multiple tasks, cancel, retry, priority ordering
  • Session persistence - Resume sessions after crashes
  • Slash commands - Quick actions like /help, /model, /cost
  • Keyboard shortcuts - Efficient navigation and control

Quick Start

1

Launch the TUI

2

Launch with options

Installation

TUI is included by default with PraisonAI:
For a minimal installation without TUI:

Architecture

The TUI is built on a clean separation of concerns:

Key Components

Widgets

Screens

Keyboard Shortcuts

Best Practices

Ctrl+Enter to send and F2 for the queue panel speed up daily terminal workflows.
Enqueue heavy tasks instead of blocking the interactive session.
Ctrl+L resets the view when switching test cases or agents.
Script headless runs for regression tests; use the interactive TUI for exploration.

TUI Commands

CLI commands reference

Queue System

Queue management details