# Devin Memory (2026): Memory Drive, Dreaming and Hindsight

> How Devin remembers across sessions (Dec 2026): a Git memory drive of Markdown notes, what is saved, daily dreaming, how to view or turn off memory, and where Hindsight fits.

Source: https://aiagentmemory.org/articles/devin-memory/ · Updated 2026-12-03 · aiagentmemory.org


**Devin remembers across sessions with a memory drive.** The drive is a Git repository of Markdown notes. Devin reads a short entry file at the start of each session, saves what you teach it as it works, and a daily "dreaming" session merges and cleans the notes. Memory is personal to each user and is on by default. This page covers how it works, what it keeps, how to view or turn it off, and where Hindsight fits.

## What is Devin memory?

**Devin memory is the set of notes Devin keeps about your preferences, your corrections and lessons about your projects.** The notes are not chat history. Devin writes them on its own as you work, so you do not have to write them down. According to Devin's docs (read 3 December 2026), the notes are personal to you within each organization and are not shared with teammates.

## How the memory drive works

The drive is a folder tree of Markdown notes, for example `MEMORY.md` for general preferences and `my-app/testing.md` for one project.

1. **Load.** Each session gets its own checkout of the drive. It receives `MEMORY.md` as context. It reads the other notes only when a task needs them.
2. **Learn.** When you correct Devin or explain a preference, Devin edits the right note. Each entry is one line and records the session that wrote it.
3. **Save.** Devin commits the edit and merges changes from your other sessions. Memories apply to future sessions, not the one that wrote them.

Devin's docs say the format follows an open spec called Agent Memory Repo: a Git repository with a `MEMORY.md` entry point and one-line entries with source and date metadata.

## What Devin saves

| Saved | Not saved |
|---|---|
| Preferences for how you want Devin to work and talk | Summaries of sessions |
| Corrections, with the rule to follow next time | Task state, such as PR numbers or statuses |
| Decisions and the reasons you gave | Anything cheap to rediscover |
| Gotchas about your repos and environment | Secrets and credentials |

Sessions started by automations do not read or write memory, per the same docs.

## Dreaming

Dreaming is a background session. It runs about once a day when you have used Devin, and it reviews recent sessions next to your existing notes. It merges overlapping notes, removes stale ones that no session has used, adds lessons that were not captured during the work, and reorganizes the files. Source links and explicit preferences are kept. Your first dream seeds memory from your recent sessions.

## View, change and turn off

- **View:** open Customize, then Memory, in the Devin app. Recent dreaming sessions show what each one changed.
- **Change or remove:** the files are read-only in the app. Ask Devin in a session, for example "forget that I prefer npm".
- **Turn off:** in the Memory tab, open the menu and choose "Turn off personal memory". Your notes are kept if you turn it back on. You can also turn off dreaming alone.
- **Admins:** an organization can switch memory off for all members, and an enterprise can set a default or lock it on or off.

## Where Hindsight fits

Devin's memory is a Git drive that Devin manages. [Hindsight](https://github.com/vectorize-io/hindsight) is a separate open-source (MIT) memory server with its own retain, recall and reflect operations. Its Coding Agents package lists Devin among the 22 agents it covers, and it stores memory in one bank per repo. We did not confirm the exact Devin setup steps, so check Hindsight's coding-agents page first.

Hindsight's sourced strengths are long histories (64.1 on BEAM at 10M tokens, against Mem0's 48.6, per Mem0's comparison page) and open-source self-hosting. Its limits matter for coding work too. Retain calls an LLM for every write, and recall returns more context per query by default, so set `max_tokens` lower if your budget is small. Devin's own memory needs no setup and is on by default, which is the simpler choice for most teams that only use Devin.

For the other coding agents, see [AI coding agent memory](/articles/ai-coding-agent-memory/). For the Hindsight side, see [Hindsight AI memory](/articles/ai-memory-hindsight/).


## FAQ

### How does Devin's memory work?

Devin keeps its memory as a Git repository of Markdown notes, called a memory drive. Each new session gets a checkout and reads MEMORY.md. Devin edits notes when you correct it or explain a preference, and a daily dreaming session tidies the notes. Memory is personal to you within an organization.

### Can I see or delete what Devin remembers?

You can browse the notes under Customize, then Memory, in the Devin app. The files are read-only there, so to change or remove a note you ask Devin in a session. You can also turn personal memory off, which keeps your existing notes.

### Does Hindsight work with Devin?

Hindsight's Coding Agents package lists Devin among the agents it covers. Devin's own memory stays in its memory drive, so Hindsight is a separate store you run or host. Check Hindsight's coding-agents page for the Devin setup steps before you install it.

