Cognition Adds Git-Based Memory and Dreaming to Devin
Cognition has launched persistent memory and background optimization features for its Devin coding agent, allowing AI models to retain codebase lessons and coordinate via Git.

Cognition has introduced two persistent-context features, Memory and Dreaming, to its Devin software engineering agent. Memory allows Devin to record and reuse lessons across different coding sessions, saving it from repeatedly diagnosing environment failures or package managers. Dreaming acts as a daily background pass that reviews past conversations, consolidates overlapping notes, deletes unused records, and extracts new patterns. Both features are available to Devin users at no additional cost under Customize to Memory.
Alongside these features, Cognition released the Agent Memory Repo, an open specification that stores agent memory as Markdown files in a Git repository. Every session starts with a compact MEMORY.md file that serves as an entry point and index. Individual memories are formatted as one-line bullets with optional metadata, such as creation dates, and cross-referenced using wiki-style double-bracket links. Because the system uses Git, developers can directly inspect, edit, and track changes made by the agent.
To handle parallel workflows, each concurrent Devin session receives its own Git checkout of the memory drive. When Devin updates a note, it commits the change and merges updates, while revision checks reject stale writes if another session has updated the drive. During early testing, Cognition observed that swarms of Devins sharing a single memory drive naturally began using the files as an unprompted coordination message board. This file-based collaboration model can replace custom shared-state services for multi-agent setups.
The open standard is not limited to Devin. Cognition has provided documentation and a GitHub repository to help developers implement the Agent Memory Repo in other popular AI tools, including Claude Code and Cursor. By standardizing memory into plain Markdown and Git, the system allows developers to easily clone, fork, or share agent memories across teams using their existing version control workflows.
This is our own summary of reporting by AlphaSignal



