Z²ᴱ-Agent cybernetic wolf logo
$z2e-terminalv0.2.4·go + bubble tea

Autonomous AI agent TUI for CTF and pentesting.

z2e-terminal accepts natural-language missions, plans and executes multi-step CLI actions autonomously, observes output, reasons, and iterates until the objective is reached.

root@z2e:~z2e-terminal — bash
root@z2e:~# export AI_GATEWAY_API_KEY="..."
root@z2e:~# just run
root@z2e:~#cat config.json
{ config.json }read-only
go_loc:~4k
models:250+
max_steps:30
retries:2
output_cap:64KB
timeout:60s
Z2E Demo
YouTube
root@z2e:~# ls capabilities/

Features

Everything you need for autonomous security operations.

Agent Loop

Plan, execute, observe, replan. SSE streaming, doom-loop detection, up to 30 autonomous steps per mission.

250+ Models

Route through any AI Gateway provider. Switch at runtime via /model. OpenAI, Anthropic, Google, DeepSeek, Meta, Mistral, xAI.

CTF System Prompt

Built-in CTF persona with crypto, web exploitation, OSINT methodology. Tool-first, evidence-based iteration.

Tool Execution

Pure pass-through policy. bash / run_command with timeout enforcement, 64KB output capture, doom-loop guard.

Session Debug

Live JSON snapshot at /tmp/z2e-terminal/session.json. Per-step traces, full history, doom-loop monitoring.

Bubble Tea TUI

Vim-style modal input, glamour markdown render, runtime model picker, full mouse support, alt-screen.

root@z2e:~# agent --loop

How it works

One mission, five stages, zero hand-holding.

01Receive

Natural-language mission from operator.

02Plan

Agent reasons, picks tools, sequences steps.

03Execute

Runs shell commands, captures output live.

04Observe

Parses results, validates, learns from output.

05Iterate

Replans until objective reached or cap hit.

loops until objective reached · max 30 steps · doom-loop guard at 3
root@z2e:~# ./z2e-terminal --demo

Autonomous agent in action

Watch the agent plan, execute, and iterate on CTF challenges.

leon — Kitty
Z²ᴱz2e-terminal·go + bubble tea

© 2026 Z2E-Agent Team