Solution

Stop explaining your project in every session. Every agent remembers it.

Context Mode keeps the facts, sessions and tool output from your past work in one store on your account. Every agent on every machine reads it, so a new session starts with the current facts, not with your questions.

Pick a moment

A new session. You ask about your deploy target.

"Is our production deploy target still Hetzner?"

No. The production deploy target is now Render, in the Oregon region. It was Hetzner Cloud in Falkenstein before.

Live eval, 2026-09-29: 8 of 8 right with Memory on, without searching. 0 of 8 with no gateway and no memory (a baseline, not a test of built-in memory).

You moved hosts. The old value must stop.

FactValueValid fromUntil
production deployed_toHetzner Cloud, Falkenstein21:14:3821:15:09
production deployed_toRender, Oregon region21:15:09now
A store that only adds rows23 of 24 stale
Context Mode0 of 24 stale

Store eval, 2026-09-30: 24 facts that changed 38 times. The old row closes and stays as history.

Yesterday's session, on another laptop.

# in the project folder, on any machine
$ curl -s https://… | node   # expires in 15 min
✓ session written. Resume it in your agent.
# then it starts claude --resume or codex resume

Comes back: the latest 200 messages, a summary of older ones, and tool names.

Last week's fix, from another agent.

Search: deploy script

2 days ago · billing-api
“Why does the deploy script fail on staging?”
last week · web
$ ./scripts/deploy.sh --env=staging
last week · web
tool output, 48 KB, read back in full

Every prompt, command and tool output, from every agent and machine. Secrets are masked before storage.

Memory sends only the facts that fit the turn.

Before: six top-ranked facts262 tokens
Now: facts that fit41 tokens

Memory tokens per new conversation. Offline eval, 52 conversation openings. Facts sent: 5.96 to 1.23.

The problem

Your agent starts each session empty. You fill it again.

It forgets

You told it the deploy target on Monday. On Tuesday, in a new session, it asks again.

Two agents, two memories

Claude Code and Codex keep separate local memories. A fact you give one is unknown to the other.

Another machine, nothing to resume

Built-in resume reads a file on this computer. On a new laptop or a remote box, that file is not there.

Proof

The current value, not the old one. In fewer memory tokens.

0 of 24fact lists sent to the model held an old value, against 23 of 24 for a store that only adds rows
262 → 41memory tokens per new conversation, now that only facts that fit the turn go out
8 of 8questions answered right in new sessions with Memory on, without searching. Memory off: 8 of 8, with 9 searches. Claude Code with no gateway and no memory: 0 of 8, a baseline, not a test of its own memory.

Store eval, 2026-09-30, on 24 facts that changed 38 times. Live eval, 2026-09-29, in Claude Code. Token figures from an offline eval on 52 conversation openings, one tenant. These are small tests of the mechanism, not of recall in real use. Method and sources → How we measured the tokens →

How it works

One store on your account. Every agent reads it.

  1. 01Work as usual

    Your agent sends each request through the gateway. Context Mode keeps short facts, the conversation and the tool output.

  2. 02A fact changes

    The old row closes and stays as history. Only the current value goes out.

  3. 03Any session asks

    A new conversation gets the facts that fit the turn, in either agent, on any machine.

Claude Code on one laptop and Codex on another send requests to Context Mode. Context Mode reads the one store on your account (facts, sessions, tool output) and adds the current facts to the first request of a conversation. Then the model gets the request. Your agents Claude Code work laptop Codex home laptop Context Mode adds the current facts on the first request of a conversation one store facts, sessions, output The model Anthropic or OpenAI
Both agents, on both machines, read the same store. The first request of a new conversation gets the current facts.
Compared

Where your context lives. Your account, not one laptop.

Context ModeBuilt-in memory and resume
Reads fromYour accountA file on this computer
New laptop or remote boxWorksNothing to resume
Switch agentsYes, one storeNo, separate memories
A fact changesOld row closes, kept as historyClaude Code: you or Claude edit the file. Codex: not stated

Read 2026-09-29 and 2026-09-30. Memory compared → Method and sources →

Products used

Memory, Session resume and Search. One account.

Memory

Keeps facts from your sessions. A changed fact closes the old one. Memory docs.

Session resume

One command rebuilds a conversation as a native session on any machine. Docs.

Search

Finds last week's fix from another agent, so you do not explain it again. Docs.

Related: Instructions for rules you set once yourself · Recall for long sessions with no compaction

Explain it once. Every agent knows it.

npx @context-mode/cli connects your agents. 1,000 requests free, no card. Your own Anthropic or OpenAI account pays the model. We add no fee on tokens. See plans.

Get started free

Your coding agent costs less and remembers your project.

Start free: 1,000 requests, every feature, no card. After you sign in, the console gives you one command to connect Claude Code or Codex.

Read the docs