toxy4ny/nikki-ai-cli-assistent
Sobre
π«‘ Nikki β AI Assistant for Red Team & DevOps in the Terminal (fish-shell)
Aprendizado e educaΓ§Γ£oO que vocΓͺ pode fazer
- β 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
Crescimento medido de estrelas
- em 24 h
- -1
- em 7 dias
- +1
- em 15 dias
- +2
- em 1 mΓͺs
- Coletando histΓ³rico
VariaΓ§Γ΅es lΓquidas em perΓodos sobrepostos, nΓ£o totais diΓ‘rios. MediΓ§Γ΅es ausentes ficam em branco. Estrelas indicam interesse, nΓ£o qualidade.
README.md
Originalπ«‘ 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
Explore projetos relacionados
Carregandoβ¦