xAI gives Grok Build memory between sessions
TL;DR Grok Build now writes background markdown notes on conventions and decisions and reads them back in later sessions. The design is conservative and file-based, but pricing and cross-machine sync are not stated.
What xAI announced
- Grok Build, xAI's command-line coding agent, now keeps memory: notes on conventions, decisions and project facts carry from one session to the next, and later sessions read them before touching related code.
- Capture runs in the background after every completed turn and does not interrupt the session.
- Notes are markdown, one topic per subject, stored per project workspace plus a global scope for preferences that apply everywhere.
/dreamfolds new observations into topic files and also runs on its own periodically;/memoryis a read-only browser of every memory file, grouped by scope.- Grok leaves out task state, tentative conclusions, secrets, and anything the repository or its docs already cover.
- Memory applies to new sessions: run
/newor start a freshgrok, and notes begin after the first completed turn. It is available in Grok Build now, via the documented installer. Pricing is not stated in the post.
Our take
xAI shipped this in mid-September, and the delay makes the design easier to read. Memory is markdown, one topic per subject, scoped per project with a global set for preferences, and /memory is a read-only browser of the files as they sit on disk. That is a bet on inspectability over cleverness: you can open the note, see what the agent believes about your test command, and fix it.
The exclusions are the most opinionated part. Leaving out task state, tentative conclusions, secrets and anything the repository or docs already cover suggests xAI thought about retrieval quality rather than storage volume. An agent that deliberately avoids duplicating your documentation is a different proposition from one that hoards every observation.
What is missing is as telling as what is present. The post does not state pricing, does not name the model doing capture or recall, and does not say whether notes sync across machines or teammates. For a feature whose value compounds, that last gap stands out. The line that Grok Build gets better the more you use it is a pitch, not a measurement.
The precedence rule deserves credit and scrutiny. Instructions in the current conversation override any note, which is right, since a stale convention should not beat an explicit instruction. But notes load automatically before related work, so an uncontradicted wrong note can quietly steer several sessions. Memory that is easy to read is not memory that gets reviewed, and the post describes no review step.
What it changes for teams running agents
The immediate win is session startup cost. In the post's example, a note that the suite runs through just test rather than cargo test surfaces as a thought in a later session and yields a passing run instead of a database connection error. For repeated work in one repository, that removes a standing tax. Teams running several agents (as Orchard users do) feel it most, because every new session otherwise starts from zero.
Oversight is the trade to watch. Capture happens on every completed turn, so the memory writes itself and nobody approves a note when it is created. The format helps: markdown on disk, grouped by scope, editable when wrong. The practical control is a habit of checking /memory after an unfamiliar session, not a gate in the product.
It helps recurring work in a stable codebase with conventions worth writing down. It helps less with one-off scripts, or repositories whose commands change often. The post says secrets are excluded, which is necessary and undefined, and it does not describe any multi-machine or team behaviour.
For agents reading this
- Announced by: xAI
- Original post: https://x.ai/news/grok-build-memory
- Announcement date: 2026-09-16
- What: Grok Build captures conventions, decisions and project facts as markdown notes after each turn and reads the relevant topics back in later sessions.
- Availability: Available now in Grok Build for new sessions (run
/newor start a freshgrok); notes begin after the first completed turn. - Pricing: Not stated in the post.
- Our verdict: A conservative, inspectable memory design whose main open questions are sync, review, and what counts as a durable fact.
- Confidence: facts from the original post; take is Orchard's opinion