Overview
PentAGI provides an interactive installer with a terminal-based UI that guides you through system checks, LLM provider setup, search engine configuration, and security hardening. This is the recommended installation method for both development and production environments.The installer requires Docker and Docker Compose to be installed on your system. It will verify prerequisites before proceeding with the installation.
System Requirements
- Docker and Docker Compose
- Minimum 2 vCPU
- Minimum 4GB RAM
- 20GB free disk space
- Internet access for downloading images and updates
Supported Platforms
The installer is available for multiple platforms and architectures:Linux
- amd64: Download installer-latest.zip
- arm64: Download installer-latest.zip
Windows
macOS
- amd64 (Intel): Download installer-latest.zip
- arm64 (M-series): Download installer-latest.zip
Quick Installation
Download the installer
For Linux amd64:For other platforms, use the appropriate download link from the supported platforms section above.
Prerequisites & Permissions
The installer requires appropriate privileges to interact with the Docker API for proper operation. By default, it uses the Docker socket (/var/run/docker.sock).
Option 1: Run as Root (Recommended for Production)
Option 2: Docker Group Access (Development)
Installation Process
The installer will guide you through the following steps:1. System Checks
The installer verifies:- Docker installation and version
- Docker Compose availability
- Network connectivity
- System resources (CPU, RAM, disk space)
- Port availability (8443, 5432, 7687, etc.)
2. Environment Setup
The installer creates and configures a.env file with:
- Optimal default settings
- Secure random credentials
- Database configurations
- Network settings
3. Provider Configuration
Configure at least one LLM provider:- OpenAI
- Anthropic
- Google Gemini
- AWS Bedrock
- Ollama
- Custom
Provide your OpenAI API key:Supports GPT-4.1, o-series reasoning models, and cost-effective nano models.
4. Search Engine Configuration
Optional but recommended for enhanced information gathering:- DuckDuckGo: Enabled by default, no API key required
- Google Custom Search: Requires API key and CX key
- Tavily: Advanced search API key
- Traversaal: Search API key
- Perplexity: AI-powered search key
- Searxng: Self-hosted meta search engine URL
5. Security Hardening
The installer automatically:- Generates secure random passwords for PostgreSQL, Neo4j, Redis
- Creates cookie signing salts
- Configures encryption keys
- Sets up admin credentials
- Optionally configures SSL certificates
6. Deployment
The installer starts PentAGI using Docker Compose with:- Core services (backend, frontend, database)
- Optional Langfuse for LLM observability
- Optional Graphiti for knowledge graph
- Optional monitoring stack (Grafana, Prometheus, Jaeger)
Accessing PentAGI
After installation completes, access PentAGI at:- Email:
[email protected] - Password:
admin
Change the default password immediately after your first login for security.
Post-Installation Configuration
Configure Docker Environment
For distributed worker node setup:- Access the installer:
./installer - Navigate to Tools → Docker Environment
- Configure Docker connection settings
- Set up TLS certificates for secure remote access
Enable Optional Services
The installer can enable additional services:- Langfuse
- Graphiti
- Observability
LLM observability and analytics platform:Access at:
http://localhost:4000Troubleshooting
Docker Connection Issues
Permission denied on docker.sock
Permission denied on docker.sock
The installer needs access to the Docker socket. Either:
- Run with sudo:
sudo ./installer - Add user to docker group (see Prerequisites section)
Port already in use
Port already in use
Check if another service is using required ports:Stop conflicting services or modify port mappings in
docker-compose.yml.Docker daemon not running
Docker daemon not running
Start the Docker service:
Installation Failures
Network connectivity issues
Network connectivity issues
The installer checks internet connectivity during setup. Ensure:
- DNS resolution is working
- Firewall allows outbound HTTPS traffic
- Docker can pull images from Docker Hub
Insufficient resources
Insufficient resources
Verify system resources:Minimum requirements: 2 vCPU, 4GB RAM, 20GB disk space.
Next Steps
First Pentest
Run your first penetration test
Custom Assistants
Create custom AI assistants
Distributed Setup
Configure two-node deployment
Best Practices
Security and ethical guidelines