my-homelab-configs/infra/ai-stack
juvenal.diaz 76bcf5edd0
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details
feat: wire local AI tools to OmniRoute
2026-10-08 11:48:42 -06:00
..
README.md feat: wire local AI tools to OmniRoute 2026-10-08 11:48:42 -06:00
bootstrap-omniroute.sh feat: discover free OmniRoute model routes 2026-10-08 11:05:42 -06:00
docker-compose.yml fix: bootstrap OmniRoute providers in AI stack 2026-10-08 10:52:42 -06:00
seed-secrets.sh fix: bootstrap OmniRoute providers in AI stack 2026-10-08 10:52:42 -06:00

README.md

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_key seeds OPENROUTER_API_KEY.
  • ~/nvidia_key seeds NVIDIA_API_KEY.
  • The generated env file is /data/homelab-ai-stack/.env, mode 0600.
  • 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-free and agent-smart-free OmniRoute combos, and writes /data/homelab-ai-stack/models.env for smoke tests and local tools.
  • deploy-ai-tools writes /data/homelab-ai-stack/ai-tools.env and creates jeannie-goose, jeannie-holmes, and jeannie-hermes wrappers in ~/.local/bin so each tool uses the local OmniRoute endpoint and generated free/quota model routes. On fresh hosts, set LAB_GOOSE_INSTALL_COMMAND, LAB_HOLMES_INSTALL_COMMAND, or LAB_HERMES_INSTALL_COMMAND if 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.