Watchtower AI Agent

by fzn0x• 220•• Scanned•Claim this listing•Request removal
Security & Testingai cybersecurityautomation testingclaudelanggraphopenrouter

Watchtower is a simple AI-powered penetration testing automation CLI tool that leverages LLMs and LangGraph to orchestrate agentic workflows that you can use to test your websites locally. Generate useful pentest reports for your websites.

Watchtower is an open-source ai agent by fzn0x, written mainly in Python, with 220 GitHub stars and the MIT license. Its code was last updated Oct 14, 2026.

<div align="center"> <img src="docs/assets/watchtower.svg" alt="Watchtower: AI-powered penetration testing" width="640">

Watchtower

AI-powered penetration testing automation, orchestrated by LLM agents.

CI Docs License: MIT Python 3.10+ Architecture LLMs

Documentation · Quick Start · Models · Tools · Troubleshooting

</div>

Watchtower is an AI-powered penetration testing automation CLI that uses LLMs and LangGraph to orchestrate agentic workflows against your own websites, then turns the results into useful pentest reports.

[!WARNING] Penetration testing is a red-team activity and must only be performed with explicit permission. See the Legal Disclaimer before you begin.

Features

  • Multi-agent architecture: a Planner picks the next tools, a Worker runs them (in parallel when asked), an Analyst turns every tool's output into structured findings, and a Logic Analyst looks for business-logic and IDOR risk.
  • 28 integrated security tools across network, web recon, crawling and URL discovery, DNS, vulnerability, TLS, content discovery, and secret scanning. See Tools.
  • Parallel reconnaissance and smart truncation of long tool output.
  • Run history in SQLite with per-run PDF reports.
  • LLM-agnostic: OpenAI, Gemini, OpenRouter, Claude (API key or ant auth login), LiteLLM, any OpenAI-compatible endpoint, or local models through Ollama, LM Studio, llama.cpp, and vLLM, with opt-in flagship models and reasoning controls.

Quick Start

Requires Python 3.10+ and, for the tools, Linux or macOS (Windows through WSL2).

git clone https://github.com/fzn0x/watchtower.git
cd watchtower

sudo ./install_tools.sh          # installs the security tools
python -m venv venv
source venv/bin/activate         # On Windows: venv\Scripts\activate
pip install -r requirements.txt

cp .env.example .env             # then set a provider key, or see Models below
python -m watchtower.main -t https://www.example.com

Export the latest run as a PDF with python -m watchtower.main --report pentest_report.pdf.

Models

Watchtower runs on hosted models or on a model on your own machine.

Claude

Set ANTHROPIC_API_KEY in .env, or sign in once with the Anthropic CLI and skip the key:

ant auth login
python -m watchtower.main -t https://www.example.com

Watchtower uses the Anthropic SDK's own sign-in, so ANTHROPIC_AUTH_TOKEN (for a gateway or proxy) and workload identity federation (for CI) work too. The default model is claude-sonnet-5-5, and --flagship switches to claude-opus-5-5. Claude Pro and Max subscriptions cannot be used: Anthropic does not allow third-party tools to offer claude.ai login.

Ollama and other local models

Run the model locally, so prompts and findings never leave your machine:

ollama pull llama3.3
python -m watchtower.main -t https://www.example.com --provider ollama --model llama3.3

No API key is needed. Set OLLAMA_BASE_URL if Ollama is not at localhost:11434, for example when Watchtower runs in Docker. LM Studio, llama.cpp, vLLM, and other OpenAI-compatible servers work by URL: --provider http://localhost:1234/v1 --model <name>. Give the model a large enough context window; see Local models.

OpenAI, Gemini, OpenRouter, LiteLLM, and custom endpoints are covered in LLM providers.

Documentation

The full documentation lives at fzn0x.github.io/watchtower:

  • Getting started: installation, configuration, Docker
  • Usage: interactive and headless runs, authenticated testing, flagship models and reasoning
  • LLM providers: built-in providers, Claude sign-in, local models, and custom endpoints
  • Tools: every integrated tool and the command Watchtower runs
  • Reports: run history and PDF export
  • Troubleshooting
  • Development: adding tools and agents, CI, releases

Roadmap

  • Initial LangGraph Planner/Worker architecture.
  • Integrate core web and network reconnaissance tools.
  • Add Pydantic structured-output fallback for open-source OpenRouter models.
  • Parallel tool execution and smart truncation.
  • Support for authenticated pentesting (cookies / headers).
  • Flagship model support with reasoning-aware configuration.
  • Claude sign-in with an API key, ant auth login, or a gateway token.
  • Local models through Ollama and any OpenAI-compatible server.
  • Continuous integration, verified Docker image, and a documentation site.
  • Advanced business-logic analysis enhancements.

Contributing

Contributions are welcome! See CONTRIBUTING.md and the development guide.

Watchtower does not enforce target scope. You are responsible for testing only systems you own or are explicitly authorized to assess.

Security

Found a security issue? Please review our Security Policy for responsible disclosure instructions.

License

Licensed under the MIT License. See LICENSE for details.

By using this software, you agree to the conditions outlined in the Legal Disclaimer. Watchtower's developers assume no liability for misuse of this tool.

Legal Disclaimer

Watchtower is designed exclusively for authorized security testing and educational purposes.

  • Legal use: authorized penetration testing, security research, educational environments.
  • Illegal use: unauthorized access, malicious activity, any form of cyber attack.

You are fully responsible for ensuring you have explicit written permission before testing any system. Unauthorized access to computer systems is illegal under laws including the Computer Fraud and Abuse Act (CFAA), GDPR, and equivalent international legislation.

By using Watchtower, you agree to use it only on systems you own or are explicitly authorized to test.

Acknowledgements

Created and maintained by fzn0x.

A deep and sincere thank you to the open-source security community. Watchtower stands on the shoulders of giants. This framework would not exist without the developers who built and maintain the underlying penetration testing and reconnaissance tools that power its worker engine. Thank you for making security accessible.

Watchtower alternatives

View more →

Similar ai agents in Security & Testing, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Watchtower (this page)
fzn0x
220MITOct 14, 2026Scanned, no flagged issues
ECC
affaan-m
294kMITOct 30, 2026Scanned, no flagged issues
Strix
usestrix
73kApache-2.0Oct 30, 2026Scanned, no flagged issues
Goose
aaif-goose
56kApache-2.0Nov 1, 2026Scanned, no flagged issues
Anthropic Cybersecurity Skills
mukul975
35kApache-2.0Aug 31, 2026Scanned, no flagged issues
Pentagi
vxcontrol
33kMITOct 22, 2026Scanned, no flagged issues