Skip to content
context Artifact [1a86891855]
Login

Artifact [1a86891855]

Artifact 1a86891855f563c6ce76eebc4b4509f202cfdf6bfcdfd1d006e173e85f7a1217:


Head-to-head protocol

This is the plan for comparing ctx with other tools that give a coding agent access to its past sessions. It is written before any tool is run, so the rules cannot be bent to fit a result. Changes after the first run are recorded at the bottom with their date.

The question

Given the same past coding sessions, how often can an agent answer a question whose answer exists only in those sessions, with each tool, and at what cost?

Two things are measured separately, because they fail separately:

  1. Retrieval. Does the tool's search return the session that holds the answer? No model is involved.
  2. Answers. Does an agent with the tool installed answer correctly? This depends on whether the agent uses the tool at all, which is reported as its own number.

The corpus

A public corpus built for this purpose, because the alternatives fail:

The corpus is real agent sessions, not invented ones:

The questions

The tools

Every tool is run at its defaults, at a recorded version, with the same tuning budget: none. That includes ctx: its search settings, skill and hooks are frozen at a check-in recorded before the questions are written.

Arm What it is
grep The agent has the transcripts as files and ordinary search tools.
Built-in memory The harness's own memory files and resume, nothing added.
ctx This project.
cass Local keyword search over agent sessions; also run with its embedding model.
episodic-memory Local embeddings over transcripts, searched through MCP.
agentmemory Its keyword mode, which needs no key.
TraceDecay Its session history and search.
claude-mem Only if it can load the same transcripts. If it cannot, it is listed as not runnable under this protocol rather than scored on other data.

A tool joins only if it can read the published transcripts as they are and run without a cloud account. A tool that calls a model while indexing has those calls counted.

What is reported

For each arm, on the held-out questions:

What counts as a difference

Sample sizes are small. A gap is reported as a difference only if a sign test on the paired questions gives p below 0.05; otherwise the arms are reported as level. No arm is called the winner on a gap of a few questions.

What this will not show

Changes