Engram Blog · Published December 1, 2026

Engram Now Saves Your DeepSeek Harness Sessions

If you code with DeepSeek Harness (dsh), the Engram CLI now keeps a word-for-word copy of every session, next to your Claude Code and Codex ones. Here is how to turn it on, what it saves, and what it leaves out.

A few days ago someone wrote to us with a three-word request: DeepSeek Harness, please. It was a fair ask, so we built it.

From version 0.7.2, the Engram command-line tool saves your DeepSeek Harness sessions, the same way it already saves Claude Code and Codex ones. DeepSeek Harness is DeepSeek's coding agent for the terminal. Its command is dsh.

The short version

  • Install or update the Engram CLI to 0.7.2 or later, sign in, and start it.
  • It finds your dsh sessions by itself and saves what you typed and what the assistant answered, word for word.
  • Sessions from Claude Code, Codex and DeepSeek Harness land in one account, and one search covers all of them.

Why keep a copy

A long coding session holds a lot that never reaches the code: why you picked one approach, what you tried first, the thing you ruled out on purpose. A terminal agent keeps that for as long as the session fits in its context, then shortens it, and the next session starts from nothing.

DeepSeek Harness writes a log of each session to your disk. Engram reads that log and keeps a copy in your account, so the exact words are still there next week, on another machine, or in a different tool. We wrote more about how this fits together in how Engram plugs into your AI's harness.

How to turn it on

  1. Install the CLI, or update it if you already have it:
    npm install -g @getengram/cli
    On a Mac with Homebrew, brew tap get-engram/engram and brew install engram do the same.
  2. Sign in with engram login. If you have no account yet, engram signup makes a free one.
  3. Start it with engram start. To have it start whenever you log in to your computer, run engram install as well.
  4. Run engram status. Under Hosts you should see DeepSeek Harness marked as capturing.

There is nothing to set up inside dsh. Engram watches the folder where it keeps its sessions, ~/.dsh/sessions, or $DSH_HOME/sessions if you moved it. If status says “not installed”, that folder does not exist yet. Run one dsh session, then restart Engram with engram stop and engram start.

It runs on any Node version the CLI supports, on macOS, Linux and Windows. The CLI docs cover every command.

What it saves

  • Your messages, as you typed them.
  • The assistant's replies, as it wrote them.
  • Which folder the session ran in, so you can tell projects apart.

Each dsh session becomes one conversation in Engram. If you are offline, messages wait in a queue on your machine and go up when you are back.

What it leaves out

  • The model's reasoning, tool calls and tool output. Only the conversation itself is kept. File contents and command output that passed through a tool are not saved.
  • Text the harness adds for you. Things dsh puts into the conversation by itself, such as runtime context or a plugin's instructions, are skipped.
  • The copied part of a fork. When you fork a session, the new one starts with a copy of the old one. Engram saves only what is new, so nothing is stored twice.
  • Folders you exclude. Run engram exclude add in a folder and sessions there are not saved. More on that in controlling what Engram remembers.

One thing to know: we tested this against a large set of recorded dsh session logs, in both the plain and the compressed format. It is new, though. If a session of yours comes out wrong or does not show up, please tell us.

Searching it later

From the terminal:

engram search "why did we drop the retry queue"

Search works by meaning, so you do not need the exact words. It also works from any AI tool you have connected to the same Engram account. Ask Claude or ChatGPT what you decided in a dsh session last month and it can look it up and quote it back.

What it costs

Capture is included on every plan. The free plan holds 10,000 messages and never expires. Pro is $9 a month for 1,000,000 messages. Everything you save can be exported again, on every plan.

Get started

Install the CLI, run engram start, and keep using dsh as you do now. If you do not have an account, create a free one or run engram signup.

Is there another tool you want Engram to save? This one started as a three-word email. Write to hello@getengram.app.