Documentation
Everything you need to run HexMind v2.5 — capabilities, modules, installation, usage, and screenshots.
What is HexMind?
HexMind is a terminal-based and web-integrated AI agent built for advanced cybersecurity operations. It goes beyond a simple chat wrapper: it includes a ReAct Autonomous Engine, a hybrid Local/Cloud intelligence system, and a V7 God-Mode Web Command Center.
Whether you're fuzzing endpoints, analyzing WAFs, exploiting binaries, or need an autonomous assistant to run scripts for you, HexMind delivers instant, high-fidelity security intelligence.
WindowsLinuxTermuxPython 3.10+MIT
Key capabilities
- V9 AGI Core (Autonomous Agent): Type
agentto activate the ReAct loop. HexMind breaks down objectives, generates scripts, executes them, and iteratively solves challenges on its own. - V7 God-Mode Command Center: Premium glassmorphic UI in your browser with live reverse-streamed terminal and real-time CPU/RAM telemetry.
- V8 Omniscience (RAG): Auto-clones PayloadsAllTheThings and HackTricks to local cache, injecting verified payloads to eliminate AI hallucination.
- Global Personas: Type
persona <name>for thousands of communication styles from awesome-chatgpt-prompts. - API Guard: Connects to OpenRouter, Anthropic, Gemini, or OpenAI; routes token-heavy workloads to the Local Offline Brain to save costs.
- Zero-Day Sentinel: Tail and monitor server logs; HexMind scans streams for anomalous activity and zero-day signatures.
- Ghost Mode: Deploys localized honeypots to confuse automated scanners on your target network.
Modules & features
ReAct agent
Type agent to toggle the autonomous execution framework. HexMind plans, scripts, runs, and iterates until the objective is solved.
V7 Command Center
Type dashboard or portal to launch the web UI at localhost:8888 — live terminal sync and system telemetry.
V8 RAG (Omniscience)
Automatic injection of PayloadsAllTheThings and HackTricks into context for accurate, verified payloads.
Skills
Type skills to browse and install knowledge packs: Web Hacking, CTF, Bug Bounty, Active Directory, OSINT, and more.
Local Brain (Ollama / SmolLM2)
Run AI 100% offline. Type brain to install/load local models — no cloud required.
Installation
Windows & Linux
git clone https://github.com/cyberkallan/hexmind.git cd hexmind pip install -r requirements.txt python hexmind.py
Termux (Android)
HexMind is optimized for Termux and delivers Android-compatible payloads.
pkg install python git git clone https://github.com/cyberkallan/hexmind.git cd hexmind pip install rich prompt-toolkit requests flask flask-socketio psutil python hexmind.py
For Speech-To-Text (voice): pkg install termux-api.
Usage & command list
Inside the HexMind terminal, use these commands:
| Command | Action |
|---|---|
dashboard / portal | Launch V7 Web Command Center (localhost:8888) |
agent | Toggle ReAct Autonomous Execution Framework |
persona <name> | Adopt a specific personality (e.g. persona Dan) |
brain | Install/load Offline Local LLM (Ollama/Llama) |
settings | Cloud provider API key configuration |
skills / skill | Install custom skill modules and scripts |
target <IP> | Set active workspace and target |
watch <file.log> | Start Zero-Day Sentinel anomaly monitor |
ghost | Start honeypot & evasion server |
voice | Toggle Speech-To-Text / Text-To-Speech |
!<cmd> | Execute a raw system command |
The God-Mode Command Center (V7)
Typing dashboard launches a premium Flask SPA:
- Glassmorphic design: Dark, cyberpunk-style UI.
- Live terminal sync: Commands in the web UI stream to the backend via WebSockets and xterm.js.
- System telemetry: Real-time hardware progress for CPU/RAM during operations.
The Local AI Brain (free & private)
HexMind runs fully offline. If the cloud API is down or you're handling sensitive data:
- Type
brainin the terminal. - HexMind uses local models from
smollm2:135m(fast) tollama3:8b(deep reasoning). - The Local Brain handles pentesting, CTF, PrivEsc, and web vulns with no internet.
Screenshots
Images from the screenshots/ folder.
HexMind terminal / CLI
V7 God-Mode Command Center
ReAct agent in action
Skills / knowledge packs
OpenRouter in HexMind
HexMind AI