diff --git a/README.md b/README.md index 2ee9ea31..f959d418 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ hawk is an AI-powered coding agent that lives in your terminal. It reads your co **Developer path:** one machine, keychain credentials, local memory. Run `hawk path` to check readiness. -- **Model-agnostic** — supports 23 first-class providers through [eyrie](https://github.com/GrayCodeAI/eyrie), including Anthropic, OpenAI, Gemini, Concentrate AI (pay-as-you-go), DeepSeek, and Ollama +- **Model-agnostic** — supports 28 first-class providers through [eyrie](https://github.com/GrayCodeAI/eyrie), including Anthropic, OpenAI, Gemini, Fireworks AI, Concentrate AI (pay-as-you-go), DeepSeek, and Ollama - **Zero CGO** — single static binary, cross-compiled for linux/darwin/windows on amd64/arm64 - **Privacy-first** — your code never leaves your machine except to the LLM API you choose - **Docker-only execution** — agent commands run in an isolated container and @@ -345,6 +345,7 @@ hawk works with any LLM provider. **Developer path:** paste keys in `/config` (s | OpenAI | `openai` | `OPENAI_API_KEY` | | Google Gemini | `gemini` | `GEMINI_API_KEY` | | OpenRouter | `openrouter` | `OPENROUTER_API_KEY` | +| Fireworks AI | `fireworks` | `FIREWORKS_API_KEY` | | xAI (Grok) | `grok` | `XAI_API_KEY` | | Z.AI | `z-ai` | `ZAI_API_KEY` | | CanopyWave | `canopywave` | `CANOPYWAVE_API_KEY` | diff --git a/docs/ECOSYSTEM-CONFIG.md b/docs/ECOSYSTEM-CONFIG.md index 72419383..b66c1efe 100644 --- a/docs/ECOSYSTEM-CONFIG.md +++ b/docs/ECOSYSTEM-CONFIG.md @@ -135,8 +135,8 @@ setting; the unified key is rendered down to it. |---------------------------------|-------------|--------------------------------------------------| | `model.default` | hawk | `HAWK_MODEL` env / `config.json` | | `model.small_fast` | hawk | `GRAYCODE_SMALL_FAST_MODEL` env | -| `providers[].api_key_env` | eyrie/hawk | `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY`, `OPENROUTER_API_KEY`, `XAI_API_KEY`, `ZAI_API_KEY`, `CANOPYWAVE_API_KEY` | -| `providers[].base_url_env` | eyrie | `ANTHROPIC_BASE_URL`, `OPENAI_BASE_URL` / `OPENAI_API_BASE`, `OLLAMA_BASE_URL` | +| `providers[].api_key_env` | eyrie/hawk | `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY`, `OPENROUTER_API_KEY`, `XAI_API_KEY`, `ZAI_API_KEY`, `CANOPYWAVE_API_KEY`, `FIREWORKS_API_KEY` | +| `providers[].base_url_env` | eyrie | `ANTHROPIC_BASE_URL`, `OPENAI_BASE_URL` / `OPENAI_API_BASE`, `OLLAMA_BASE_URL`, `FIREWORKS_BASE_URL` | | `providers[].model` (openai) | eyrie | `OPENAI_MODEL` env | | `providers[].model` (gemini) | eyrie | `GEMINI_MODEL` env | | `providers[].model` (anthropic) | eyrie | `ANTHROPIC_MODEL` env | diff --git a/docs/user-guide/02-authentication.md b/docs/user-guide/02-authentication.md index 2ef5e50d..2c6139ef 100644 --- a/docs/user-guide/02-authentication.md +++ b/docs/user-guide/02-authentication.md @@ -17,6 +17,7 @@ Hawk supports multiple providers: | OpenAI | `openai` | `OPENAI_API_KEY` | | Google Gemini | `gemini` | `GEMINI_API_KEY` | | OpenRouter | `openrouter` | `OPENROUTER_API_KEY` | +| Fireworks AI | `fireworks` | `FIREWORKS_API_KEY` | | Ollama (local) | `ollama` | `OLLAMA_BASE_URL` (no API key) | ### Setting Up Credentials @@ -38,6 +39,12 @@ export XAI_API_KEY="xai-..." hawk ``` +Fireworks uses its OpenAI-compatible API. Set `FIREWORKS_API_KEY`; the default +base URL is `https://api.fireworks.ai/inference/v1`. See the official +[quickstart](https://docs.fireworks.ai/getting-started/quickstart), +[API reference](https://docs.fireworks.ai/api-reference/introduction), and +[models overview](https://docs.fireworks.ai/models/overview). + --- ## Provider Configuration @@ -228,4 +235,4 @@ Any provider can be set as default in your settings: --- -© 2026 GrayCode AI. All rights reserved. \ No newline at end of file +© 2026 GrayCode AI. All rights reserved. diff --git a/external/eyrie b/external/eyrie index 8eaeb8f3..afeda44e 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit 8eaeb8f3d3a1a190730a2cc3bd210ac069ab09eb +Subproject commit afeda44e0c6e9554aef0bb10dc131a925b605389 diff --git a/testdata/golden/help_root.txt b/testdata/golden/help_root.txt index 577109df..55a82abb 100644 --- a/testdata/golden/help_root.txt +++ b/testdata/golden/help_root.txt @@ -1,6 +1,6 @@ hawk is an AI coding agent that reads, writes, and runs code in your terminal. -It connects to 27 first-class LLM providers through eyrie, executes tools (file I/O, shell, +It connects to 28 first-class LLM providers through eyrie, executes tools (file I/O, shell, git, web search), and manages sessions — all from a keyboard-driven TUI or headless mode for scripts and CI.