←新闻详情

xAI News更新于 10月13日 13:26

xAI 为 Grok Build 推出记忆功能

Memory in Grok Build

AI 导读

xAI 宣布 Grok Build 现已具备记忆功能,会在每轮对话完成后于后台记录约定、决策和项目事实,并在后续会话处理相关代码前读取这些笔记。笔记以 markdown 文件存储,按项目划分作用域,另有全局作用域保存通用偏好;新增 /memory 命令可浏览全部记忆文件,/dream 命令将新观察合并进对应主题文件并会定期在后台自动运行。该功能适用于新会话,运行 /new 或重新启动 grok 后,笔记从第一轮完成的对话开始生成。

推荐理由

AI 评分 57

Grok Build 新增记忆功能,读者可了解其后台捕获、markdown 存储与跨会话读取的具体机制。

主题

标签

正文

当前显示原文,中文全文译文尚未就绪。

Try Free 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.

Stored as markdown

Notes are markdown files, one topic per subject. Each project has its own workspace scope, and a global scope holds preferences that apply everywhere. /dream merges new observations into the topic they belong to, and /memory shows the files as they are on disk.

Read back in later sessions

Before starting related work, Grok reads the topics that cover the area and applies them, including in sessions where the subject never comes up. Instructions in the current conversation take precedence over anything in a note.

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