Skip to content

Roadmap

Experimental. The API is not stable and nothing here is wired into a database engine yet. What may change.

The order of work follows one question: what does a database that embeds this index for agent memory need from it? The list is ordered by that need. It has no dates. Each item is a GitHub issue with a problem statement, an acceptance test, and an explicit out-of-scope list. What exists today is in STATUS.md, and the architecture is in DESIGN.md.

What a host needs

A host is the database that runs the index in its own process. These are the properties that decide whether an index fits a host, as opposed to fitting a benchmark:

  • A committed vector is found by the next query, exactly, also across a seal, a merge, or a swap.
  • Update and delete stay correct when the host reuses a record id.
  • A batch of adds and deletes becomes visible as a unit.
  • The index survives a crash and reopens without a full rebuild, and a damaged file is detected, never trusted.
  • A filter from the host's query language (an allowed set of ids) is fast and correct at every selectivity.
  • Memory is bounded, and the host, not the index, owns threads, build concurrency, and the memory budget.
  • Rebuild and merge cost does not stall queries while writes continue.
  • Small and medium collections work well by default, with few knobs.
  • It runs on the JVM and in a native image.

What agent memory needs next

The target is to be a good index, and if the measurements allow it the best one, for the memory of an agent inside a database: continuous creates, reads, updates, and deletes. RELATED-WORK.md (2026-11-28) found that tiervec cannot claim this today, and AGENT-MEMORY-BENCHMARK.md defines the measurement that could. The order below follows that review. The new items are in the milestone agent-memory workload. A result that favors another design changes the design, breaking changes included.

Step Question Issues
1 What happens to recall, freshness, latency, write cost, memory, and restart under churn, and against a live graph, JVector, and Lucene? #159, #160
2 Do answers and recall hold under a steady stream of changes? Snapshot reads for batches, and the update rules of long-lived graphs #163, #161, #16
3 Is filtered search good at every share, also for filters that follow the data? #162, #12
4 Can a host keep thousands of collections, and restart without sealing first? #165, #158
5 How much memory does a row need? #164, #72, #73, #74
6 Which merge layout and merge mode cost least at equal recall? #4, #16

Now

Decisions and tests that the rest of the work depends on.

  • #4: Choose the default merge policy: one large segment plus a small recent one
  • #5: Tests for record-id reuse and tombstone correctness across seal and merge
  • #6: Specify the segment file and the manifest
  • #7: Define the id epoch and the replay protocol for a host. Page: ID-EPOCH-AND-REPLAY.md. The epoch, the snapshot rebuild, and the replay in open are built, see STATUS.md.
  • #8: Document the host contract in docs/PROVIDER-CONTRACT.md. Page: PROVIDER-CONTRACT.md.

Next

Library work that follows from the items above. CI already runs the fast and the slow tests on JDK 21 and 25, so there is no separate item for that.

  • #9: Serialize sealed segments with a manifest, and reopen without a full rebuild. First cut: SEGMENT-FORMAT.md. A memory-mapped reader of the vector section is built and off by default (Mapped vectors); lazy verification is not planned; both were decided in #27. Tombstones for deleted and replaced ids are built. The host replays the tail through open with a record source (#7).
  • #10: Atomic apply(batch): adds and deletes become visible together. TieredIndex.apply and TieredIndex.awaitCapacity are built, see STATUS.md.
  • #11: Search context with a deadline and cancellation. SearchContext is built, see STATUS.md.
  • #12: Allowed-id filters: measure the selectivity range and add fast paths. The size hint (SizedIdFilter) and liveCount are built; the study that sets the thresholds is not done.
  • #13: Host-owned executor, build permits, and memory budget instead of own threads. HostEnv is built, see DESIGN.md. The estimate of the merge peak has not been compared with measurements.
  • #18: Configuration map, fingerprint, capability bits, and contract version. Config.toMap, fromMap, fingerprint, reconfigure, contractVersion, capabilities, metrics, health, and the unchecked exceptions are built, see DESIGN.md.
  • #14: Scalar twin of the graph kernel. Kern follows the same once-per-JVM switch as the flat kernels, so the graph and the tier also run without the Vector API module.
  • #15: Native-image build and smoke test in CI. The job native image smoke builds an image of the library with a small program that covers the flat, IVF, graph, and tiered indexes without the Vector API and compares every answer with an exact scan; the jobs native image smoke (vector, ...) do the same with the fp32 dot and squared L2 (#44) and the int8, SQ8, and block16 kernels (#48) on the Vector API. Segment files and concurrent writers are not in it.
  • #16: Merge by insertion into the largest segment
  • #17: Crash and corruption tests for the segment format

Later

One tracking issue with a checklist: #19: Later: work that waits until the host contract holds

It covers 1-bit and 4-bit quantization schemes, IVF as a segment format, an on-disk graph, and other language bindings. Each item becomes its own issue when it is promoted.

How to read measurements

The harness is in the repository (BENCHMARKS.md), and the result files committed so far are listed in EVIDENCE.md. A single run (n=1) is descriptive: it shows what happened, not what usually happens. A claim of a 1.3x difference or larger needs at least five runs, each in a fresh JVM, and a smaller difference needs more. Every study states its claim, its arms, its number of runs, and the bound it must meet before it runs. Memory figures say which unit and which counter they use, and latency figures say whether the JIT was warm.

Non-goals

  • A server. The index is a library that runs in the host's process, with no network between the host and the index.
  • A query language. The host parses SQL, Cypher, or anything else, and hands the index vectors and allowed-id sets.
  • Its own persistence of records. The host's records are the source of truth, and everything the index stores is derived and can be rebuilt from them.
  • GPU index builds or search.