TUI CLI Commands
Complete reference for all TUI-related CLI commands.praisonai tui
Main TUI command group for interactive terminal interface.launch
Launch the interactive TUI.| Option | Short | Description |
|---|---|---|
--workspace | -w | Workspace directory |
--session | -s | Resume session ID |
--model | -m | Default model |
--debug | -d | Enable debug overlays |
--log-jsonl | Write events to JSONL file | |
--profile | Enable performance profiling |
simulate
Run a headless TUI simulation script for testing.| Argument | Description |
|---|---|
SCRIPT | Path to simulation script (YAML/JSON) |
| Option | Description |
|---|---|
--mock/--real-llm | Use mock provider (default) or real LLM |
--pretty/--jsonl | Output format |
--assert | Validate expected outcomes |
--timeout | Max execution time (default: 60s) |
snapshot
Print a TUI-like snapshot of current state.| Option | Short | Description |
|---|---|---|
--session | -s | Filter by session ID |
--run | -r | Filter by run ID |
--json | -j | Output as JSON |
trace
Replay events from persistence like a timeline.| Argument | Description |
|---|---|
ID | Session or run ID to trace |
| Option | Short | Description |
|---|---|---|
--follow | -f | Follow new events |
--limit | -n | Max events to show (default: 50) |
praisonai queue
Queue management commands.ls
List queued runs.| Option | Short | Description |
|---|---|---|
--state | -s | Filter by state (queued, running, succeeded, failed, cancelled) |
--session | Filter by session ID | |
--limit | -n | Maximum results (default: 20) |
--json | -j | Output as JSON |
cancel
Cancel a queued or running run.| Argument | Description |
|---|---|
RUN_ID | Run ID to cancel (partial match supported) |
retry
Retry a failed run.| Argument | Description |
|---|---|
RUN_ID | Run ID to retry |
clear
Clear all queued runs.| Option | Short | Description |
|---|---|---|
--force | -f | Skip confirmation |
stats
Show queue statistics.| Option | Description |
|---|---|
--session | Filter by session ID |
Environment Variables
| Variable | Description |
|---|---|
PRAISONAI_REAL_LLM | Set to 1 to enable real LLM in simulations |
PRAISONAI_TUI_DEBUG | Set to 1 to enable debug mode |
PRAISONAI_TUI_JSONL | Path for JSONL event logging |

