TUI Overview
AetherShell’s Terminal User Interface (TUI) provides a rich, multi-pane interface for AI chat, agent management, media browsing, and more — all within your terminal.
Launching the TUI
ae tui # standard launch
ae --tui # alternative flag
RUST_LOG=debug ae tui # with debug logging
Interface Layout
The TUI has three main areas:
┌──────────────────────────────────────────────────────┐
│ Chat │ Agents │ Media │ Settings │ Distributed │ … │ ← Tabs
├──────────────────────────────────────────────────────┤
│ │
│ Main Content │ ← Mode-specific
│ │
├──────────────────────────────────────────────────────┤
│ > Type a message... │ Help: ? │ ← Input + Help
└──────────────────────────────────────────────────────┘
- Header — Tab bar showing the current mode
- Main Content — Changes based on the active tab
- Footer — Text input (70%) and help hints (30%)
Tabs / Modes
Switch between modes using Tab / Shift+Tab or number keys 1-6:
| # | Tab | Description |
|---|---|---|
| 1 | Chat | AI conversation with multimodal support |
| 2 | Agents | Create and manage AI agent swarms |
| 3 | Media | Browse and select images, audio, video |
| 4 | Settings | Configure model, preferences |
| 5 | Distributed | Manage distributed agent networks |
| 6 | Reasoning | Advanced reasoning chains and knowledge |
Input Modes
The TUI operates in two input modes:
Normal Mode
Key presses are interpreted as navigation commands. Use arrow keys, j/k for movement, Tab to switch tabs, q to quit.
Editing Mode
Key presses go to the text input field. Press Enter or i to enter Editing mode, Esc to return to Normal mode.
The current mode is indicated in the input box border style.
Configuration
The TUI reads configuration from environment variables and defaults:
| Setting | Default | Description |
|---|---|---|
| Model | $AETHER_AI | Default AI model for chat |
| Max messages | 1,000 | Message history limit |
| Auto-scroll | On | Scroll to latest message |
| Timestamps | On | Show message timestamps |
| Media preview | On | Enable in-terminal image preview |
| Agent update interval | 1,000ms | Agent status refresh rate |
Quick Start
-
Set your AI provider:
export AETHER_AI=openai export OPENAI_API_KEY=sk-... -
Launch the TUI:
ae tui -
Press
Enterto start typing, write your message, pressEnterto send -
Press
Tabto explore other modes (Agents, Media, etc.) -
Press
qorCtrl+Cto exit