跳到正文
原文
xAI:News·· 2026-09-16AI 评分43

Grok Build 上线跨会话记忆功能,可留存项目约定与决策

Memory in Grok Build Grok Build now carries conventions, decisions, and project facts from one session to the next. Notes are written in the background as you work and read back when you return to the project. Sep 16, 2026

文章要点
  • 1xAI 为编程工具 Grok Build 上线记忆功能,约定、决策和项目事实可跨会话延续
  • 2记录在每个回合完成后由后台写成 markdown 笔记,不打断会话,按项目保存并另设全局偏好记忆
  • 3任务状态、临时结论、密钥和仓库文档已有内容不写入记忆,当前对话指令优先于笔记内容
  • 4/memory 命令提供只读浏览,/dream 会把近期笔记整理成主题文件并定期自动运行
决策要点

编码智能体的比拼正从单次会话能力延伸到跨会话知识沉淀,工具开始替团队留存工程惯例与决策记录。

  • 影响:长期项目可减少向智能体重复交代约定与决策的成本;记忆以 markdown 笔记形式留存,团队需要安排人核对与修正内容;密钥被排除在记录范围外,信息边界仍需自行把关。
  • 参考:可考虑选一个进行中的项目新开会话试用,对比首次交代约定的时间变化;值得让成员定期用 /memory 检查笔记,并约定发现错误记忆时的修正方式。
  • 依据:记忆的记录规则、排除范围和新命令均出自 xAI 官方公告口径,材料内未附第三方评测结果。
正文

Grok Build now has memory. As you work, it keeps notes on the conventions, decisions, and project facts that come up, and later sessions read those notes before touching related code. Grok Build gets better the more you use it.

Captured after the turn

After a turn completes, Grok reviews it in the background and records anything durable: conventions, decisions, and project facts. Capture runs on every completed turn and does not interrupt the session.

What it remembers

Memory holds the details most likely to matter in a later session: how the team writes and reviews code, decisions and the reasoning behind them, and durable facts about the project, from where a subsystem lives to which command runs the suite. Task state, tentative conclusions, secrets, and anything the repository or its docs already cover are left out.

Notes are kept per project, plus a global set for preferences that apply everywhere.

Written in the background

Capture runs after a turn completes and never blocks the session. Grok reviews the finished turn, writes anything worth keeping as a markdown note, and continues. Over time, /dream folds those notes into topic files, one per subject, so each project ends up with a small set of organized references.

When you return to a project, Grok reads the topics that cover the area it is about to work in. Instructions in the current conversation take precedence over anything in a note.

Browsing memory

/memory opens a read-only browser of every memory file, grouped by scope, with a preview of the selected file. It is the fastest way to see what a session produced, and to find the file to edit when a note is wrong.

New commands

  • /memory opens the browser above.
  • /dream organizes recent notes into topic files, for example topics/testing.md. Dream also runs on its own periodically in the background.

Availability

Memory is available in Grok Build now. It applies to new sessions: run /new or start a fresh grok, and notes begin after the first completed turn.

来源:xAI:News · x.ai