TerminalWorld Multimodal: Why Agentic Terminal Use Is Visual

TerminalWorld Multimodal (arXiv:2612.00173, UCL) challenges the text-only view of CLI agents with 365 tasks across 60 Terminal User Interface (TUI) applications and 11 domains including 3D CAD, Sixel graphics, chemistry, and bioinformatics. On the 200-task hard subset, GPT-6 Astra solves 45.5%, Claude Opus 5 solves 28.5%, and the top open-weight model (Kimi K3) reaches 12.0%.
TerminalWorld Multimodal: Why Agentic Terminal Use Is Visual: TerminalWorld Multimodal (arXiv:2612.00173, UCL) challenges the text-only view of CLI agents with 365 tasks across 60 Terminal User Interface (TUI) applications and 11 domains including 3D CAD, Sixel graphics, chemistry, and bioinformatics. On the 200-task hard subset, GPT-6 Astra solves 45.5%, Claude Opus 5 solves 28.5%, and the top open-weight model (Kimi K3) reaches 12.0%. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- 365 Visual TUI Tasks Across 60 Apps: Covers Software Engineering, SysAdmin, 3D Modeling (29 Sixel tasks), Graphic Design (28 mouse tasks), Chemistry, and Bioinformatics.
- Exposes Frontier Vision-Action Gaps: On 200 hard tasks (up to 600 turns, 2h cap), GPT-6 Astra reaches 45.5%, GPT-6.1 Sol 40.0%, Gemini 4 Argon 29.5%, and Claude Opus 5 28.5%.
- Open-Weight Deficit Highlighted: Best open-weight model Kimi K3 scores 12.0% overall (0.0% on Games, Chemistry, and Bioinformatics), while four other open models score <=6.0%.
- Selective Video Inspection: Stronger agents invoke video recording sparingly (20%–21% overall, spiking to 77%–100% on animated Chemistry tasks) using 6s view_video clips.
import { createAgent } from '@smoke-monkey/harness';import { execFile } from 'node:child_process';import { promisify } from 'node:util';const execFileAsync = promisify(execFile);// Multimodal terminal-use agent supporting PTY keystrokes, mouse coords, and frame captureconst agent = createAgent({agentId: 'terminalworld-tui-operator',provider: 'anthropic',model: 'claude-sonnet-4-5',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});async function capturePtyDimensions(sessionName: string) {const { stdout } = await execFileAsync('tmux', ['display-message', '-p', '-t', sessionName, '#{pane_width}x#{pane_height}']).catch(() => ({ stdout: '120x40' }));return stdout.trim();}async function main() {const dims = await capturePtyDimensions('main');const res = await agent.run(`Terminal pane geometry is ${dims}. Inspect rendered TUI state before dispatching mouse cell coordinates or Ctrl sequences.`);console.log(res.summary);}main().catch(console.error);
Watch: Related Video Guides
Best AI Coding Agents for the Terminal
Gemini CLI vs Claude Code vs Codex Compared! Should You Use an AI CLI?
Why Text-Only CLI Harnesses Fail on Modern Terminal User Interfaces
TerminalWorld Multimodal (University College London, terminalworld.ai/multimodal) demonstrates that terminal interaction is fundamentally spatial and visual rather than a pure 1D character stream. Modern TUI applications render split-pane layouts, color-coded alignment matrices, mouse-clickable widgets (132 tasks require mouse coordinates), and high-resolution Sixel graphics (29 3D modeling tasks).
Evaluating 12 frontier multimodal LLMs paired with their official agent harnesses on the 200-task hard subset (600-turn limit, 2-hour timeout, pixel observations) reveals that 74 tasks (37.0%) remain unsolved by every single model, and only one task is solved by all 12.
| Model (Official Harness, High Reasoning) | Type | Hard Subset Pass Rate | Key Strength / Bottleneck |
|---|---|---|---|
| GPT-6 Astra | Proprietary | 45.5% | +26.1 pts on Chemistry vs Sol; 20% video rate |
| GPT-6.1 Sol | Proprietary | 40.0% | Strong SysAdmin; lags Astra on Graphic Design (-9.5 pts) |
| Gemini 4 Argon | Proprietary | 29.5% | Competitive SysAdmin & 3D multi-view inspection |
| Claude Opus 5 | Proprietary | 28.5% | Strong SWE/SysAdmin; lower spatial cell precision |
| Kimi K3 | Open-Weight | 12.0% | Best open model (20–60% SWE/SysAdmin; 0% Chem/Bio) |
| Mistral Large 4 / DeepSeek-V4.1-Flash / GLM-5.3-Flash / MiniMax-M3.1-Flash | Open-Weight | ≤6.0% | 0.0% across Games, Chemistry, and Bioinformatics |
Pixel Observations vs 2D Character Grids and Selective Video Inspection
TerminalWorld Multimodal exposes three crucial engineering lessons for anyone building CLI coding or operations agents:
- SWE & SysAdmin ≠ Visual TUI Mastery: Eight of 12 models score >=60% on SWE & SysAdmin (peaking at 70.0%), yet six models hit 0.0% on Graphic Design (max 47.6%), which demands exact terminal cell coordinates and fine color discrimination.
- Selective Temporal Sampling: Animated terminal workloads (such as molecular vibrations in Chemistry) trigger
view_videoin 77%–100% of runs (median 41s recordings inspected in 6s segments). Top models (GPT-6 Astra,GPT-6.1 Sol) record video in only 20%–21% of runs overall, avoiding wasted multimodal tokens on static screens. - Render Sixel & ANSI Grids for Agents: Agent harnesses that strip ANSI escape sequences or omit terminal screenshots blind coding agents whenever users launch
htop,gdbTUI,k9s, orlynx.
Design Rule for Coding & Ops Harnesses
Expose both raw PTY stdout and on-demand terminal framebuffer snapshots (or 2D grid + ANSI color metadata) so agents can navigate interactive TUIs without corrupting cursor state.
Capturing Headless PTY Buffers and Rendered Terminal Frames in Linux/macOS
To equip a local coding agent with visual TUI inspection, capture both the 2D character grid via tmux capture-pane -e (preserving ANSI escapes) and rendered pixel frames when Sixel or mouse widgets are active.
# Capture exact 2D ANSI character grid from a running tmux TUI session
tmux capture-pane -t dev-tui -p -e -S -50 > /tmp/tui_frame_ansi.txt
# Query cursor coordinates and pane dimensions for mouse/keystroke targeting
tmux display-message -t dev-tui -p "width=#{pane_width} height=#{pane_height} cursor=#{cursor_x},#{cursor_y}"Frequently Asked Questions
Q:How many tasks and TUI applications are in TerminalWorld Multimodal?
The benchmark contains 365 tasks (165 easy, 200 hard) spanning 60 real TUI applications across 11 categories, including 132 mouse-interactive tasks and 29 Sixel graphics tasks.
Q:Why did open-weight models score 12% or less on the TerminalWorld hard subset?
Open-weight MLLMs solved routine SWE & SysAdmin tasks (20%–60%) but scored 0.0% on Games, Chemistry, and Bioinformatics due to weak spatial cell grounding and visual TUI reasoning.
Q:When should a terminal agent use video recording versus static screenshots?
In TerminalWorld, top models record video only in 20%–21% of runs overall—primarily for dynamic animations like Chemistry molecular motion (77%–100%)—while relying on single frames for static layouts.
Q:What are the action primitives in TerminalWorld Multimodal?
Agents interact strictly through sandboxed terminal keystrokes, mouse cell coordinates, frame/last_k_frames inspection, short 6-second video clips via view_video, and a finish signal.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.