Integrations & Tools
~9 min readUpdated: December 2026

TerminalWorld Multimodal: Why Agentic Terminal Use Is Visual

TerminalWorld Multimodal Visual TUI and Sixel Terminal Agent Sandbox

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%.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

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.

Key Architectural Takeaways
Quick Implementation Examplevisual-tui-agent-harness.ts
visual-tui-agent-harness.tstypescript
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 capture
const 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);
Video Guides

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)TypeHard Subset Pass RateKey Strength / Bottleneck
GPT-6 AstraProprietary45.5%+26.1 pts on Chemistry vs Sol; 20% video rate
GPT-6.1 SolProprietary40.0%Strong SysAdmin; lags Astra on Graphic Design (-9.5 pts)
Gemini 4 ArgonProprietary29.5%Competitive SysAdmin & 3D multi-view inspection
Claude Opus 5Proprietary28.5%Strong SWE/SysAdmin; lower spatial cell precision
Kimi K3Open-Weight12.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-FlashOpen-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:

  1. 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.
  2. Selective Temporal Sampling: Animated terminal workloads (such as molecular vibrations in Chemistry) trigger view_video in 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.
  3. Render Sixel & ANSI Grids for Agents: Agent harnesses that strip ANSI escape sequences or omit terminal screenshots blind coding agents whenever users launch htop, gdb TUI, k9s, or lynx.

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.

bash
# 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}"
Google Search Questions & Answers

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 guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness