Default intelligence: Grok 4.6 via Grok Build (grok / grokhunter).
This doc covers optional tools that complement it.
grok # interactive pair session (Grok 4.6-class)
grokhunter -p "…" # headless one-shot
grokhunter plan "…" # plan larger changes first
nh-x11 # XFCE desktop for editors (if --with-x11)See also: GROK-46.md.
Aider is a terminal pair-programmer that works well inside the Kali proot. Use the same xAI key.
- Python 3.13: Kali’s default
python3is often 3.13;aider-chatrequires ≥3.10,<3.13. - Missing
ensurepip:python3 -m venvfails withoutpython3-venv/python3-full. - Plain
pip install aider-chatinto a 3.13 venv therefore fails on current NetHunter images.
GrokHunter’s installer now uses the official uv + managed Python 3.12 path (scripts/install_aider.sh).
# Via installer flag (preferred):
bash install.sh --with-aider
# Or without touching rootfs:
bash install.sh --overlay-only --with-aider
# Repair / reinstall only Aider (inside nethunter or clone):
bash ~/GrokHunter/scripts/install_aider.sh
GROKHUNTER_FORCE_AIDER=1 bash ~/GrokHunter/scripts/install_aider.sh
# Official upstream one-liner (same idea):
curl -LsSf https://aider.chat/install.sh | shThe installer also places the aider-grok helper in ~/.local/bin and (when possible) inside the rootfs.
[[ -f ~/.grok/secrets.env ]] && source ~/.grok/secrets.env
export OPENAI_API_BASE=https://api.x.ai/v1
export OPENAI_API_KEY="${XAI_API_KEY}"
# Default in aider-grok is already grok-4.6
# Override only if your account exposes a different coding id:
# export AIDER_MODEL=grok-4.6cd /path/to/your/project
aider-grok # recommended helper (auto model + secrets)
# or (uv tool install puts aider on PATH)
aider --model "${AIDER_MODEL:-grok-4.6}"
aider-grok main.py utils.py # limit to specific filesTips:
- Aider auto-commits by default — good for mobile history.
--no-auto-commitsif you prefer manual commits.- Never commit
~/.grok/secrets.env. - Env:
GROKHUNTER_AIDER_METHOD=auto|uv|venv|curl,GROKHUNTER_FORCE_AIDER=1.
| Tool | When to use |
|---|---|
nh-x11 + XFCE |
Full desktop |
nvim / micro |
Terminal editing inside nethunter |
| Acode | Native Android editor beside Termux |
sudo apt install -y neovim micro- Default:
grok/grokhunteroptimized for Grok 4.6. - Aider (
aider-grok) when you want git-native auto-commit pairs on the same key. - Desktop:
nh-x11when you need a visual editor.
Playbook: skill editor-lab · grokhunter editor. Aider: skill aider-grok.