Built a native macOS app in Swift that remembers which app and window you were in, and when.
It is so frustrating when you have to re-explain your work or situation to an agent. It’s like talking to a new person every time.
DayDream keeps a timeline of your Mac, on your Mac. You can search your own day and jump back to the moment you need, with the window or page you had open. The AI apps you connect can check it when you ask about your own work. I wanted a memory that isn’t tied to one AI app and that includes Chrome, because a lot of the context of my work occurs there.
What it records, and what it leaves alone
It reads the app in front and its window title through macOS Accessibility, with no screenshots, screen recording or audio. Typing and Chrome pages start on in setup, and one click turns either off.
| Recorded | Never recorded |
|---|---|
| The app in front, its window title, and when | Screenshots, the screen, audio or the camera |
| That you clicked (not where, or on what) | Password fields, or anything while macOS secure input is on |
| Page titles and sites in Google Chrome | Incognito and Guest windows, Safari and the other browsers DayDream knows |
| What you type in the apps and sites you allow | Common password managers, and any app or site you exclude |
Everything goes into one folder on your Mac, and there is no account. Typed words are encrypted with AES-GCM, using a new 256-bit key each day kept in the macOS Keychain, and the exact words are deleted after 7 days unless you choose another time. Only typed words get that encryption. For the rest, the README suggests FileVault, Apple’s full-disk encryption.
Search runs on a bundled copy of Typesense, an open-source search engine, which listens only on your own Mac. Short notes about your moments and days are written by a small Qwen model inside the app. DayDream also sends a few anonymous usage counts about once an hour. They never include your history, typed words, titles, sites or searches, and a setting turns them off.
How AI apps read it
AI apps like Claude and Cursor connect in one click, then ask it questions through a read-only MCP server with no network port. MCP is a standard way for AI apps to call outside tools. Here the AI app starts a small program and talks to it directly, so the connection stays on your Mac.
| Tool | What it returns |
|---|---|
timeline | What you did in a period, like today or this week, ending with where you left off |
search | One thing across your history: a doc, site, person or project |
details | One item in full: its visits, its notes, and the words you typed in it if you allow that |
status | Whether DayDream is set up and recording, and whether this connection works |
The tools can’t start or stop recording, change settings, or delete or send anything. What an AI app reads does go to its AI provider as part of that chat, and typed words reach it only while you leave that setting on.
Does it help? Yes, at a small cost in made-up details
AI assistants know a lot about the world and very little about you. Their built-in memory holds a handful of saved facts, not what you actually did.
Lost Thread is a published benchmark that asks each assistant 27 questions about made-up weeks, with and without DayDream. Three judges who can’t see which setup wrote an answer score whether it was right and whether it helped.
| 27 questions | ChatGPT | ChatGPT + DayDream | Claude | Claude + DayDream |
|---|---|---|---|---|
| Helpful answer rate | 18.5% | 51.9% | 3.7% | 66.7% |
| Accuracy | 27.8% | 61.1% | 13.0% | 74.1% |
| Head-to-head win rate | 14.8% | 59.3% | 11.1% | 88.9% |
| No made-up facts | 96.3% | 92.6% | 100.0% | 92.6% |
| No overclaims | 100.0% | 92.6% | 100.0% | 96.3% |
The first three rows measure whether an answer actually helped. Pick one to see it as bars.
ChatGPT
Claude
ChatGPT
Claude
ChatGPT
Claude
The models were free to skip DayDream: ChatGPT chose to use it on 16 of the 27 questions, Claude on 26.
The other two rows went the wrong way. With DayDream, both models made up a detail more often and overclaimed more often. No made-up facts fell from 96.3% to 92.6% on ChatGPT and from 100% to 92.6% on Claude. No overclaims fell from 100% to 92.6% on ChatGPT and from 100% to 96.3% on Claude. In each DayDream setup, 2 of the 27 answers contained a made-up fact, against 0 or 1 without it. An answer that declines can’t make anything up, which helps the setups without DayDream on these rows.
The test has real limits. The events go through DayDream’s own code rather than real capture on a real Mac, so it measures answering from a recorded history, not how well anything records. Each app’s real memory is approximated, in a way that is generous to the setups without DayDream, and 27 questions is a small sample. All 162 answers and every judge’s output are public, so anyone can re-grade it with a different judge.
Four answers, with and without DayDream
These are real answers from the benchmark: Claude without DayDream, then Claude with it. They are four of the 27 questions, picked to show different cases, not an average. The last tab is one where DayDream made the answer worse.
A free beta, with the code in public
DayDream is a free beta for Apple silicon Macs on macOS 15 or later, so expect bugs. The code is public, MIT licensed. It builds on open-codex-computer-history, Sparkle, llama.cpp, Qwen and Typesense.