<h1 align="center"Pensar Apex</h1
<p align="center" AI-powered penetration testing using autonomous agents — directly in your terminal. Run blackbox and whitebox pentests that explore, reason, and surface real vulnerabilities.
</p
<p align="center" Want to run from the cloud or integrate it with your CI/CD? See <a href="https://docs.pensar.dev/console"Pensar Console</a. </p
<p align="center" <a href="https://www.npmjs.com/package/@pensar/apex"<img src="https://img.shields.io/npm/v/@pensar/apex?label=latest" alt="npm version"</a <a href="https://www.npmjs.com/package/@pensar/apex"<img src="https://img.shields.io/npm/v/@pensar/apex/canary?label=prerelease&color=yellow" alt="npm prerelease version"</a <!-- <a href="https://www.npmjs.com/package/@pensar/apex"<img src="https://img.shields.io/npm/dm/@pensar/apex" alt="npm downloads"</a -- <a href="./LICENSE"<img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="Apache 2.0 License"</a <a href="https://docs.pensar.dev/apex"<img src="https://img.shields.io/badge/docs-docs.pensar.dev/apex-purple?logo=readthedocs&logoColor=white" alt="Documentation"</a <a href="https://discord.gg/pensar"<img src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="Discord"</a </p
<img src="screenshot.png" alt="Pensar Apex Screenshot" width="800" </p --
Use Cases
Developers
- Run /pentest before 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
Security Engineers
- Deploy agent-driven swarm testing across large attack surfaces
- Use /operator mode 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
Installation
| 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 |
Usage
Open the Apex TUI:
pensarHeadless CLI
Run pentests without the TUI for scripting, CI, or evalgate integration: