Z²ᴱ logo

Quick Start

Get up and running with z2e-terminal in minutes.

Launch the TUI

just run

Or directly:

go run ./cmd/z2e-terminal

This starts the Bubble Tea TUI with:

  • Transcript: Scrollable agent conversation
  • Composer: Bottom message input (vim-style modal: i/a to insert, Esc to normal)
  • Title bar: App name + version
  • Status bar: Mode, model name, turn count, keybinding help

Controls

KeyAction
EnterSend message
i / aEnter insert mode
EscReturn to normal mode
Ctrl+LClear output
Ctrl+CQuit
PgUp / PgDn k / jScroll
g / HomeJump to top
G / EndJump to bottom
mToggle mouse select on/off
/modelOpen model picker

Run a Mission

Once the TUI is loaded, type a natural-language mission and press Enter. The agent will:

  1. Plan how to approach the objective
  2. Execute shell commands autonomously
  3. Observe the output
  4. Replan based on results
  5. Deliver a final answer when done

Example missions:

  • Scan open ports on example.com with nmap
  • Enumerate subdomains for example.org
  • Check if example.com has any HTTP security headers

Debugging

During a session, live state is written to:

  • Live snapshot: /tmp/z2e-terminal/session.json
  • Per-step traces: /tmp/z2e-terminal/YYYY-MM-DD/HH-MM-SS.json

On this page