1.9 KiB
1.9 KiB
Homelab AI stack
This stack keeps model routing outside Kubernetes so it can help diagnose Kubernetes/Pimox failures while the cluster is degraded.
Run:
./jeannie deploy-ai-stack
./jeannie deploy-hermes
./jeannie deploy-ai-tools
Runtime split:
- Container: OmniRoute, because it is a restartable HTTP gateway with provider API keys and no need for host-level SSH/Kubernetes mutation.
- Bare metal: Ollama, because it benefits from direct host hardware/runtime access and already has a systemd lifecycle.
- Bare metal:
goose,holmes,hermes, and Jeannie doctors, because they need local kubeconfig, SSH to Pimox/worker nodes, and guarded deterministic action paths.
Secrets:
~/open-router_keyseedsOPENROUTER_API_KEY.~/nvidia_keyseedsNVIDIA_API_KEY.- The generated env file is
/data/homelab-ai-stack/.env, mode0600. - Jeannie also generates persistent local-only OmniRoute management secrets in
that env file, logs in against
127.0.0.1, and creates provider connections through OmniRoute's management API. Secret values are never printed. - Jeannie discovers currently free OpenRouter models and NVIDIA catalog models,
creates
agent-fast-freeandagent-smart-freeOmniRoute combos, and writes/data/homelab-ai-stack/models.envfor smoke tests and local tools. deploy-ai-toolswrites/data/homelab-ai-stack/ai-tools.envand createsjeannie-goose,jeannie-holmes, andjeannie-hermeswrappers in~/.local/binso each tool uses the local OmniRoute endpoint and generated free/quota model routes. On fresh hosts, setLAB_GOOSE_INSTALL_COMMAND,LAB_HOLMES_INSTALL_COMMAND, orLAB_HERMES_INSTALL_COMMANDif a CLI is not already available.- Key files and generated env files are ignored by git.
The container name defaults to omniroute so this command owns the same gateway
identity used by Hermes and existing OpenAI-compatible clients.