toxy4ny/nikki-ai-cli-assistent
ๆฆ่ฆ
๐ซก Nikki โ AI Assistant for Red Team & DevOps in the Terminal (fish-shell)
ๅญฆ็ฟใปๆ่ฒใงใใใใจ
- โ Fully offline โ works without internet after setup
- โ No censorship โ uses uncensored base models
- โ RAG over GitHub repos โ always up to date with latest offensive techniques
- โ Multi-turn dialogue via --session
่จๆธฌใใในใฟใผๅขๅ
- 24ๆ้
- -1
- 7ๆฅ้
- +1
- 15ๆฅ้
- +2
- 1ใๆ
- ๅฑฅๆญดใๅ้ไธญ
ๆ้ใใจใฎ็ดๅขๆฐใงใใๆ้ใฏ้่คใใฆใใใๆฅๅฅใฎๅคใงใฏใใใพใใใๆช่จๆธฌใฎๅคใฏ็ฉบๆฌใงใใในใฟใผๆฐใฏๆณจ็ฎๅบฆใฎๆๆจใงใใใๅ่ณชใฎไฟ่จผใงใฏใใใพใใใ
README.md
ใชใชใธใใซ๐ซก Nikki โ AI Assistant for Red Team & DevOps in the Terminal
Nikki is your local, offline, uncensored AI teammate in the CLI โ purpose-built for:
- generating battle-tested offensive code (PowerShell, C, Rust, Bash),
- analyzing vulnerabilities and exploits from GitHub repositories,
- writing and debugging scripts,
- multi-turn conversations directly from your shell.
All processing happens locally, with no cloud dependency and no prompt leakage.
Powered by aichat, Ollama, RAG, and curated red team repositories like PayloadsAllTheThings, Atomic Red Team, and SharpCollection and top or new repositories of Github.
๐ Key Features
- โ Fully offline โ works without internet after setup
- โ
No censorship โ uses uncensored
basemodels - โ RAG over GitHub repos โ always up to date with latest offensive techniques
- โ
Multi-turn dialogue via
--session - โ
Fish shell integration โ just type
Nikki ... - โ Ready for Athena OS (Arch-compatible packaging) (https://github.com/Athena-OS)
๐ง Architecture
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Nikki CLI โ โ fish function: `Nikki`
โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโผโโโโโโโโโโโ
โ aichat โ โ Rust CLI frontend
โโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโผโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ
โ Ollama โโโโโโบโ RAG: nomic-embed-textโ
โ (LLM + Embedding)โ โโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโผโโโโโโโโโโโ
โ GitHub Repos โ โ PayloadsAllTheThings, SharpCollection, Atomic Red Team...
โโโโโโโโโโโโโโโโโโโโ
- LLMs:
rnj-1-instruct(uncensored, for red team)- Embedding:
nomic-embed-text(local, via Ollama) - Knowledge base: cloned repos in
~/rag-data/redteam - Config: roles, sessions, RAG โ all in
~/.config/aichat/
โ ๏ธ Why This Isnโt Just โAnother Chatbotโ
- Nikki wonโt hallucinate APIs โ if a technique isnโt in the source repos, she replies: โNo information found in my sources.โ
- All payloads are cross-referenced with real repositories (use
.sources ragto verify). - Zero ethical disclaimers โ only working, executable code.
๐ Installation
Requirements
- Athena OS (or any Arch-based distro)
aichatโฅ 0.30.0ollamaโฅ 0.1.33git,fish
Option 1: PKGBUILD (Recommended for Athena OS)
git clone https://github.com/toxy4ny/nikki-ai-cli-assistent.git
cd nikki-ai
makepkg -si
After install:
Nikkiis available in your shell,setup-ragupdates your knowledge base,- config template:
/etc/aichat/config.yaml.example
Option 2: Manual Install
./install.sh
Installs:
nikki.fishโ~/.config/fish/functions/setup-rag.fishโ~/bin/- config & role templates
โ Setup
Start Ollama:
systemctl --user enable --now ollamaPull models:
ollama pull rnj-1:latest ollama pull nomic-embed-textConfigure aichat (manual install only):
cp config/aichat-config.yaml ~/.config/aichat/config.yamlLoad knowledge repos:
setup-rag
๐ฌ Usage
One-off query
Nikki Generate a reverse TCP shell in bash?
Multi-turn conversation
Nikki --session c2 "Generate a reverse TCP shell in C"
Nikki --session c2 "Add XOR encryption with key 0x42"
Nikki --session c2 "Compile it with mingw"
Verify sources (inside aichat)
> .rag nikki-kb
> How does Unicorn do DDE attacks?
> .sources rag
๐ฆ Repository Structure
nikki-ai/
โโโ PKGBUILD # For Athena OS / AUR
โโโ install.sh # Manual install script
โโโ bin/setup-rag.fish # RAG update utility
โโโ config/aichat-config.yaml
โโโ roles/redteam-ru.yaml
โโโ fish/nikki.fish
โโโ LICENSE
โโโ README.md
๐ค Contribution & Athena OS Integration
Nikki aligns with Athena OS philosophy:
- minimalism,
- security,
- offline-first,
- open-source.
We welcome inclusion in the official Athena OS repositories.
The project is audit-ready and supports automated builds.
๐ Athena OS
โ ๏ธ Ethical Notice
Nikki is designed for authorized penetration testing, red team operations, and closed-lab education.
Do not use it for illegal activities.
Always review generated code before execution.
๐ License
MIT ยฉ toxy4ny
้ข้ฃใใญใธใงใฏใใๆขใ
่ชญใฟ่พผใฟไธญโฆ