βββββββ βββββββ ββββββββ ββββ βββ
βββββββββββββββββββββββββ βββββ βββ
βββ βββββββββββββββββ ββββββ βββ
βββ ββββββββββ ββββββ ββββββββββ
ββββββββββββ ββββββββ βββ ββββββ
βββββββ βββ βββββββββββ βββββ
ββββ βββββββ βββββββββββββββ βββ βββββββ ββββββββ βββββββ
βββββ βββββββββ ββββββββββββββββ ββββββββββββββββββββ ββββββββ
βββββββββββ βββββββ βββ βββββββββββ βββββββββββ ββββββ βββββββ
βββββββββββ βββββ βββ βββββββββββ βββββββββββ βββββββββββββ
βββ βββ βββ βββ βββ βββ ββββββββββββββββββββ ββββββββ
βββ βββ βββ βββ βββ βββ βββββββ ββββββββ ββββββββ
"From the void of computation, a new oracle speaks β no gods, no cloud, only the terminal."
Fully local, offline AI in your terminal. Zero API keys. Zero cloud. Zero limits.
Get started in 30 seconds Β· Features Β· Commands Β· RML Β· Contributing
| Cloud AI (ChatGPT, Claude, etc.) | OpenMythos-2 | |
|---|---|---|
| Privacy | Your data leaves your machine | Everything stays local |
| Cost | Monthly subscription or per-token fees | Free forever |
| Offline | Requires internet | Works anywhere |
| Setup | API keys, accounts, billing | Just run it |
| Customization | Locked persona & behavior | RML adapts to you |
| Security scanning | Separate tool needed | Built-in SAST + AI audit |
OpenMythos-2 is a fully local, offline AI that lives and breathes inside your terminal. Inspired by the ancient myths of oracles, gods, and forgotten wisdom β it brings the power of intelligent conversation and reasoning directly to your command line, with zero API keys, zero cloud dependency, and zero limits.
Like Prometheus stealing fire from the gods, OpenMythos-2 brings the fire of AI to every machine.
| β¨ Feature | π Description |
|---|---|
| β‘ No API Required | Fully local β nothing ever leaves your machine |
| π₯οΈ Terminal Native | Built from the ground up for the command line |
| π§ Intelligent Reasoning | Context-aware, multi-turn conversations |
| π Offline First | Works anywhere β planes, bunkers, the underworld |
| π± Mythos Persona | Answers in the voice of an ancient, wise oracle |
| πͺΆ Lightweight | Minimal dependencies, blazing fast startup |
| π Open Source | Fully transparent and community-driven |
| π‘οΈ Private by Design | Your conversations are yours alone |
| π RML (Reinforcement ML) | Learns from your feedback and adapts β edits system prompt and generation params to match your preferences |
The name draws from mythos (ΞΌαΏ¦ΞΈΞΏΟ) β the ancient Greek word for story, legend, and the spoken word of truth. OpenMythos-2 embodies that spirit: a storyteller, reasoner, and companion that runs entirely on your machine, with no external gods (servers) to pray to.
- Python
3.10+ pip- A terminal (bash, zsh, PowerShell, cmd)
Pick your platform and package manager:
π§ Linux β Git Clone (recommended)
Ubuntu / Debian:
# Clone the sacred repository
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
# One-time setup (installs deps, builds llama-cpp-python with Vulkan/CPU fallback)
sudo bash setup.sh
# Download the model (~4.5 GB, first time only)
mythos model download
# Start chatting
mythosNote:
./setup.shis optimized for Fedora (dnf). On Ubuntu/Debian, it will warn but still work β system deps may need manual install:sudo apt install -y python3 python3-pip python3-dev gcc g++ make cmake git libopenblas-dev libvulkan-dev mesa-vulkan-drivers
Arch Linux:
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
# Install system deps first
sudo pacman -S --needed python python-pip gcc make cmake vulkan-headers vulkan-icd-loader openblas
# Run setup
sudo bash setup.sh
mythos model download
mythosFedora:
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
# One-command setup (Fedora-optimized, includes Vulkan GPU support)
sudo bash setup.sh
mythos model download
mythosOffline / Air-gapped machines:
# On a connected machine:
./scripts/mythos-export-data.sh # creates offline-bundle/ (~4.5 GB)
# Transfer the bundle to the target machine, then:
./scripts/mythos-import-data.sh ./offline-bundleπ macOS β Git Clone (recommended)
# Clone the sacred repository
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
# One-time setup (Metal GPU on Apple Silicon, CPU on Intel Macs)
./setup-macos.sh
# Download the model (~4.5 GB, first time only)
./mythos model download
# Start chatting
./mythosNote: On Apple Silicon (M1/M2/M3/M4), the setup builds llama-cpp-python with Metal GPU acceleration for fast inference. Intel Macs fall back to CPU mode. Homebrew is recommended for build dependencies (
brew install cmake).
via Homebrew (tap):
brew tap creatorofsomethingthatisgood/tap
brew install open-mythos-2
mythos model download
mythosπͺ Windows β Git Clone (recommended)
# Clone the sacred repository
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
# One-time setup (PowerShell β detects CUDA/Vulkan/CPU automatically)
.\setup-windows.ps1
# Download the model (~4.5 GB, first time only)
.\mythos.bat model download
# Start chatting
.\mythos.batPrerequisites:
- Python 3.10+ β python.org (check "Add Python to PATH" during install)
- Microsoft C++ Build Tools β visualstudio.microsoft.com (select "Desktop development with C++" workload)
- CMake β
winget install Kitware.CMakeor cmake.org - GPU acceleration (optional):
- NVIDIA: Install CUDA Toolkit for CUDA support
- AMD/Intel: Install Vulkan SDK for Vulkan support
Note: If you skip the build tools, the setup will attempt a prebuilt wheel (CPU-only). For GPU acceleration, the C++ build tools are required.
π¦ npm (cross-platform: Windows, macOS, Linux)
# Install globally
sudo npm install -g open-mythos-2
# Download the model (~4.5 GB, first time only)
mythos model download
# Start chatting
mythosNote: The npm package wraps the same setup and Python backend under the hood. Node.js 18+ and Python 3.10+ are required. The first
mythosrun will automatically set up the virtual environment and dependencies if they aren't already present. On Windows, make sure Python is in your PATH.
π¦ pnpm (cross-platform: Windows, macOS, Linux)
# Install globally
pnpm install -g open-mythos-2
# Download the model (~4.5 GB, first time only)
mythos model download
# Start chatting
mythosNote: pnpm is a fast, disk-efficient package manager. The package wraps the same setup and Python backend under the hood. Node.js 18+ and Python 3.10+ are required. The first run will automatically set up the virtual environment and dependencies if they aren't already present.
π pipx (Python users β cross-platform)
# Install with pipx (isolated environment, no venv management needed)
pipx install mythos-sentinel
# Or install from source
git clone https://github.com/creatorofsomethingthatisgood/Open-Mythos-2.git
cd Open-Mythos-2
pipx install .
# Download the model (~4.5 GB, first time only)
mythos model download
# Start chatting
mythosNote: pipx installs Python CLI tools into isolated virtualenvs. You'll still need the C++ build tools (see platform-specific sections above) for
llama-cpp-pythonto compile with GPU support. If building from source,pipx install .usespyproject.toml.
π³ Docker (cross-platform β no local deps needed)
# Pull and run (CPU-only)
docker run -it --rm \
-v mythos-data:/root/.config/mythos \
ghcr.io/creatorofsomethingthatisgood/open-mythos-2:latest
# With NVIDIA GPU acceleration
docker run -it --rm --gpus all \
-v mythos-data:/root/.config/mythos \
ghcr.io/creatorofsomethingthatisgood/open-mythos-2:latest-cuda
# Download model first (one-time)
docker run -it --rm \
-v mythos-data:/root/.config/mythos \
ghcr.io/creatorofsomethingthatisgood/open-mythos-2:latest \
mythos model download
# Web UI
docker run -it --rm -p 7860:7860 \
-v mythos-data:/root/.config/mythos \
ghcr.io/creatorofsomethingthatisgood/open-mythos-2:latest \
mythos web --port 7860Note: Docker avoids the need for local C++ build tools. The CUDA image requires the NVIDIA Container Toolkit. Model data persists in the
mythos-dataDocker volume.
β‘ Quick comparison
| Method | Platforms | GPU | Best for |
|---|---|---|---|
| Git Clone | Linux, macOS, Windows | Vulkan / Metal / CUDA | Full control, offline setups |
| npm / pnpm | Linux, macOS, Windows | Auto-detect | JS devs, quick install |
| pipx | Linux, macOS, Windows | Manual CMAKE_ARGS | Python users |
| Docker | Linux, macOS, Windows | CUDA (NVIDIA toolkit) | Reproducible, no local deps |
| Homebrew | macOS only | Metal (auto) | Mac users who prefer brew |
RML is a feedback-driven self-improvement loop that learns your preferences over time and adapts Mythos to match. It does two things automatically:
When a category accumulates enough negative feedback, RML injects a concrete behavioral hint directly into the system prompt. These learned hints tell Mythos how to adjust its style β for example:
- Accuracy hint: "Prioritize accuracy over creativity. Double-check facts. If unsure, say so."
- Conciseness hint: "Be concise. Get to the answer quickly; elaborate only when asked."
- Clarity hint: "Use headers, bullet points, short paragraphs. Avoid jargon without explanation."
- Code quality hint: "Write production-quality code: type hints, docstrings, error handling."
- Security hint: "Apply security best practices: input validation, no hardcoded secrets."
- Completeness hint: "Be thorough. Address all parts of the question. Don't skip edge cases."
Hints are removed automatically when the category's score recovers β so the system prompt is always a live reflection of what you actually prefer.
RML also tweaks temperature, top_p, and repeat_penalty behind the scenes:
- High accept rate β temperature nudges up (more creative/confident)
- High rejections/edits β temperature nudges down (more conservative/precise)
- Many interrupts β
repeat_penaltyincreases slightly
All adjustments are bounded by max_param_offset (default 0.3) so nothing swings wildly.
| Signal | Strength | Trigger |
|---|---|---|
| Explicit good | +2.0 | /rml good |
| Explicit bad | β2.0 | /rml bad |
| Implicit positive | +1.0 | You say "thanks", "perfect", "works", etc. |
| Implicit negative | β1.0 | You say "wrong", "try again", "mistake", etc. |
| Edit penalty | β1.0 | You rewrite Mythos' output |
| Interrupt penalty | β0.5 | You Ctrl+C during generation |
/rml on Enable RML
/rml off Disable RML
/rml good Mark last response as good (explicit +2)
/rml bad Mark last response as bad (explicit -2)
/rml stats Show what RML has learned (scores, hints, param adjustments)
/rml reset Wipe all learned preferences and start fresh
rml:
enabled: false # Turn on with /rml on in chat
learning_rate: 0.05 # 0.01 = slow, 0.2 = fast
max_param_offset: 0.3 # Max drift from base temperature/top_p
hint_threshold: 3.0 # Negative score before a hint is injectedPreferences persist in ~/.config/mythos/rml_preferences.json across sessions.
| Command | Description |
|---|---|
mythos |
Launch chat (default) |
mythos chat |
Same as above |
mythos chat --config <path> |
Use a custom config file |
mythos web |
Launch web UI (Gradio) |
mythos web --port 8080 --share |
Custom port + public link |
mythos init |
First-time setup |
mythos status |
Show config & model status |
mythos models |
List available GGUF models |
mythos config show |
Display full resolved configuration |
mythos doctor |
Diagnose setup issues & dependencies |
mythos sessions |
List saved session summaries |
mythos sessions -n 5 |
Show last 5 sessions |
mythos history |
List saved conversations |
mythos history -n 10 |
Show last 10 conversations |
mythos scan |
Instant static security analysis |
mythos scan --deep |
AI-powered audit (needs model) |
mythos fix --path . |
Auto-fix safe patterns (dry-run) |
mythos fix --path . --apply |
Apply fixes to disk |
mythos path add ~/src |
Register a codebase |
mythos path list |
List registered paths |
mythos path remove <target> |
Remove a registered path |
mythos model download |
Download default GGUF model |
mythos update |
Pull latest from GitHub |
| Command | Description |
|---|---|
/help |
Show available commands |
/config |
Show current configuration |
/version |
Show Mythos version and model info |
/tokens |
Show token/generation stats |
/topp <0.0-1.0> |
Set top-p (nucleus sampling) |
/topk <int> |
Set top-k sampling |
/reppen <float> |
Set repeat penalty |
/maxtokens <int> |
Set max tokens per generation |
/temp <0.0-2.0> |
Set temperature |
/persona <name> |
Switch persona preset |
/compact |
Compact conversation context |
/copy |
Copy last response to clipboard |
/rename <name> |
Rename current conversation |
/export |
Export conversation as text |
/dump |
Dump raw conversation JSON |
/wc |
Word/char/token count of conversation |
/save |
Save conversation |
/summary |
Generate and save a summary |
/rml on|off |
Enable/disable RML |
/rml good|bad |
Mark last response |
/rml stats |
Show RML learning stats |
/rml reset |
Reset RML preferences |
/quit |
Exit the chat |
- Multi-model support (swap between GGUF models in-chat)
- MCP (Model Context Protocol) server integration
- LoRA fine-tuning from within the CLI
- RAG over local documents
- Plugin system for community extensions
- Voice input/output via Whisper + Coqui TTS
We welcome contributions of all kinds β bug fixes, features, docs, and ideas.
- Fork the repo
- Create a branch:
git checkout -b feature/your-idea - Commit your changes:
git commit -m "Add your idea" - Push:
git push origin feature/your-idea - Open a Pull Request
See Issues for open tasks. Feel free to open a new issue for bugs, feature requests, or questions.
Disclaimer theese answers may not be true by the model.