xAI 为 Grok Build 加入跨会话记忆功能
ICYIMI: Grok Build adds memory across coding sessions
xAI 为 Grok Build 推出记忆功能,可在会话之间保留团队约定、技术决策和长期项目事实,现已可用,首次完整对话轮次后开始记录。记忆以 Markdown 文件按主题存储,分为项目工作区与跨项目全局两种作用域,/dream 命令会把新观察合并进对应主题文件,/memory 可只读查看并按作用域分组,支持筛选、预览、复制路径、删除或开关单条笔记。
xAI has launched memory for Grok Build, allowing the coding tool to carry team conventions, technical decisions, and durable project facts from one session to the next. Memory is available now, and note capture begins after the first completed turn. Developers must run /new or start a fresh grok session for the saved context to apply.
After every completed turn, Grok reviews the exchange in the background and records information likely to remain useful. Capture does not interrupt the active session. In xAI’s example, Grok initially runs cargo test, but the command fails because a PostgreSQL test database is unavailable. The user explains that just test should be used because it starts the database first. Grok later follows that convention, while the command is preserved in a testing note.
— Grok (@grok) September 16, 2026
The system stores notes as Markdown files, with one topic per subject. Project work stays within a dedicated workspace scope, while a global scope holds preferences that should carry across projects. The /dream command folds new observations into the relevant topic files, and xAI says the same process also runs periodically in the background. Users can open /memory to inspect the files in a read-only browser grouped by scope. The interface includes filtering, file previews, and controls to copy a path, delete a note, or switch one on or off.
Before related work begins, Grok reads the relevant topics and applies them even when they are not mentioned in the new conversation. Instructions in the current conversation still take priority. The system is meant to retain code-writing and review practices, the reasoning behind decisions, subsystem locations, and commands such as how to run tests. It excludes task state, tentative conclusions, secrets, and material already present in the repository or its documentation.
For xAI, the release turns Grok Build from a session-bound coding tool into one that can develop continuity around a team and its projects. The company says Grok Build should become more useful with continued use.
New users can install the tool with: curl -fsSL https://x.ai/cli/install.sh | bash.来源:TestingCatalog · testingcatalog.com