agent

Terminal-based pentest assistant with human approval, evidence capture, and local memory

Overview

PentesterFlow is an open-source terminal assistant built for authorized offensive-security work such as penetration testing and bug hunting. It runs in the command line, connects to local or hosted language models, plans activity against a scoped target, and invokes real security tooling while a human approves sensitive actions.

The product is organized around analyst control, transparent execution, and operational learning. The human sets scope and approves actions before the agent runs shell commands, makes HTTP requests, edits files, or processes captured traffic. Execution is curl-first with visible tool calls, reproducible commands, saved evidence, and log output intended to be audit-friendly.

What separates it from generic AI workflows is the security-specific focus: built-in playbooks for recon, web vulnerabilities, and other test classes, a confirmation step that ties findings to reproduced request and response evidence, and persistent local memory that improves later sessions without retraining the model. It also supports long engagements through saved sessions, compaction, and resume recaps.

Best for

  • Penetration testers
  • Bug hunters
  • Security engineers
  • Offensive security analysts

How to use

  1. Install the standalone binary for your operating system and verify the checksum.
  2. Start the command-line tool and choose a model provider and model.
  3. Set the target scope with the target command.
  4. Describe the authorized test you want the agent to plan and run.
  5. Approve or reject sensitive actions as permission prompts appear.
  6. Resume a prior engagement with the resume flag to see a session recap.

What it can do

Pentest playbooks

Built-in Markdown playbooks cover recon, web vulnerabilities, and related test classes, and optional forking keeps large playbooks out of the parent context. The agent loop moves through plan, act, observe, verify, report, and learn while managing context.

Evidence-backed findings

Confirmed findings are written as Markdown files with supporting detail. The confirmation step is meant to follow reproduction with request and response evidence, reducing the risk of unverified or hallucinated results.

Human oversight controls

Permission tiers, allow-once or session approvals, and a plan mode keep the analyst in the decision path. Sensitive actions such as shell commands, HTTP requests, file edits, and traffic processing require approval.

Persistent local memory

Session memory, curated facts, context snapshots, resume recaps, and local intelligence help carry context across long engagements. Resuming a prior assessment shows a recap so work can continue without rebuilding context manually.

Tool and channel coverage

The assistant can use shell and Bash, HTTP, file tools, search, browser capture, Burp ingestion, MCP, jobs, and findings, with custom plugins available. Model backends include local and hosted options such as Ollama, LM Studio, and OpenAI-compatible APIs.

Audit-friendly reporting

Findings are saved as Markdown, logs use JSON lines, and session files are stable, while commands are designed to be copied and rerun. Coverage tracking and traffic queries help navigate large attack surfaces.

How it works

Installation uses a downloadable standalone binary for macOS, Linux, or Windows, with published checksum verification when available. After launching the tool, the operator selects a provider and model, including local options or hosted and OpenAI-compatible endpoints, then sets the target before describing the task.

During a session the agent plans, acts, observes, verifies, reports, and learns, using tools such as shell, HTTP, file search, browser capture, Burp ingestion, and MCP. The human decides scope and must approve sensitive actions according to the chosen permission tier, and confirmed findings are recorded as Markdown while logs preserve an audit trail.

Supervised

The agent can run tools and filesystem actions, but sensitive actions require analyst approval and the human sets and controls scope.

Where it fits

  • Map an authenticated API surface and test for insecure direct object references.
  • Plan and run reconnaissance and enumeration against an in-scope target.
  • Reproduce a suspected vulnerability and collect request and response evidence.
  • Resume a long engagement and continue from the previous session recap.

Good fit

  • Authorized penetration tests that require analyst approval before sensitive actions
  • API and web application assessments covering recon, enumeration, validation, and evidence collection
  • Engagements where reproducible commands and audit-friendly logs matter for later review
  • Work that benefits from saved session memory and local knowledge across long engagements

Not a fit

  • Unauthorized or out-of-scope testing, since the agent can run shell commands and process captured traffic after approval
  • Teams wanting a fully autonomous workflow with no human sign-off, given the emphasis on analyst-approved actions
  • Evaluations that require no shell access or filesystem changes on the host

How to evaluate

  1. Confirm which model backends you plan to use among the documented options and whether local or hosted access fits your environment
  2. Review the permission tiers and plan mode to verify sensitive actions require the approval level you need
  3. Check that the reporting format and saved evidence, including Markdown findings and JSON-lines logs, match your deliverables
  4. Verify installer support for your operating system and the available standalone binaries
  5. Decide whether the Burp bridge, MCP, and plugin tooling cover the integration points your team relies on

Our take

PentesterFlow is a terminal-based assistant aimed squarely at authorized offensive-security work, pairing an agent loop with real tooling and analyst approval. Its strengths are reproducibility and oversight: commands are meant to be copy-pasteable, findings require evidence, and sessions persist across long engagements. The range of model backends and built-in playbooks gives flexibility, though the tool assumes comfort with command-line workflows. It is not a substitute for authorization, and the security warning about what the agent can do after approval should be taken seriously.

Alternatives

AgentPricingAutonomyBest for
hermes-agent—SupervisedAI researchers, Developers, System administrators, DevOps engineers, Technical founders
deer-flow—SupervisedSoftware developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders
OpenMausBot—SupervisedDevelopers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools
Toonflow-app—SupervisedShort drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators
rowboat—SupervisedSoftware engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers
artemis—SupervisedMobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers

FAQ

What kind of tool is PentesterFlow?
It is an open-source command-line assistant built for authorized offensive-security testing. It works against a scoped target, calls real pentesting tools, requests sign-off before sensitive steps, retains lessons between sessions, and produces findings backed by evidence.
Which model backends are supported?
Documentation lists Ollama, LM Studio, Kimi, Groq, Gemini, Anthropic, and OpenAI-compatible APIs, along with examples for OpenRouter and DeepSeek.
How are sensitive actions controlled?
PentesterFlow offers permission tiers named ask, auto-safe, and yolo, plus allow-once or allow-session choices and a plan mode, so the analyst decides what runs without prompting.
Can I resume an earlier engagement?
Yes. Running the tool with the resume flag restores a previous assessment and shows a recap drawn from the session's persistent memory so context does not need to be rebuilt by hand.
What tools can the agent use?
Its tool set includes shell and HTTP operations, file tools, search, browser capture, Burp ingest, MCP, jobs, and findings management.
Is there a risk in letting it operate?
After approval it is able to execute shell commands, issue HTTP requests, modify files, and handle captured traffic, so the documentation insists on explicit authorization and the use of only permitted targets.
What reporting does it produce?
Confirmed findings are written as Markdown files under a findings directory and include evidence, impact, proof of concept, and remediation, while JSON-lines logs support auditing.
How is installation handled?
Installers for macOS and Linux and for Windows PowerShell fetch the latest standalone binary and verify the published checksum where available; specific builds can also be pinned.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/agents/agent"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options