# pentagi

> pentagi is an open-source agent for security. Self-hosted multi-agent system that plans and runs penetration tests in a sandbox. It is available on self-hosted and Web.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** self-hosted, Web
- **Website:** https://pentagi.com
- **Repository:** https://github.com/vxcontrol/pentagi
- **GitHub stars:** 34,305
- **License:** MIT
- **Categories:** security, AI models and LLM tooling
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## 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

- [AutoGPT](https://ai-powered.com/agents/autogpt-2): AutoGPT is a hosted agent for ai models and llm tooling.
- [hermes-agent](https://ai-powered.com/agents/hermes-agent): hermes-agent is a freemium open-source agent for ai models and llm tooling.
- [dify](https://ai-powered.com/agents/dify): dify is a freemium agent framework for workflow automation.
- [langchain](https://ai-powered.com/agents/langchain): langchain is an open-source agent framework for ai models and llm tooling.
- [gemini-cli](https://ai-powered.com/agents/gemini-cli): gemini-cli is an open-source agent for ai models and llm tooling.
- [deer-flow](https://ai-powered.com/agents/deer-flow): deer-flow is an open-source agent for ai models and llm tooling.
- [learn-claude-code](https://ai-powered.com/agents/learn-claude-code): learn-claude-code is an open-source hosted agent for ai models and llm tooling.
- [dsh-our-free-model](https://ai-powered.com/agents/dsh-our-free-model): dsh-our-free-model is an open-source hosted agent for ai models and llm tooling.

---
Source: https://ai-powered.com/agents/pentagi
