by BugTraceAI
Agentic web-scanning engine with a terminal workspace, specialist tools, browser validation, reports, REST and MCP.
# Add to your Claude Code skills
git clone https://github.com/BugTraceAI/BugTraceAI-CLIGuides for using ai agents skills like BugTraceAI-CLI.
BugTraceAI-CLI is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BugTraceAI. Agentic web-scanning engine with a terminal workspace, specialist tools, browser validation, reports, REST and MCP. It has 187 GitHub stars.
BugTraceAI-CLI's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/BugTraceAI/BugTraceAI-CLI" and add it to your Claude Code skills directory (see the Installation section above).
BugTraceAI-CLI is primarily written in Python. It is open-source under BugTraceAI on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh BugTraceAI-CLI against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Agentic web pentesting with a terminal workspace, specialist tools, browser validation, REST and MCP.
BugTraceAI-CLI is the web-scanning engine in the BugTraceAI suite. It combines LLM-guided investigation with specialist tools and browser validation. Follow a scan and inspect its evidence in the terminal, connect BugTraceAI-WEB for a browser workspace, or automate the engine through REST and MCP.
Install · See the terminal · API and MCP · Explore the suite
Use it only against applications you are authorized to test.

The TUI follows Recon → Discovery → Strategy → Exploit → Validate → Report. Set the target URL, Depth and Max URLs at the top. The phase strip, counters, timings and scan controls stay visible while you switch views.
Pipeline, Findings and Agents captures use the built-in offline demo in 4.0.27-beta. Sample findings illustrate the interface. Provider and Auth captures show the actual setup dialogs without credentials.
Install · Terminal controls · Install with your AI coding agent · API and MCP · Configuration and reports
The shared engine discovers endpoints, analyzes candidate findings, routes work to specialists and collects evidence through the validation/reporting stages. Specialist coverage includes SQL injection, XSS, SSRF, IDOR, LFI, RCE, template injection, XXE, JWT and redirect checks. Tool and browser evidence accompanies the reported findings.
Provider presets include OpenRouter, Anthropic and Z.ai. The WEB connects to the same CLI engine for web scans and report access.
For guided setup, use the universal Launcher (current public release). It can install WEB, CLI and the API-target engine independently or in any combination:
curl -fsSL https://raw.githubusercontent.com/BugTraceAI/BugTraceAI-Launcher/main/install.sh | bash
From a CLI checkout, ./install.sh opens the same menu with CLI suggested.
The component entry point requires Launcher 3.3.14 or newer; use the current public Launcher release for its
provider, Wizard and AI-assisted setup screens. Review the checked
modules and runtime before installing.
In the Launcher, enter and verify the required provider API key first. Then choose Install with Wizard for guided setup, or Install with AI to have the built-in assistant guide installation inside the TUI. The AI assistant uses OpenRouter or Anthropic provider tokens; use Wizard for Z.ai. See the current Launcher guide for supported module combinations and installation options. Enter the provider key locally; never paste it into an AI coding-agent chat.
For a direct installation in this checkout, specify the options explicitly:
git clone https://github.com/BugTraceAI/BugTraceAI-CLI.git
cd BugTraceAI-CLI
./scripts/install-runtime.sh --interface tui --runtime local --global yes
--interface selects the terminal TUI, web-scanning API/MCP, or both.
--runtime selects local Python or Docker. The backend has no selection menu;
--global and --launch default to no. Use --global yes to register btai,
and --launch yes to open the TUI after installation in an interactive terminal.
Direct installation includes only the CLI engine and selected interfaces.
| Profile | Command |
|---|---|
| Local TUI + global command | ./scripts/install-runtime.sh --interface tui --runtime local --global yes |
| Docker API + MCP | ./scripts/install-runtime.sh --interface api --runtime docker --global no |
| Docker API + TUI + global command | ./scripts/install-runtime.sh --interface both --runtime docker --global yes |
| Update or repair the saved profile | ./scripts/install-runtime.sh --reuse |
Local installation needs Python 3.10+. The installer prepares missing Linux pip/venv tools and Docker/Compose for the Docker profile. On macOS, Docker setup uses an existing Docker Desktop or Homebrew/Colima. Some specialist tools also use Docker during local scans. TUI adds Textual; API adds FastAPI, Uvicorn, WebSockets and MCP. Existing environments retain previously installed packages when you change profiles.
Choices are saved in .bugtrace-install.env without API keys. See
INSTALLATION.md for prerequisites and runtime-specific setup.
Explicit legacy ./install.sh options and --standalone [options] delegate
to this backend. Incomplete direct selections fail before installing anything.
See INSTALLATION.md for prerequisites and manual-agent setup.
./bugtraceai-cli
# With global registration, open a new terminal and run from any directory:
btai
Configure Provider/F7, enter your target, choose crawl limits and press Start. Opening the workspace does not start a scan. A real scan requires a provider key. In Provider, uncheck Save this key in local .env to keep a new key only for the current session.
Use Auth/F8 for the target website's credentials: a masked Bearer token or a WEB-compatible login YAML, with optional TOTP/2FA. These target credentials stay in the TUI session. Auth can be edited before a scan or after it finishes. The current YAML format and example are in Target authentication.
To open a full interactive scan directly, or explicitly preview sample data:
./bugtraceai-cli full https://target.example
./bugtraceai-cli tui --demo
# TUI-only Docker profile: interactive scanner, no published server ports
docker compose -f docker-compose.tui.yml run --rm scanner
# Both interfaces installed: open the TUI inside the API container
docker compose exec api python3 -m bugtrace tui
The global btai helper honors the selected local/Docker profile. Keep the
registered checkout at its installation path; rerun registration after moving
it. API-only installations do not offer the global TUI command.
| View | Key | Purpose |
|---|---|---|
| Pipeline | F2 | Scan stages, progress, counters and elapsed times |
| Findings | F3 | Search, sort, inspect and export vulnerability evidence |
| Agents | F4 | Specialist states, queues, counts and runtime details |
| Timeline | F5 | Scan milestones and alerts |
| Logs | F6 | Search engine output and filter by agent |
| Provider | F7 | LLM provider and masked API-key setup |
| Auth | F8 | Target Bearer token or login YAML |
F1 opens help; Tab moves focus; Ctrl+S starts; Ctrl+X stops;
Ctrl+E exports captured findings; Ctrl+Q quits. Pause takes effect at the
next pipeline checkpoint. The top form accepts the target URL; the lower bar
accepts commands such as /help, /provider, /auth, /pause, /resume,
/stop, /findings and /export.
Copy this self-contained prompt into an agent with local terminal access, such as Claude Code, Cursor or Codex. It installs only the CLI module through the universal Launcher, with the terminal TUI enabled:
Install BugTraceAI-CLI only on this machine using the official universal Launcher.
First read:
https://github.com/BugTraceAI/BugTraceAI-CLI#readme
https://github.com/BugTraceAI/BugTraceAI-Launcher#readme
Follow those instructions using the official installer:
https://raw.githubusercontent.com/BugTraceAI/BugTraceAI-Launcher/main/install.sh
Select only BugTraceAI-CLI. Do not select BugTraceAI-API or BugTraceAI-WEB.
Enable the terminal TUI. Use Install with Wizard and let me choose the
runtime and whether to register the global btai command.
Preserve any existing installation, configuration and data. Run the
Launcher in my local interactive terminal. I will enter and verify the
provider API key there, choose ports and review the plan before installation.
Keep credentials out of chat and logs. Do not start a scan.
Verify TUI startup and exit in an interactive terminal. If I enable the
global btai command, check