Zaxy 2.5 and 3.0 Latent Memory Roadmap Design

Purpose

Zaxy 2.5 and 3.0 move agent memory deeper toward long-term contextual understanding, continual learning, and memory-coupled reasoning while preserving Zaxy's core architectural claim: Eventloom-backed, cited, temporal memory is the authority layer.

The goal is not to pretend that an external memory system can rewrite a frontier model's hidden activations or run end-to-end gradient updates through OpenAI, Anthropic, DeepSeek, or similar closed providers. The goal is to build the strongest production-grade outside-the-model approximation of durable latent memory:

The guiding rule is:

Latent memory may influence reasoning. Event-sourced Memory Checkout authorizes claims.

Research Anchors

This roadmap should stay close to current academic work without copying any one paper's assumptions into production.

These anchors imply a practical direction: Zaxy can move toward latent participation in reasoning from the outside, but it must keep the latent layer derived, versioned, reviewable, and discardable.

Release Positioning

Zaxy 2.5: Cited Latent Projection Layer

Zaxy 2.5 introduces latent artifacts as rebuildable projections. This is the production-realistic release. It adds dense and compact memory state, but keeps the model-facing trust boundary unchanged.

Primary thesis:

Zaxy can synthesize compact latent memory from cited temporal state and use it to improve reasoning context without making latent memory authoritative.

Zaxy 3.0: Memory-Coupled Reasoning Runtime

Zaxy 3.0 makes memory management an active part of the agent reasoning loop. This is the deeper cognitive-runtime release. It adds prospective simulation, retrospective credit assignment, policy feedback, and optional local-model experiments.

Primary thesis:

Agents should learn when and how to use memory through observable memory actions, while Zaxy records, evaluates, and constrains those actions with replayable provenance.

Current Architecture Fit

The roadmap does not require replacing the current architecture.

Current Zaxy properties that must remain true:

The latent layer fits as another projection layer:

Current Embedded Kuzu Shape

The current embedded Kuzu implementation uses a compact physical schema:

The embedded backend currently represents semantic edge types through RELATES.relation_type rather than many physical relationship tables. Keyword, vector, and traversal indexes are built primarily as Python-side read indexes over Kuzu rows.

This means the first latent projection can use the existing Entity + RELATES pattern without a risky schema expansion. A later stable version can add dedicated tables if evidence shows the generic projection shape is too opaque or too slow.

Zaxy 2.5 Architecture

Latent Artifact Contract

A latent artifact is a derived memory object that may influence retrieval, ranking, planning, or reflection. It is not authoritative truth.

Minimum fields:

Artifact Types

episode_latent

procedure_latent

failure_latent

causal_latent

preference_latent

memory_weave

retrieval_policy_latent

Projection Shape

For 2.5, latent artifacts should be projected through the existing compact Kuzu shape:

The sidecar artifact store should hold dense payloads when payloads are too large or backend-specific:

The artifact store must be rebuildable from Eventloom plus projection config. If it cannot be rebuilt, it is cache, not memory.

Prospective Pass

The prospective pass runs before a planning or execution step.

Inputs:

Outputs:

Rules:

Retrospective Pass

The retrospective pass runs after a task, answer, failure, or checkpoint.

Inputs:

Outputs:

Rules:

Memory Weave Contract

A memory weave is the 2.5 bridge between retrieval and latent participation. It is a bounded model-facing bundle constructed from latent artifacts plus cited evidence.

Required fields:

The model-facing guidance must be explicit:

Zaxy 3.0 Architecture

Memory Actions as Agent Policy Surface

Zaxy 3.0 exposes memory operations as first-class actions that an agent can call during reasoning:

Every action must append or reference Eventloom events so the memory policy is auditable and replayable.

Forward-Pass Thinking

Forward-pass thinking is not a literal gradient forward pass through the base model. It is an external prospective reasoning pass over memory state before the agent acts.

Capabilities:

3.0 should make forward thinking iterative:

  1. propose candidate plan;
  2. weave memory for that plan;
  3. check causal/procedural/failure priors;
  4. revise or accept the plan;
  5. record the memory actions that influenced the decision.

Backward-Pass Thinking

Backward-pass thinking is not a full backward pass through a closed model's parameters. It is outcome-driven credit assignment over the agent trace and memory decisions.

Capabilities:

3.0 should make backward thinking structured:

  1. bind the outcome to a trace and memory weave;
  2. classify success, partial success, failure, or unknown;
  3. compare cited evidence against final answer or task result;
  4. assign credit or blame to memory actions with confidence;
  5. emit reviewable updates and replayable feedback.

Continual Learning Loop

The 3.0 continual learning loop is event-sourced and reversible:

  1. observe outcome;
  2. run retrospective pass;
  3. append feedback and proposed updates;
  4. update latent projections;
  5. optionally train or tune local scorers/adapters from accepted replay data;
  6. evaluate against regression gates;
  7. promote only when review and benchmark criteria pass.

Allowed learning targets:

Disallowed by default:

Optional Local-Model Integration

3.0 may include experimental local-model paths because Zaxy users can control Ollama or custom inference stacks.

Possible paths:

These must remain optional and clearly labeled experimental. They must not be required for the core Zaxy trust contract.

Evaluation Plan

Existing gates remain mandatory:

New 2.5 evaluation lanes:

New 3.0 evaluation lanes:

Claims must be labeled carefully:

Non-Goals

Zaxy 2.5 and 3.0 do not aim to:

Risks

Authority Leakage

Latent artifacts may cause agents to rely on plausible but uncited context. Mitigation: Memory Checkout must surface citations for claims and label latent-only material as suggestive.

Temporal Flattening

Dense vectors can blur old and current state. Mitigation: every artifact carries validity windows, supersession metadata, and stale diagnostics.

Non-Replayable Learning

Adapters or policy updates can become opaque. Mitigation: learned changes must reference replay data, config, model versions, and rollback state.

Context Bloat

Latent memory can become another pile of context. Mitigation: memory weaves have strict token budgets and must prove token-efficiency lift.

Benchmark Drift

New layers can accidentally tailor behavior to known benchmark cases. Mitigation: only class-level functionality changes are allowed, with documented general behavior and regression tests.

User Trust

More powerful memory can feel invasive or uncontrollable. Mitigation: expose artifact inspection, invalidation, stale markers, and authority boundaries in CLI, MCP, and dashboard surfaces.

Increment Plan

2.5-alpha.1: Latent Artifact Contract

Scope:

Exit criteria:

2.5-alpha.2: Prospective and Retrospective Pass MVP

Scope:

Exit criteria:

2.5-beta.1: Latent Retrieval and Policy Scoring

Scope:

Exit criteria:

2.5-rc.1: Production Freeze

Scope:

Exit criteria:

3.0-alpha.1: Memory Actions Runtime

Scope:

Exit criteria:

3.0-alpha.2: Forward and Backward Reasoning Loops

Scope:

Exit criteria:

3.0-beta.1: Continual Learning Policy

Scope:

Exit criteria:

3.0-beta.2: Optional Local-Model Experiments

Scope:

Exit criteria:

Acceptance Criteria

This roadmap is accepted when: