explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: what shipped and the questions people ask
  • What Cognition announced
  • How Agent Memory Repo works
  • What Dreaming actually does
  • How this compares with other memory approaches
  • Why git is a smart substrate for agent memory
  • How to try it today
  • What can go wrong
  • Why this matters beyond Devin
  • Bottom line
  • Related reading
← Back to blog

explainx / blog

Devin Dreaming Memory and the Agent Memory Repo Open Spec, Explained

Cognition, Devin, Agent Memory, Open Standards, Coding Agents

Cognition shipped Memory and Dreaming for Devin plus Agent Memory Repo, an MIT-licensed spec that stores agent memory as a git repo. How it works and what to try.

Oct 5, 2026·10 min read·Yash Thakker
add explainx.ai
go deep
Devin Dreaming Memory and the Agent Memory Repo Open Spec, Explained

Cognition has given Devin a long-term memory that you can actually read. Memory and Dreaming, announced October 5, 2026, store what Devin learns across sessions as markdown files in a git repository, and a background agent called Dreaming tidies that repository on a schedule. Alongside the Devin feature, Cognition published Agent Memory Repo, an open spec for the same pattern, with a public GitHub repository under the MIT license.

The interesting part is not that a coding agent remembers things. Most harnesses already do something like that. It is that Cognition chose plain files plus git as the memory substrate, then published the format so that Claude Code, Cursor, and other agents can share it. That is a bet that agent memory should look like a codebase, not like a hidden vector database.

A green pair of shears trims one loose branch from a small memory tree, illustrating Devin Dreaming pruning stale agent memory

TL;DR: what shipped and the questions people ask

table · 2 cols
QuestionShort answer
What is it?Persistent cross-session memory for Devin, plus an open spec called Agent Memory Repo
Where does memory live?In a git repository of markdown files, with MEMORY.md as the entry point
What is Dreaming?A dedicated agent that runs periodically to add patterns and clean up stale entries
Is it Devin only?No. The spec is tool-agnostic; a Devin plugin and an agent-memory-repo skill exist
LicenseMIT
CostReported as no additional cost for existing Devin users, via the Customize menu
Can I try it without a server?Yes. Cognition says a local trial needs no remote configuration
Main riskA memory the agent writes itself can also store wrong or stale beliefs

What Cognition announced

According to AlphaSignal's coverage, Cognition shipped Memory and Dreaming for Devin together with the Agent Memory Repo spec. The memory system persists lessons across coding sessions as markdown files in a git repository, so an agent can retain discoveries about project structure, naming conventions, and deployment quirks instead of rediscovering them every time.

The practical point: the second time you ask Devin to touch your deploy script, it should already know the quirks it found the first time.

The same coverage says the feature is available now to existing Devin users through the Customize menu. We could not verify pricing beyond that report, so treat the "no additional cost" detail as reported rather than confirmed on a pricing page.

How Agent Memory Repo works

The spec page describes a four-step memory loop that any agent can follow:

  1. Clone the latest memory repository.
  2. Search it for what is needed, or follow links between entries.
  3. Update entries as the agent learns something.
  4. Push the changes after edits.

Memory entries are markdown bullets with optional metadata such as a source link or the date added. Entries link to each other with a double-bracket path syntax, so the repository behaves like a small wiki rather than a flat list. A MEMORY.md file is the entry point and is loaded at the start of a session.

The GitHub spec is deliberately loose about layout: organize files and folders however you want, and the repo can also hold SQL queries, scripts, and other files. It leans on git for everything hard. In the spec's words, "Git gives memory a history, a way to merge, and permissions."

Three consequences follow from that choice.

  • History. Every change to what the agent believes is a commit. You can diff yesterday's memory against today's, blame a bad entry, or revert it.
  • Merging. When a swarm of agents works in parallel, git merges their changes and surfaces conflicts instead of silently overwriting one agent's notes with another's.
  • Permissions and composition. Multiple memory repos can load into one session. Each keeps its own ownership, permissions, and history, so a personal memory repo, a team repo, and a project repo can coexist without being flattened into one blob.

What Dreaming actually does

Dreaming is the maintenance half of the system. The spec describes it as a dedicated agent that runs periodically with two jobs:

  • Add new memory. Spot patterns across sessions and save them as new entries.
  • Clean up memory. Merge duplicates, remove outdated entries, and resolve contradictions.

Launch coverage describes it as a daily background pass that reviews past conversations alongside the current memory repository, consolidates overlapping notes, drops transient details, captures lessons the working agent missed, and deletes records that are no longer used while keeping source references and user preferences intact.

The name is not an accident. Anthropic's Claude Managed Agents dreaming feature uses the same metaphor for offline memory consolidation. The convergence on one word tells you where the field is heading: working sessions are for doing, and a separate offline pass is for deciding what is worth remembering.

How this compares with other memory approaches

explainx.ai has covered several memory designs recently. Here is where Agent Memory Repo sits among them.

table · 5 cols
ApproachWho writes itStorageVersioned and mergeableOur coverage
CLAUDE.md and similar instruction filesMostly the humanOne markdown file per scopeVia normal git, by conventionWhat is CLAUDE.md
MEMORY.md persistenceAgent and humanMarkdown filesVia git if you commit themWhat is MEMORY.md
Karpathy-style LLM wikiThe agent compiles itLinked markdown pagesVia gitLLM wiki pattern
Local memory stores such as MemPalaceAgentLocal databaseDepends on the toolMemPalace guide
Managed memory layersPlatformHosted, scoped by agent or userPlatform-definedManaged Deep Agents user memory
Agent Memory RepoThe agent, groomed by DreamingGit repo of linked markdownYes, as a core design propertyThis post

The closest relative is the wiki pattern. Agent Memory Repo is essentially that pattern with a formal entry point, a maintenance agent, and a promise that different tools can read the same repository. It also sits near the argument in Agents don't need memory, they need documentation: if memory is just well-kept documentation, then git is the natural home for it.

Why git is a smart substrate for agent memory

Most agent memory failures are not recall failures. They are trust failures. Nobody can tell why the agent believes a thing, when it learned it, or whether it is still true. Git answers each of those directly.

Auditability. A bullet with a source link and an added-on date can be checked. A vector embedding cannot be read by a human reviewer at all.

Rollback. If Dreaming merges two notes badly or deletes something useful, the previous state is one revert away. That is a much better failure mode than a managed memory service with no history.

Review. Teams already review code. A memory repo can be reviewed the same way, which matters when an agent's notes will steer later runs. The same reasoning shows up in our coverage of Cloudflare Artifacts, which gives agents git repos: git is becoming the shared language for agent state.

Portability. Because the format is plain files, moving from one tool to another does not mean exporting from a proprietary store. The spec lists implementation support for Devin CLI, Claude Code, Cursor, and other agents.

How to try it today

Cognition says a local trial needs no remote configuration, and it points to two entry routes: a plugin for Devin installed through the CLI, and an agent-memory-repo skill distributed via npm for other agents. Skills are the same packaging idea we explain in what are agent skills.

A sensible first experiment, independent of which tool you use:

  1. Create an empty local git repository for memory, separate from your project repo.
  2. Add a MEMORY.md with a few bullet entries about your project: build command, test command, deploy gotchas.
  3. Let your agent follow the clone, search, update, push loop for a week of normal work.
  4. Review the commit log at the end of the week. Which entries are useful, which are noise, which are wrong?
  5. Only then consider automating a consolidation pass like Dreaming.

Step four is the one most people skip, and it is the one that tells you whether automated memory is helping or quietly polluting your context. For the general discipline of keeping agent loops honest, see our loop engineering guide for coding agents.

What can go wrong

An agent that writes its own memory can also write its own mistakes into it. A few failure modes are worth planning for.

  • Confident wrong lessons. If an agent concludes something from one flaky run, Dreaming may promote it to a pattern. Source links on entries help, and a cleanup pass that resolves contradictions targets the same problem.
  • Over-pruning. Removing outdated entries is only safe if the agent can tell outdated from rarely used. Keep memory in git so deletions are recoverable.
  • Context bloat. MEMORY.md is loaded at session start. If the entry file grows without discipline, every session pays for it in tokens. Use links to deeper notes rather than inlining everything.
  • Prompt injection through memory. Anything an agent reads while browsing or reading issues could end up as a memory entry and then be loaded into every future session. Treat memory repos like code that gets executed: review what lands in them. This is the same class of risk as MCP tool poisoning.
  • Shared-memory leakage. Composing a personal repo with a team repo is powerful, but the permissions live in git. Make sure private notes never land in a shared repository.

We have not run Devin's Dreaming pass ourselves, so everything about its behavior in this post comes from Cognition's published description and launch coverage. Judge it on your own repositories before trusting it with anything important.

Why this matters beyond Devin

There are two reasons to pay attention even if you never use Devin.

First, interoperability. Today each harness invents its own memory format, and switching tools means losing what the agent learned about your codebase. A shared, file-based spec that several agents can read lowers that switching cost, the same way MCP lowered it for tools.

Second, the maintenance agent is becoming a standard part of the stack. Anthropic's managed agents, open-source harnesses, and now Cognition all describe an offline pass that consolidates what happened. Expect memory hygiene, not just memory storage, to be the differentiator in the next round of agent products.

The caveat is that a spec published by one vendor is not yet a standard that the whole ecosystem has agreed on. The repository is young, and adoption by other tools is what will decide whether it becomes common. Watch how many harnesses ship native support rather than relying on a plugin or skill.

Bottom line

Cognition's launch is a practical answer to a real complaint: coding agents forget everything between sessions. Storing memory as a git repo of markdown, grooming it with a Dreaming agent, and publishing the format under MIT makes the memory inspectable, reversible, and portable. It does not remove the hard problem of deciding what deserves to be remembered, but it gives you the tools to audit the answer.

Related reading

  • Claude Managed Agents dreaming and multiagent orchestration
  • What is MEMORY.md and agent persistence
  • What is CLAUDE.md persistent memory in Claude Code
  • Karpathy's LLM wiki pattern for agent memory
  • Managed Deep Agents 0.8 user memory
  • Agents don't need memory, they need documentation
  • Cloudflare Artifacts: git for agents
  • Official: Agent Memory Repo and the GitHub spec

Details are accurate as of October 5, 2026. Product availability, pricing, and the spec itself may change; check Cognition's pages for current information.

Spotted something out of date? Let us know.

People in this article

  • Andrej Karpathy →AI researcher and educator
Explore people in AI →
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Sep 28, 2026

Hindsight: The Open-Source Memory System That Makes Agents Learn, Not Just Recall

Most "agent memory" is RAG with extra steps: embed the chat, vector-search it, hope for the best. Hindsight, from Vectorize.io, takes a different bet — biomimetic memory types, a retain/recall/reflect loop, and observations that get refined rather than overwritten. 38,000 GitHub stars in, here's what it actually does, how to run it, and where the claims need a second look.

Sep 12, 2026

Devin Fusion Hits CLI: Cognition Cuts Coding Costs 39%

One day after launching SWE-2, Cognition rolled its "Fusion" dual-model harness into Devin CLI, pairing a frontier planning model with a cost-effective execution model. Cognition and a third-party benchmark both put the savings in the 35-39% range — with real quality tradeoffs on judgment-heavy tasks.

Sep 11, 2026

SWE-2: Cognition's Frontier-Near Coding Model Lands in Devin

On September 10, 2026, Cognition shipped SWE-2 — post-trained from Kimi K3 at multi-trillion-parameter RL scale — scoring 50.0% on FrontierCode 1.1 Main within one point of Fable 5.1 at 64% lower cost. SWE-2 medium beats SWE-1.7 with 58% fewer turns and 81% lower cost, but long-horizon Terminal-Bench 4 still trails frontier labs by a wide margin.