-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
The current PentestGPT implementation appears to be tightly coupled to online Claude/OpenAI backends and requires API keys to function. While there are references to “local” or “offline” mode, the local backend is incomplete and not integrated in the execution flow. Attempting to run with GPT4All/Mistral models results in missing classes (e.g., ClaudeCodeBackend) and import errors, indicating hard dependencies on claude_agent_sdk. This prevents use in offline, lab, or air‑gapped environments where pentesting tools are commonly deployed.
Enabling a fully local backend (e.g., GPT4All/Ollama) would significantly increase the tool’s educational and research value, especially for students without access to paid APIs. Decoupling the agent/controller from Claude‑specific classes through a clean backend abstraction layer would greatly improve extensibility. I recommend refactoring backend calls behind a common interface and officially supporting at least one offline model.
Thank you for your excellent work — offline support would make PentestGPT much more broadly usable.