Agent Tool Radar

Agent Tool Radar field guide

Choose coding agent memory by what must be remembered

Coding agent memory is useful when it preserves the right context and lets you correct it. Separate durable project rules, session continuity and retrieved facts before choosing a memory tool. Storing more text is not the same as remembering the current truth.

Three different jobs hide behind “memory”

Project instructions describe how work should be done: the supported test command, repository boundaries or a required review step. Session continuity describes what happened in an ongoing task. Retrieval supplies facts from a larger store when needed. These have different owners, lifetimes and failure modes.

Claude Code documents project instruction files and auto memory as distinct mechanisms. Its documentation is the right source for current loading rules and controls. The MCP reference memory server is a different building block: a local knowledge graph containing entities, relations and observations, accessed through tools. It is not a universal replacement for a client’s native memory.

For agent memory tools, begin with the smallest durable representation that can answer the actual question. “Which package manager does this repository use?” may belong in a short project guide. “Which services depend on this contract?” may require linked architecture records. “What was I doing ten minutes ago?” may be handled by the existing session.

Three different jobs hide behind “memory”
Context typePractical homeMain failure to prevent
Team-wide working rulesVersioned project instructionsOutdated commands presented as mandatory
Current task progressTask notes or native session continuityA stale handoff mistaken for current state
Decisions with evidenceVersioned decision records or governed retrievalUnsupported conclusions losing their source
Relationships across many entitiesScoped graph or retrieval storeCross-project leakage and stale relations

Worked example: remembering a database migration

A team is moving a background job from one queue to another. During planning, the agent records that the old consumer must remain available until deployment completes. Two weeks later, the migration is finished. If memory preserves only the sentence “keep the old consumer,” future work may reintroduce a component the team intentionally removed.

Instead, create a decision record with a status, date, scope and pointer to the deployment evidence. During the migration, mark the compatibility rule active. After rollout, update the record to completed and record what replaced it. A retrieval answer should show the current status and supporting record, not just quote the oldest matching sentence.

The distinction is operational: a general instruction says to check migration status before removing consumers; the decision record says which migration is complete; the task note says what remains today. Keeping these separate lets the agent follow a stable procedure while the underlying facts change.

Illustrative decision record
Subject: billing-jobs queue migration
Status: completed
Scope: billing worker and producer
Decision: new jobs use the replacement queue
Evidence: versioned deployment record and migration PR
Supersedes: migration-period dual-consumer requirement
Owner: billing platform team
Recheck when: producer or worker deployment model changes

Design the write path before adding retrieval

Decide who can add, edit, delete and export memory. For shared engineering facts, prefer reviewable writes with an identifiable source over silent accumulation. A proposed record from a chat can remain a draft until a maintainer confirms it. Make corrections possible without rewriting historical evidence or pretending that a disproven assumption was always true.

Choose a project identifier that stays stable across renamed folders and separate organizations or clients deliberately. Specify whether a store is personal, repository-specific or team-wide. A successful search result from the wrong project is a serious failure even when its text looks plausible.

A memory lifecycle with correction
  1. Observe

    Capture a useful fact with a source and project scope.

  2. Validate

    Confirm its status, owner and expected lifetime.

  3. Retrieve

    Return the relevant record with provenance.

  4. Reconcile

    Correct, supersede or delete when the underlying fact changes.

Recommended editorial workflow. A particular memory server may not implement all governance fields natively.

Evaluate privacy and retrieval quality separately

A local memory file can still enter model context, backups, logs or synchronization. A hosted store introduces another operator and its own retention and access controls. Trace where data is stored and where retrieved text is sent. Do not store API tokens, personal customer records or full incident logs merely because they might help a future answer.

Test a small representative set of questions: a current decision, a superseded rule, an ambiguous project name and a fact that was never recorded. Good behavior includes returning “not found” or asking for scope. If the system confidently fills gaps, adding more historical notes can increase apparent authority without repairing accuracy.

Troubleshoot forgetting, contamination and stale answers

If the agent forgets a rule, first determine whether it was ever written durably and whether that client loads the chosen location. If a graph search misses an entity, inspect naming and query behavior before adding duplicate records. If a fact appears in the wrong project, stop broad retrieval and correct the namespace or access boundary.

If deleted information returns, inspect every copy: source documents, indexes, embeddings, exported backups and native session context. Deleting one observation does not establish end-to-end erasure. Document the actual deletion behavior of the chosen product and verify with a new session. Keep long-term memory useful by reviewing obsolete records when the underlying system changes.

Documentation reviewed 2026-11-02 · Agent Tool Radar editorial. Source-based guidance; no independent benchmark implied.

Original sources