AI-powered penetration testing using autonomous agents — directly in your terminal. Run blackbox and whitebox pentests that explore, reason, and surface real vulnerabilities.
Want to run from the cloud or integrate it with your CI/CD? See Pensar Console.
- Run
/pentestbefore merging a PR — catch vulnerabilities as naturally as running tests - Get actionable findings with severity scores, evidence, and suggested fixes — no security background needed
- Integrate into CI/CD via headless CLI commands or Pensar Console
- Deploy agent-driven swarm testing across large attack surfaces
- Use
/operatormode for manual investigation, exploit chaining, and validation - Automate repetitive testing workflows with persistent memory that accumulates across engagements
- Scale across teams and projects through Pensar Console
| Method | Command |
|---|---|
| Quick Install (macOS/Linux) | curl -fsSL https://pensarai.com/install.sh | bash |
| Homebrew | brew tap pensarai/tap && brew install apex |
| npm | npm install -g @pensar/apex |
| Windows (PowerShell) | irm https://www.pensarai.com/apex.ps1 | iex |
Open the Apex TUI:
pensarFor best performance, run Apex in the included Kali Linux container with preconfigured pentest tools:
cd container
cp env.example .env # add your API keys
docker compose up --build -d
docker compose exec kali-apex bashInside the container, run:
pensarThis repository contains tools for authorized security testing only. Before use, please read and agree to the Responsible Use Disclosure.