
pentagi
Self-hosted multi-agent system that plans and runs penetration tests in a sandbox
- Pricing
- Open source
- Platforms
- self-hosted, Web
- GitHub stars
- 34.3K
- Last commit
- 3 days ago
- Language
- Go
- License
- MIT
About pentagi
pentagi is an open-source agent for security. It is available on self-hosted and Web.
PentAGI is an open-source system in which a team of specialized agents carries out penetration testing. You describe a target and a goal; a generator splits it into subtasks, a searcher gathers context from the web and exploit databases, and agents such as the pentester, coder and installer run commands.
Commands run inside isolated Docker containers with Kali Linux tools such as nmap, Metasploit and sqlmap rather than on the host. A memory layer records commands and results, and the reporter exports a flow report as Markdown or PDF.
It works with many LLM providers, local models and OpenAI-compatible endpoints. The site states it is for authorized security testing only.
What it does
- Specialized agent team
- Separate agents plan, research, execute and report.
- Sandboxed execution
- Commands run in isolated Docker containers, not on the host.
- Pentest tool suite
- Includes 20+ tools like nmap, Metasploit and sqlmap.
- Flexible LLM support
- Works with cloud providers, local models or custom gateways.
- Persistent memory
- Stores commands and results so later steps can reuse them.
- Exportable reports
- Flow reports export as Markdown or PDF.
Good for
- Run an automated penetration test against an authorized target
- Research exploits during a security assessment
- Generate a written pentest report
- Experiment with agent-driven security tooling locally
Pricing
Open source
Free and open source (MIT)
Prices change. Check pentagi.com before you buy.
pentagi FAQ
Is it open source?
Yes, it is released under the MIT license and is self-hosted.
Which LLMs does it support?
OpenAI, Anthropic, Gemini, AWS Bedrock, Ollama, DeepSeek, Mistral and others, plus any OpenAI-compatible endpoint.
Where do commands run?
In isolated Docker containers, never on the host.
Is pentagi free?
Yes. pentagi is open source, so you can use and self-host it for free.
What are the best alternatives to pentagi?
The closest alternatives to pentagi are AutoGPT, hermes-agent, dify, langchain and gemini-cli.
Alternatives to pentagi

AutoGPT
AgentHosted team of AI Experts for content, sales and research, coordinated by Otto
- Free trial
- Hosted agent
- 188K GitHub stars
- AI models and LLM tooling

hermes-agent
AgentOpen-source self-improving agent with memory, scheduling and many chat gateways
- Freemium
- Open-source agent
- 264K GitHub stars
- AI models and LLM tooling

dify
AgentVisual platform for building and deploying agentic workflows and knowledge pipelines
- Freemium
- Agent framework
- 161K GitHub stars
- Workflow automation

langchain
AgentPython library for building agents from a model, tools, prompt and middleware
- Open source
- Agent framework
- 150K GitHub stars
- AI models and LLM tooling

gemini-cli
AgentOpen-source terminal agent for Gemini Code Assist workflows on Google Cloud
- Open source
- Open-source agent
- 109K GitHub stars
- AI models and LLM tooling

deer-flow
AgentOpen-source super agent harness that researches, codes and creates with sandboxes
- Open source
- Open-source agent
- 85.4K GitHub stars
- AI models and LLM tooling