From 62e8d4fd3ad1170687dde2531fd723d72bfc38ab Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Thu, 13 Aug 2026 05:58:23 +0530 Subject: [PATCH 1/5] feat: wire Fireworks provider into Hawk --- README.md | 3 ++- docs/user-guide/02-authentication.md | 9 ++++++++- external/eyrie | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) 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/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..9579a86e 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit 8eaeb8f3d3a1a190730a2cc3bd210ac069ab09eb +Subproject commit 9579a86e1ed40caf883e1822ed9b774e239fa786 From fcea1575859afecd8df30345679466fecb51f467 Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Thu, 13 Aug 2026 06:05:37 +0530 Subject: [PATCH 2/5] test: update Fireworks provider documentation and golden output --- docs/ECOSYSTEM-CONFIG.md | 4 ++-- testdata/golden/help_root.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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/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. From 19f7559d817d89559fb8befc6b0c7b83f8fc6383 Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Thu, 13 Aug 2026 08:22:21 +0530 Subject: [PATCH 3/5] fix: sync Eyrie Fireworks runtime hardening --- external/eyrie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/eyrie b/external/eyrie index 9579a86e..c52a99df 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit 9579a86e1ed40caf883e1822ed9b774e239fa786 +Subproject commit c52a99df2dc54a959fe9f1f52ecc4ce0c53692c0 From c3d8d7a6dd20435d76d4f7671c8170c202192e2a Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Thu, 13 Aug 2026 08:30:45 +0530 Subject: [PATCH 4/5] fix: update Eyrie Fireworks lint fix --- external/eyrie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/eyrie b/external/eyrie index c52a99df..bf16f507 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit c52a99df2dc54a959fe9f1f52ecc4ce0c53692c0 +Subproject commit bf16f507d69d03a0b4a31f72ab2b4b1662081dd2 From deae1dd04a0890b7a74b71891fac96fcad61ae0f Mon Sep 17 00:00:00 2001 From: Lakshman Patel Date: Thu, 13 Aug 2026 08:40:21 +0530 Subject: [PATCH 5/5] chore: pin Eyrie Fireworks merge --- external/eyrie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/eyrie b/external/eyrie index bf16f507..afeda44e 160000 --- a/external/eyrie +++ b/external/eyrie @@ -1 +1 @@ -Subproject commit bf16f507d69d03a0b4a31f72ab2b4b1662081dd2 +Subproject commit afeda44e0c6e9554aef0bb10dc131a925b605389