Authorization notice. Autonomous Pentest Agent is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Remote script. The install script detects and installs Docker and writes config files, so read it before running it on a machine you care about.
Who it is forA security engineer setting up the tool on a workstation or lab server for the first time.
The problemThe system has several parts (Go backend, Next.js UI, PostgreSQL, LLM config), and the setup choices are easy to get wrong by hand.
The outcomeA running instance at http://localhost:8787 with an admin password set through /setup.
What you need first
- A PostgreSQL database, or Docker so the install script can start one
- An LLM API key: ANTHROPIC_API_KEY or OPENAI_API_KEY, or the key entered later in the UI's LLM 配置 page
- Docker for the one-click install path, or the Go toolchain and Node.js for a local build from source
- Written authorization to test the target systems
Steps
- Run
git clone https://github.com/kutukam/autonomous-pentest-agent.gitand thencd autonomous-pentest-agent. - Run
./install.sh, then choose ① 全部 Docker for the container path or ② 本地编译运行 for a local binary. - Enter a Postgres password when asked, or press Enter to generate one.
- Open http://localhost:8787 and go to /setup to set the admin password.
- Open the LLM 配置 page or export ANTHROPIC_API_KEY or OPENAI_API_KEY before starting a task.
Prompt for your agent
Using the repo kutukam/autonomous-pentest-agent, clone it, run ./install.sh, and choose the all-Docker option. Report the URL that responds on port 8787 and confirm the /setup page loads. Verify that the process is listening with a plain HTTP request before you report success.
Caveat. The README says the Docker deploy source no longer works and asks you to build locally with AI, so the Docker Compose image pull may fail.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for kutukam/autonomous-pentest-agent and "Install the pentest agent locally and reach the web UI"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer