AbilitiesMemory

Memory

Harness remembers what matters about you so it gets more useful the more you use it. Memory is private and on-device by default.

What it remembers

As you work together, Harness saves durable facts about you: your preferences, your role, what you are working on, the people and projects that keep coming up, and corrections you give it. It saves the distilled fact, not your raw messages, and it does not save fleeting things like the contents of a one-off screen.

You never have to say “remember this.” Harness decides what is worth keeping. You can still tell it to remember something explicitly, and you can always view, edit, delete, or export everything it holds.

Corrections

When you correct Harness, that correction is weighted heavily. It is the strongest signal you can give about how you want things done, and it shapes the profile Harness builds of you.

How it works

Your memory lives in a real database that runs inside your browser: PGlite, which is PostgreSQL compiled to WebAssembly, running in a worker and backed by the browser’s own storage. It is not a key-value cache. It is a full relational store with vector search, on your device.

Each memory is embedded with an on-device text embedding model, so recall is semantic: Harness finds what is relevant by meaning, not just keyword match, and combines that with lexical search for exact terms. The same embedding model is used whether memory runs on-device or on the server, so your stored vectors stay compatible across both.

On each turn, Harness recalls the memories relevant to what you are asking and injects them into its context so they shape the answer. Separately, a consolidation pass periodically distills your accumulated memories into a short, bounded profile of you (how you like answers, your recurring context, your hard preferences) that guides its tone and decisions. Corrections are pulled to the front of that pass so they carry the most weight.

See Models for the embedding model this uses.

Where it lives

Your memory never leaves your device unless you turn on encrypted backup, a Resident feature that protects your memory from browser storage eviction and lets you sync across devices. The backup is encrypted with a key derived from a passphrase only you hold; lose the passphrase and the backup is unrecoverable, by design. See Privacy & your data.