Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

TUI

CyberStrike provides an interactive terminal user interface (TUI) for running security assessments with AI agents. Launch it by running cyberstrike in your project directory or specify a target path:

Terminal window
cyberstrike
cyberstrike /path/to/target

VIDEO: tui-overview.mp4

TUI launch, agent interaction, and real-time output (~15s)

File References

Use @ to fuzzy-search and reference files in your messages. The file content is automatically added to the conversation context.

How is auth handled in @src/api/auth.ts?
Review @nginx.conf for misconfigurations

SCREENSHOT: tui-file-reference.png

Fuzzy file search with @ mention in the prompt

Shell Commands

Messages starting with ! execute shell commands directly. The command output becomes a tool result in the conversation.

!nmap -sV target.local
!curl -I https://example.com

VIDEO: tui-shell-command.mp4

Executing !nmap via shell shortcut with inline output (~8s)

Commands

Type / followed by a command name. Most commands have keybinds using ctrl+x as the default leader key.

CommandPurposeKeybind
/connectAdd an AI provider and API keys
/compactCompact current sessionctrl+x c
/detailsToggle tool execution detailsctrl+x d
/editorOpen external editor for composing messagesctrl+x e
/exitExit CyberStrikectrl+x q
/exportExport conversation to Markdownctrl+x x
/helpShow help dialogctrl+x h
/initCreate or update AGENTS.md filectrl+x i
/modelsList available modelsctrl+x m
/newStart new sessionctrl+x n
/redoRedo previously undone message; restores file changes via Gitctrl+x r
/sessionsList and switch sessionsctrl+x l
/shareShare current sessionctrl+x s
/themesList available themesctrl+x t
/thinkingToggle visibility of thinking/reasoning blocks
/undoUndo last message; removes file changes via Gitctrl+x u

Tip

Undo / Redo: Any file changes are also restored via Git when using /undo and /redo. Your project must be a Git repository for these commands to work.

Editor Setup

Use the EDITOR environment variable for /editor and /export commands.

Info

GUI editors like VS Code require the --wait flag so CyberStrike can wait for you to finish editing.

SCREENSHOT: tui-commands.png

Slash command menu showing available commands

Configure

Customize TUI behavior via tui.json (or tui.jsonc), separate from cyberstrike.json:

{
"$schema": "https://cyberstrike.io/tui.json",
"theme": "cyberstrike",
"keybinds": {
"leader": "ctrl+x"
},
"scroll_speed": 3,
"scroll_acceleration": {
"enabled": true
},
"diff_style": "auto"
}

Configuration Options

OptionDescriptionDefault
themeUI theme selectioncyberstrike
keybinds.leaderLeader key for shortcutsctrl+x
scroll_speedScroll velocity (min: 0.001)3
scroll_acceleration.enabledmacOS-style scroll accelerationfalse
diff_style"auto" adapts to width, "stacked" single-columnauto

Use the CYBERSTRIKE_TUI_CONFIG environment variable to specify a custom config path.

SCREENSHOT: tui-theme-selector.png

Theme picker with preview

Customization

Customize the TUI through the command palette (ctrl+x h or /help). Settings persist across restarts.

Username Display

Toggle username visibility in chat messages via the command palette. Search for “username” or “hide username”. Settings persist automatically.