Loading repository data…
Loading repository data…
0xfa-ni / repository
CyberBot is a fully offline AI-powered cybersecurity assistant built with Python, PyQt6, Ollama, and SQLite. It provides private, local AI chat capabilities for penetration testers, security analysts, CTF players, and cybersecurity students. All conversations remain on the user's machine, with no cloud services, API keys, or internet connection
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A fully offline, private AI chatbot built in Python, designed specifically for cybersecurity professionals. No internet required. No data leaves your machine. No censorship.
CyberBot is a desktop AI assistant that runs completely on your local machine. Unlike ChatGPT or other cloud-based AI tools, CyberBot:
It is built for red team and blue team cybersecurity professionals who need direct, technical answers about exploits, payloads, malware, penetration testing, CTF challenges, incident response, and more.
Before running CyberBot you need to install two things:
Ollama is the tool that runs the AI model locally on your machine.
👉 Download from: https://ollama.com
Install it like normal software. After installation it runs automatically in the background.
Open CMD or Terminal and run:
ollama pull mannix/llama3.1-8b-abliterated
This downloads the uncensored AI model (~5GB). Wait for it to finish.
⚠️ RAM Requirement: You need at least 8GB RAM. 16GB recommended for smooth performance.
This is the easiest way. No Python installation needed.
Make sure Ollama is installed and the model is downloaded (see above).
Download the release folder which contains:
dist/
├── Chatbot.exe
└── chat.db
Keep both files in the same folder. Do NOT move them separately.
Double-click Chatbot.exe.
Start chatting! Ask anything security related.
💡 Your chat history is saved in
chat.dbin the same folder. Do not delete it if you want to keep your history.
# Step 1 — Clone the repository
https://github.com/0xfa-ni/Cyberbot-Uncensored-Offline-chatbot.git
cd Cyberbot-Uncensored-Offline-chatbot-main
# Step 2 — Create virtual environment
python -m venv venv
# Step 3 — Activate virtual environment
venv\Scripts\activate # Windows
source venv/bin/activate # Mac / Linux
# Step 4 — Install dependencies
pip install -r requirements.txt
# Step 5 — Run
python main.py
Click the + New Chat button in the sidebar to start a fresh conversation.
Click any chat name in the sidebar to load that conversation.
Click the 📌 icon next to any chat to pin it. Pinned chats never get auto-deleted. Maximum 5 pinned chats allowed.
Click the ■ Stop button while CyberBot is responding to stop it immediately.
Click the × button next to any chat in the sidebar to delete it.
cyberbot/
├── main.py — Entry point, starts the app
├── database.py — SQLite operations (sessions + messages)
├── ollama_chat.py — AI model connection and streaming
├── chat_window.py — Full chat UI with sidebar
├── chat.db — Local database (your history stays here)
├── requirements.txt — Python dependencies
└── README.md — This file
| Tool | Purpose |
|---|---|
| 🐍 Python 3.x | Core programming language |
| 🖥️ PyQt6 | Desktop GUI framework |
| 🗄️ SQLite3 | Local database for chat history |
| 🤖 Ollama | Runs AI model locally on your machine |
| 🌐 requests | Streams AI responses from Ollama API |
| 📦 PyInstaller | Packages app into standalone EXE |
Make sure Ollama is running in the background. Open CMD and run:
ollama serve
Make sure you pulled the model:
ollama pull mannix/llama3.1-8b-abliterated
The AI model needs RAM to run. Close other heavy applications to free up memory.
Make sure chat.db is in the same folder as CyberBot.exe.
This project is for educational and authorized security research purposes only. Use responsibly.