11 Gateways, One Setup Panel: Keys, Models, and Safer Deletes
Hawk's in-terminal Setup panel (/config) is now the one place to paste API keys, pick a gateway, refresh models, and start chatting — without touching env files or restarting the agent.
What's new in Setup
Open ⚙ Setup from the hawk TUI. Three tabs:
| Tab | What it does |
|---|---|
| Keys | Saved credentials, add/replace keys, Ollama URL |
| Gateways | All 11 providers — key status, model counts, refresh |
| Models | Search (/), pick the active model, see context size |
Keys UX that won't bite you
- Enter on a saved key → open a masked detail view (not instant delete)
- Delete → first confirmation prompt
- Enter again → final confirmation before removal
- Esc cancels at any step
Keys live in your OS secret store via eyrie — not in settings.json.
Gateways tab
Each gateway row shows whether a key is configured, how many models are cached, and which one is active. Press `r` to refresh models for the selected gateway (follows your cursor, not just the last-active provider).
Status bar
The chat input bar now shows a colorful connection line: Gateway · Model · context — so you always know what hawk will use on the next message.
Session model sync fix
If the status bar showed a model but chat returned deployment router: model is required, hawk was displaying the saved model from eyrie while the live session was still empty. Hawk now syncs provider.json selection into the session before every message — and shows a clear hint if no model is selected.
Two new direct gateways (eyrie)
We added Kimi (Moonshot) and Xiaomi (MiMo) as first-class setup gateways — not just models inside OpenRouter:
| Gateway | Env var | API base |
|---|---|---|
| Kimi (Moonshot) | MOONSHOT_API_KEY | https://api.moonshot.ai/v1 |
| Xiaomi (MiMo) | XIAOMI_MIMO_API_KEY | https://api.xiaomimimo.com/v1 |
That brings the total to 11 gateways: Anthropic, OpenAI, Gemini, OpenRouter, xAI (Grok), Z.AI, CanopyWave, OpenCode Go, Kimi, Xiaomi, and Ollama (local).
Live model discovery runs when you refresh a gateway — no static catalog required for Kimi or Xiaomi.
Try it (from source)
Hawk has no public install yet. Clone and build from hawk, then:
hawk # open the TUI
/config # or type /config in chat
# Keys → Add API key → paste → pick gateway → Models → Enter