Skip to content

add grok tool: direct native-binary download from x.ai#285

Merged
eirikb merged 1 commit into
mainfrom
feature/eirikb/grok-tool
Jul 1, 2026
Merged

add grok tool: direct native-binary download from x.ai#285
eirikb merged 1 commit into
mainfrom
feature/eirikb/grok-tool

Conversation

@eirikb

@eirikb eirikb commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Grok Build (xAI's coding agent) ships as a static-pie native binary, so gg downloads and execs it directly instead of going through the @xai-official/grok npm wrapper (which would drag in a Node.js runtime just to shell out to npm). Same source as x.ai/cli/install.sh, with the x.ai -> GCS host fallback.

Resolves latest via the stable channel file; honors an exact [email protected] pin via the deterministic artifact URL even when the channel probe is down. Binary is renamed to a canonical grok[.exe] in post_prep so it resolves across runs.

Grok Build (xAI's coding agent) ships as a static-pie native binary, so
gg downloads and execs it directly instead of going through the
@xai-official/grok npm wrapper (which would drag in a Node.js runtime
just to shell out to npm). Same source as x.ai/cli/install.sh, with the
x.ai -> GCS host fallback.

Resolves latest via the stable channel file; honors an exact [email protected]
pin via the deterministic artifact URL even when the channel probe is
down. Binary is renamed to a canonical grok[.exe] in post_prep so it
resolves across runs.
@eirikb
eirikb enabled auto-merge (squash) July 1, 2026 10:47
@eirikb
eirikb merged commit c188410 into main Jul 1, 2026
318 of 332 checks passed
@eirikb
eirikb deleted the feature/eirikb/grok-tool branch July 1, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant