xAI 开源编码智能体 Grok Build,源代码发布至 GitHub
Grok Build is Now Open Source Explore the harness behind our coding agent and TUI. Jul 15, 2026
- 1xAI 宣布开源编码智能体 Grok Build,智能体与终端 UI 的源代码已发布至 GitHub。
- 2公开源码覆盖智能体循环、代码读写与搜索工具、终端 UI 和扩展系统四大部分。
- 3skills、plugins、hooks、MCP servers、subagents 的加载与调用逻辑以源码为权威参照。
- 4Grok Build 支持完全本地优先运行,可自行编译、指向本地推理并通过 config.toml 配置。
把编码智能体的实现从黑盒变为可审计源码,同时给出完全本地运行路径,企业自托管智能体工具有了可落地的参照。
- 影响:涉及敏感代码的场景可评估自行编译加本地推理的运行方式;团队做扩展集成时可用源码核对 skills、hooks、MCP servers 的加载调用约定;选型对比同类编码智能体时多了可查的实现细节。
- 参考:可考虑让工程团队先通读智能体循环与扩展系统两块源码,再决定是否在内部编译试点;值得盘点现有 MCP servers 与 hooks 清单,对照其调用方式评估迁移成本。
- 依据:开源范围与四大代码模块均出自 xAI 官方公告,代码托管在 GitHub;本地运行方式为官方说明,暂无独立评测。
We're open-sourcing Grok Build, SpaceXSI's coding agent and TUI. The source is now available on GitHub.
Publishing the code is the most direct way to build toward a robust and reliable harness. You can read the source to see exactly how it works, from context assembly to tool-call dispatch.
Open-sourcing also makes the harness easier to explore and extend: if you're working with skills, plugins, hooks, MCP servers, or subagents, the source is the definitive reference for how each is loaded and invoked.
Finally, Grok Build can now run fully local-first: compile it yourself, point it at your own local inference, and drive everything from your config.toml.
About the codebase
The published source includes:
- The agent loop: how context is assembled, how model responses are parsed, and how tool calls are dispatched
- The tools: how the agent reads, edits, and searches code, and how it runs commands
- The terminal UI: rendering, input handling, plan review, and the inline diff viewer
- The extension system: skills, plugins, hooks, MCP servers, and subagents
Explore the source on GitHub.
来源:xAI:News · x.ai