Skip to Content

Interactive 4-Split Terminal UI (TUI)

The AIX 4-Split TUI (aix tui) provides a cockpit experience in the terminal, rendering task progress, streaming tokens, tool executions, and file diffs simultaneously across four responsive panes.


1. 4-Split Layout Architecture

┌──────────────────────────────────────┬──────────────────────────────────────┐ │ Panel 1: Autonomous SWE Loop Graph │ Panel 2: Streaming Agent Discourse │ │ • Task Breakdown & Subtasks │ • CoT Reasoning Trace │ │ • Verification Gates Status │ • Multi-Turn Dialogue │ │ • CircuitBreaker State (Armed) │ • Citations & File References │ ├──────────────────────────────────────┼──────────────────────────────────────┤ │ Panel 3: Sandboxed Tool Runner │ Panel 4: Live Unified Diff Viewer │ │ • Real-time Shell Stderr / Stdout │ • Color-coded Git Hunk Changes │ │ • pytest / npm test Progress Bar │ • Syntax Highlighting │ │ • MCP Tool Execution Invocations │ • Side-by-Side Before/After │ └──────────────────────────────────────┴──────────────────────────────────────┘

2. Keyboard Shortcuts & Navigation

Key CombinationActionDescription
Tab / Shift+TabCycle Focused PanelMove focus clockwise or counter-clockwise through Panels 1–4
1 / 2 / 3 / 4Direct Panel FocusImmediately jump focus to the numbered panel
SpacePause / Resume LoopTemporarily suspend execution to inspect diff or tool output
EnterApprove Pending ActionHuman-in-the-Loop approval for pending file write or shell command
dDeny Pending ActionReject proposed tool call and prompt agent for alternative approach
fFullscreen Active PanelToggle current focused panel between split view and full screen
j / k (or ↑ / ↓)Scroll Focused ViewScroll vertically through logs, reasoning tokens, or diff lines
g / GJump to Top / BottomFast scroll to the beginning or end of output in focused panel
Ctrl+CAbort Current ToolGracefully interrupt running tool execution without killing session
Ctrl+QQuit TUIExit TUI and persist session checkpoint to ~/.aix/sessions/

3. Session Recovery & Detach

Sessions started in aix tui can be detached and re-attached without losing state:

# Detach with Ctrl+D, then re-attach later: $ aix tui --session sn-sess-8f3a9d # Resume the most recent active session: $ aix tui --resume