Skip to content

v2.1.0

Choose a tag to compare

@joslat joslat released this 07 Nov 12:54
b8121ca

Memory that looks at the calendar

"Your agent doesn't forget with an error. It forgets with a tidy answer."
— Pablo Piovano, on LinkedIn, 3 November 2026

Pablo gave three months of one person's chat to a notes file, a vector store and AgentMemory 1.9.0. Then he asked three
questions. Bruna's go-live is on Friday 11 December in Córdoba, and in November she had mentioned her sister's wedding in
Bariloche, where she'd be from the 9th to the 13th. When she asked "plan my prep for go-live week", all three memories
missed the clash, and none of them said so.

The graph had stored the go-live's date. But recall chose facts by how much their words resemble the question, and a trip
to Bariloche resembles nothing in "plan my prep". 2.1.0 adds recall that reads by date.

Thank you, Pablo, for the experiment, for publishing every prompt it produced, and for letting us bring your scenario
into this repository (three-memories-one-question, MIT).

What's new

  • Look-ahead recall. Three reads by date, each in its own section with its own budget. The retrieval judge doesn't
    filter them.
    • RecallOptions.Upcoming: for a question that looks ahead, the facts that start in the next 14 days.
    • RecallOptions.TimeWindows: the facts dated inside a period the question names ("between December 7 and 13", "next
      week") or anchors on an event ("go-live week" → the Monday-to-Sunday week of the go-live).
    • RecallOptions.OverlapExpansion: the facts that overlap in time with the dated facts recalled.
  • Dates read into date fields. LlmExtractionOptions.DatesFromText reads the dates a store-aware writer fact states
    ("on Friday, December 11", "from December 9 to December 13") into its date fields as well. The words stay as written.
    It's deterministic and makes no model call.
  • Recommended is the default.
    • AgentMemoryPresets.Choose(configuration) reads AgentMemory:Preset, with Recommended when it's absent.
    • Without a retrieval judge it runs the Conversational preset, and the memory tiers line says why.
    • The Recommended preset now includes look-ahead recall and date reading.
    • Existing registrations and the Conversational preset are unchanged.
  • tools/AgentMemory.Scenarios. Scripted scenarios, live and fully traced: every model call, span and log line.
    • It checks deterministically that each needed fact is in one item of the prompt, and that the store holds it with
      the right date.
    • Answers are logged and never graded.
    • It ships Bruna's go-live, and a busier variant with 81 more ordinary statements.

Also fixed

  • The store-aware writer checks each quote (#249).
    An operation whose quote isn't in the message isn't stored, and a found quote keeps its offsets in the memory's
    metadata. On Bruna's history, 166 of 166 quotes were found exactly.
  • The writer records what it drops (#250), with a
    reason code, on the write span and in the debug log.
  • Hybrid retrieval fuses by node (#248), so two nodes
    with the same text stay two results.
  • Ambiguous names resolve to nothing (#251). When two
    live entities match a name at the same rank, a fact or edge isn't attached to either: before, the more-mentioned one
    got it.
  • Time comes from .NET's TimeProvider (#164).
    Register one, for example FakeTimeProvider, and every component follows it. A host's own IClock registration
    still works, and IClock stays for the public constructors that take it until 3.0.

What it measured

This is Bruna's busier history: 130 statements and 119 stored facts, one run per setup, with GLM-5.3-Flash writing and
answering, the JEV judge, and bge-m3 embeddings. ✓ means every needed fact reached the prompt.

When and where is the go-live? What's on between 7 and 13 December? Plan my prep for go-live week
Vector store ✓ ✓ ✗
Recommended, without look-ahead ✓ ✓ ✗
Recommended, 2.1.0 ✓ ✓ ✓

Without look-ahead, the trip wasn't among the 50 candidates the judge sees. With it, "go-live week" resolved to 7–13
December and the trip arrived because it's dated inside that week. This is one scenario, not a benchmark.

Upgrading

  • Hosts on the Conversational preset or the low-level defaults: nothing changes. Every new capability is off there,
    and off is byte-identical.
  • Hosts on Recommended: look-ahead recall and date reading are now on. To turn them off, set them to false after
    applying the preset.
  • New APIs:
    • MemoryPreset, MemoryPresetChoice, AgentMemoryPresets;
    • AddNeo4jAgentMemory(MemoryPresetChoice, …), AddAgentMemoryGate(MemoryPresetChoice, IConfiguration);
    • LlmExtractionOptions.ApplyPreset, AgentFrameworkOptions.ApplyPreset;
    • four date reads on ILongTermMemoryService and IFactRepository, each returning empty by default.
  • TimeProvider: the library reads time from it. A registered IClock is still honoured; TimeProviderClock and
    IClock.ToTimeProvider() bridge the two. IClock goes in 3.0.
  • Name resolution: FindLiveByNameAsync returns null for a name two live entities share at the same rank.
  • No schema change.

Packages

The 2.0.0 tag's packages never reached nuget.org: the publishing key had expired. 2.1.0 is the first NuGet release
since 1.9.0
, and it includes all of 2.0.0: ampack memory packs, the Extensibility module SDK, the store-aware writer
and the judged retrieval gate behind the Recommended preset, and a trust boundary on every MCP surface. See the
CHANGELOG for both sections.

The paper behind 2.0.0

The ampack format and its trial-gated activation are described in a preprint: José Luis Latorre Millas, ampack: signed, declaratively traversable memory packs for AI agents, with trial-gated activation, 2026, doi:10.5281/zenodo.24012989 (CC BY 4.0). The evidence behind it, with the means to check it, is attached to the 2.0.0 release.