Skip to main content
Slash commands and CLI flags control models, sessions, and layout inside the TUI.
The user types slash commands such as /help and /model while the agent streams responses in the TUI.

TUI CLI Commands

Complete reference for all TUI-related CLI commands.

Quick Start

1

Launch the TUI

2

Run a headless simulation

praisonai tui

Main TUI command group for interactive terminal interface.

launch

Launch the interactive TUI.
Options: Examples:

simulate

Run a headless TUI simulation script for testing.
Arguments: Options: Examples:

snapshot

Print a TUI-like snapshot of current state.
Options: Examples:

trace

Replay events from persistence like a timeline.
Arguments: Options: Examples:

In-session slash commands (checkpoint-aware)

Inside a running TUI session, /diff and /undo inspect and roll back workspace file changes. These commands are also available in the legacy praisonai code REPL and are backed by the same engine, so behaviour is identical.
See Checkpoints for the full API and config precedence, and Slash Commands for the slash-command overview.

praisonai queue

Queue management commands.

ls

List queued runs.
Options: Examples:

cancel

Cancel a queued or running run.
Arguments: Examples:

retry

Retry a failed run.
Arguments: Examples:

clear

Clear all queued runs.
Options: Examples:

stats

Show queue statistics.
Options: Examples:

Environment Variables

Best Practices

Run praisonai simulate with mock providers to avoid live API spend in pipelines.
Set PRAISONAI_TUI_JSONL when you need structured event replay after failures.
PRAISONAI_TUI_DEBUG=1 is for local troubleshooting only — it adds verbose noise.
Share a cheatsheet of /context, queue, and simulate commands so operators behave consistently.

TUI Overview

Interactive terminal interface

TUI Simulation

Headless testing and CI