mirror of
https://github.com/deepseek-ai/awesome-deepseek-agent.git
synced 2026-11-05 01:07:37 +00:00
[PR #429] docs: add Grok Build integration guide #427
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/awesome-deepseek-agent#427
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/awesome-deepseek-agent/pull/429
Author: @tiandi02
Created: 9/25/2026
Status: 🔄 Open
Base:
main← Head:docs/add-grok-build📝 Commits (1)
74606b6docs: add Grok Build integration guide📊 Changes
4 files changed (+238 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📝
README.zh-CN.md(+1 -0)➕
docs/grok_build.md(+118 -0)➕
docs/grok_build.zh-CN.md(+118 -0)📄 Description
Summary
Adds a bilingual integration guide for Grok Build (
grok), xAI's terminal coding agent:docs/grok_build.md(English) anddocs/grok_build.zh-CN.md(Simplified Chinese), in one PR.README.mdandREADME.zh-CN.md, inserted alphabetically (after GitHub Copilot CLI, before Hermes).Relationship to the other open Grok Build PRs
As CONTRIBUTING asks, I checked the open PRs first. #314, #318 and #405 all cover this tool and are still open, so I want to be explicit rather than silently add a fourth:
messagesstated as requiredsupports_reasoning_effort(deprecated)default_reasoning_effort = "high"default_reasoning_effort = "max"reasoning_efforts+max, wire-verifiedreasoning_content400, so the Anthropic backend is neededI am happy to close this in favor of any of them, or to fold anything useful from here into one of them, if a maintainer prefers a single Grok Build entry — #405 already made the same offer about #314.
Verified against Grok 1.0.41, not inferred
CONTRIBUTING asks that config fields be verified to actually work in the agent, so each claim below comes from a recorded observation:
deepseek-v4-proanddeepseek-v4-flashboth work;deepseek-v4-flashnormalizes todeepseek-flashin the responsemodelfield.context_window = 1000000; DeepSeek's/v1/modelsrow reportscontext_window: 1048576. Grok uses this value to time auto-compaction, which matches the config reference./v1/modelsrow, where DeepSeek reports levels aseffort.supported_levels— a shape Grok does not read. Consequences, all measured:reasoning_effortsline, no reasoning field is sent at all, even withdefault_reasoning_effort = "max"and--effort max.reasoning_efforts = ["low", "high", "max"]anddefault_reasoning_effort = "max", the body carries"reasoning_effort":"max".--effort maxoverrides a lower configured default.reasoning_effortsas an array of tables; the array-of-strings form above is the one that takes effect here.chat_completionsbackend completed a multi-turn task that invoked shell and file tools, with noreasoning_contenterror. That is why this guide does not tell users to switch backends or to disable thinking.env_keynaming an unset variable and noapi_key, Grok does not report a missing key: the request carried a bearer token whose SHA-256 matches theauth.jsonOIDC session token, i.e. the user's grok.com session credential is sent to the third-party endpoint. This is documented as a pitfall in both language versions.Checks
deepseek-v4-pro/deepseek-v4-flash), no v3 namesmaxreasoning effort supported, verified on the wire🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.