Arc Labs
BrainDocsPricing
GitHubSign inGet Started
EngineeringOperations

Upgrading Your Extractor Without Breaking Your Memory Store

Arc Labs Engineering·May 7, 2026·14 min read
TL;DR

Extractor upgrades create mixed-version namespaces: old memories from the previous schema, new memories from the current one. The schema_version field on every memory tracks this. Three strategies exist: coexist (fastest), progressive rollout (safest), full re-extraction (cleanest). Most teams should use progressive rollout. Full re-extraction is only justified for major semantic breaks.

Extractor upgrades are the one infrastructure operation that most documentation about LLM memory systems skips. Deploy a new model, update the extraction prompt, change the type rules — these feel like configuration changes. The service restarts, the new configuration loads, and everything continues. But what actually happened is that your memory store now contains two populations: everything extracted by the old configuration and everything going forward under the new one.

These two populations don't always agree on how to represent information. A model that previously extracted "prefers Python for data work" as a preference might extract the same statement as two separate facts under a new prompt. A schema change that renames work_location to primary_office creates a vocabulary gap — entity graph queries using the old predicate miss memories created after the upgrade. The confidence calibration of a new model might be systematically higher or lower, distorting the retrieval ranking for weeks.

None of this is unique to Brain. Any system that uses an LLM to structure data faces the same problem when the LLM changes. What's different is that Brain is designed to make this problem visible and manageable, rather than letting it accumulate silently.

The schema_version field

Every memory in Brain carries schema_version: u32. Every ExtractorInfo struct (embedded in Provenance) carries extractor_schema_version: u32. These are the same number — the extractor schema version at the time of extraction becomes the memory's schema version.

pub struct Memory {
    pub id: MemoryId,
    pub schema_version: u32,  // version of the extraction schema that produced this memory
    // ... other fields
    pub provenance: Provenance,
}

pub struct ExtractorInfo {
    pub provider: String,
    pub model: String,
    pub model_version_hash: Option<String>,  // 16-char hex hash of model identifier
    pub extractor_schema_version: u32,        // same value stamped onto the memory
}

You control extractor_schema_version in your write pipeline config:

write_pipeline:
  extractor:
    provider: anthropic
    model: claude-haiku-4-5
    schema_version: 3  # increment this when you change extraction config
    custom_instructions: |
      Extract work preferences as "preference" type.
      Use snake_case predicates throughout.

When you bump schema_version from 3 to 4, all subsequent memories get schema_version: 4. All previously stored memories retain schema_version: 3. The namespace now has a mixed version distribution.

What actually changes across versions

Three things can change independently, and all three justify incrementing schema_version:

1. The model itself. Switching from one LLM to another — or upgrading to a new checkpoint of the same model — changes the extraction behavior even if the prompt is identical. Different models have different calibration, different entity naming tendencies, different willingness to extract borderline candidates. If you change provider or model in your config, increment schema_version.

2. The extraction schema. The <type_rules> and <quality_rules> sections of the extraction prompt define what gets extracted and how. If you add a new predicate, remove one, or change the type classification rules, the resulting memories will have different structure. Increment.

3. The extraction prompt. Custom instructions (<custom_rules>) affect extraction behavior. Even if the schema is identical, different instructions produce different outputs for edge cases. If you change custom_instructions, increment.

Note that none of this is recorded per memory. There is no model_version_hash and no extractor-model field on anything Brain returns — a statement carries extractorId (which extractor, 0 for a direct write) and schemaVersion, not which LLM ran behind it. If you need to attribute a claim to a model checkpoint, the mapping from schemaVersion to model config has to live in your own deployment records.

Detecting mixed-version namespaces

There is no schema_version_mismatch alert and no health API to ask — no brain.health.deep(), and no metric labelled by schema version. Nothing in the engine knows that a mixed-version space is a condition worth naming.

schemaVersion is a field on each statement, so you detect it by reading:

const counts = new Map<number, number>();
let cursor: string | undefined;
do {
  const page = await brain.listStatements({
    onlyCurrent: false,
    includeTombstoned: true,
    limit: 1000,
    cursor,
  });
  for (const st of page.statements) {
    counts.set(st.schemaVersion, (counts.get(st.schemaVersion) ?? 0) + 1);
  }
  cursor = page.nextCursor;
} while (cursor);

console.log([...counts]);   // [[3, 48201], [4, 1847]]

A mixed-version space during an upgrade is expected — it is the normal state for 24–72 hours after an extractor change. If it persists past a week, it usually means either the cutover did not complete (some write paths still use the old config) or the new extractor is failing and writes are falling back.

To tell those apart, sort by extractedAtUnixNanos and look at what the most recent statements carry: old-version rows still being written is a live write path on the old config, whereas a flat old-version count with new-version rows arriving is a finished cutover. The engine-side signal for the failure case is brain_extractor_schema_filtered_total — claims the schema rejected — which rises when the extractor and your types disagree.

Migration strategy 1: coexist

The simplest approach: do nothing. Increment schema_version, deploy the new extraction config, and let old and new memories coexist in the namespace.

When it works: The semantic differences between versions are small. You changed the extraction prompt to use more precise predicate names but the underlying meaning is the same. The entity naming conventions are compatible. Confidence calibration is close enough.

When it fails: You changed how a core concept is typed — for example, job titles were previously stored as preference memories and are now stored as fact memories. The retrieval pipeline uses type-specific filters; a query with type: "fact" now finds job title memories that didn't exist in v3 while missing them in the v3 population. Retrieval results become inconsistent by memory age.

The test: Run debugRetrieval on a sample of queries against known memories from both versions. If the ranking order looks consistent, coexist is safe. If v3 memories are systematically ranking lower for recent queries, you have a semantic break.

Migration strategy 2: progressive rollout

Route a fraction of new writes to the new extractor schema and compare quality before full cutover. This requires running two write pipeline configurations simultaneously.

write_pipeline:
  extractor:
    strategy: progressive
    primary:
      schema_version: 3
      model: claude-haiku-4-5
      # ... v3 config
    candidate:
      schema_version: 4
      model: claude-haiku-4-5
      # ... v4 config
    rollout_percent: 10  # 10% of writes go to candidate
    compare_window_days: 7
    # No `compare_metric:` — the engine publishes no precision metric to
    # compare on. Scoring the two versions is your evaluation harness's job.

During the rollout window, both extractors process their assigned turns. Brain ships no quality dashboard and no per-version precision metric, so the comparison is one you run: score a fixed query set against each version's output and keep the result beside brain_extractor_schema_filtered_total and brain_extractor_resolver_outcome_total, which are the two series that actually move when a schema change goes wrong. After 7 days, if v4 is at least as good, cut over by setting rollout_percent: 100 and removing the primary config.

When to use it: Any significant change to extraction schema or a model upgrade where you're not confident the new behavior is strictly better. The week-long comparison window catches systematic regressions before they affect the full namespace.

The cost: Roughly 10% overhead during the rollout window (10% of turns processed by both extractors). This is usually acceptable compared to the cost of a full rollback.

Progressive rollout with the same model

You can run progressive rollout even when only the prompt changes, not the model. This is useful for validating custom instruction changes — route 10% to the new instructions, compare precision, then cut over. The overhead is minimal because the LLM cost is the same either way.

Migration strategy 3: full re-extraction

Delete all memories in the namespace and re-extract from scratch against the raw conversation history. Cleanest result, highest cost and risk.

When it's justified: A breaking semantic change that makes v3 and v4 memories incompatible in a way that can't be papered over. The canonical example: you changed the entity naming convention from display names ("Priya Sharma") to ID-based slugs ("priya-sharma-arr"). The entity graph is built on entity IDs; a naming convention change requires rebuilding every entity and every relation that references them.

The process — and it is not a purge. There is no purgeNamespace, and nothing offers a soft, reversible namespace-wide delete. deleteSpace() erases the caller's space and everything under it, hard and immediate, with no restore. So "delete everything and re-extract in place" is a one-way door, and the shape that actually works is blue/green on a second space:

// 1. Record what the current space holds, for comparison afterwards.
const { spaces } = await brain.listSpaces();
const before = spaces.find((sp) => sp.space === currentSpace);
// before.memoryCount, before.sessionCount, before.lastActiveUnixNanos —
// this is the whole stats surface. There is no brain.stats() and no
// retrieval-precision figure to read.

// 2. Provision the green space. Idempotent: `created` tells you whether this
//    call made it or it already existed.
const green = await brain.createSpace({ metadata: "schema-v4 rebuild" });

// 3. Replay history into the NEW space. The old one is untouched and still
//    serving reads the whole time.
for (const session of await yourConversationStore.getAllSessions({ namespace })) {
  for (const turn of session.turns) {
    await brain.encode(
      new EncodeBuilder(turn.text)
        .actAs(namespace, green.space)
        .session(session.id)
        .occurredAt(turn.atUnixNanos)   // or a year of history lands today
        .wait(WaitMode.Derived)         // don't race the extractor
        .build(),
    );
  }
}

// 4. Compare the two spaces before cutting over.
const after = (await brain.listSpaces()).spaces.find((sp) => sp.space === green.space);
console.log("memories:", before?.memoryCount, "->", after?.memoryCount);

// 5. Cut over by pointing your application's credential at the green space.
//    `deleteSpace()` erases the CALLER's space, so the blue space is retired
//    by a client configured for it — deliberately, not as a side effect.

Comparing counts is as far as Brain will take you: there is no precision or recall figure on a space, so judge the rebuild with your own evaluation set against both spaces before you cut over. The green space costs you storage until you retire the blue one, and that is the price of the rollback being a config change rather than a restore operation that does not exist.

The risks: If your conversation history is large, re-extraction takes time and costs LLM tokens — at roughly 0.0025perextractioncall(currentHaikupricing),10,000sessionscostsaround0.0025 per extraction call (current Haiku pricing), 10,000 sessions costs around 0.0025perextractioncall(currentHaikupricing),10,000sessionscostsaround25 in LLM fees. More importantly, you can't re-extract if you don't have the conversation history. Brain stores provenance (source turn IDs) but not the turn content itself — that lives in your system. If you've pruned old conversations, full re-extraction is not available.

Rolling back an extractor upgrade

The safe rollback path:

Step 1: Lower schema_version back in your config and redeploy. New writes immediately resume with the old schema. This is instant.

Step 2: Retire the memories the new schema produced. This is the step the tooling does not help with, so it is worth being precise about.

There is no listTraces, no forgetByTrace, no restoreByVersion and no listMemories({ filter: { schema_version } }). memoryList pages by time with { limit, cursor, dir, includeTombstoned } and nothing else, and forget takes exactly one memoryId. Schema version lives on the statement, not on the memory, as StatementDetail.schemaVersion — and listStatements has no version filter either, so the selection happens client-side:

// Statements carry the schema version; filter them in your process.
const { statements } = await brain.listStatements({
  onlyCurrent: false,
  includeTombstoned: true,
  limit: 1000,
});
const v4 = statements.filter((st) => st.schemaVersion === 4);

// Retire each one. `tombstoneStatement` stops reads returning it; the row
// stays, so the supersession chain remains readable.
for (const st of v4) {
  await brain.tombstoneStatement(st.statementId);
}

Step 3: The v3 statements are still in place — they were never touched — so retrieval returns to the v3 population as soon as the tombstones land.

And the part the original of this section got backwards: a tombstone is not a reversible soft delete you can undo with one call. There is no restore verb. retractStatement and tombstoneStatement keep the row and the chain readable, which is what makes them auditable, but putting a claim back means asserting it again — createStatement, or supersedeStatement on the chain — not flipping a flag.

Which is the real argument for the blue/green space from the previous section: when the rollback unit is a space your application is pointed at, rolling back is a configuration change and nothing has to be un-deleted.

The decision table

Change typeRiskRecommended strategy
Prompt wording changes, same schemaLowCoexist
New predicate addedLowCoexist
Model upgrade, same promptMediumProgressive rollout
Type classification rules changedMediumProgressive rollout
Predicate renamed or removedHighProgressive rollout
Entity naming convention changedHighFull re-extraction
Fundamental type structure changedHighFull re-extraction

When in doubt, use progressive rollout. The 10% overhead during the rollout window is almost always cheaper than investigating a subtle quality regression three weeks later.

The schema_version field on every memory is there so you always know exactly what generated any given memory — not just "which model" but "which configuration of which model on which date." That answer is the starting point for every migration decision.

Testing an extractor upgrade before rollout

Before committing to any migration strategy, test the new extractor configuration against a representative sample of historical conversation data. Choosing a strategy based on a gut read of the config diff is how teams end up running full re-extractions they didn't budget for. A structured pre-flight test tells you which strategy is actually appropriate.

There is no dry-run write. No rememberDry, no extractor_override on a call, and nothing that runs the pipeline without persisting — validateSchema validates a schema document, not an extraction. What works instead, and costs you only a space, is to run the real pipeline into a throwaway space and read back what it produced:

// Load a test dataset: 50 conversations with known "golden" memories
const testConversations = await loadTestDataset("extractor_test_v4");

// One scratch space per configuration under test. The extractor config is
// server-side, so "v3 vs v4" means two deployments or two shards — it is not
// a per-request override.
const scratch = await brain.createSpace({ metadata: "extractor-v4 trial" });

for (const conversation of testConversations) {
  for (const turn of conversation.turns) {
    await brain.encode(
      new EncodeBuilder(turn.text)
        .actAs(namespace, scratch.space)
        .session(conversation.id)
        .wait(WaitMode.Derived)   // derivation must finish before you read
        .build(),
    );
  }
}

// What the pipeline actually produced, which is what you score.
const { statements } = await brain.listStatements({
  onlyCurrent: true,
  limit: 1000,
});
const precision = computePrecision(statements, goldenMemories);

// Tear the scratch space down when you are done. Hard and immediate.
// (Run this from a client configured for that space.)

wait(WaitMode.Derived) is the part that is easy to miss: encode acknowledges once the memory is durable, not once extraction has run, so reading statements immediately after a plain write measures an empty graph.

The golden memory set is a manually curated list of facts that should be extracted from each conversation — the ground truth for what a good extractor does. Building this set takes time: expect to spend two to three hours reviewing fifty conversations with a domain expert marking which facts are extractable. That investment pays for itself the first time it catches a regression before it ships.

Four metrics determine whether to proceed with the upgrade:

Precision — what fraction of the extracted memories are genuinely useful facts? Compute this by having an LLM judge (Claude Opus works well here) rate each extracted memory on a 1–5 scale, then treating ratings 4–5 as "useful." Precision is the fraction of useful memories in the extracted set. A drop in precision between v3 and v4 means the new extractor is generating more junk, which will accumulate in the namespace and distort retrieval ranking.

Recall — what fraction of the known-important facts from the golden set were captured? Recall is measured against the golden memories: for each golden fact, did the extractor produce a memory that covers the same information (allowing paraphrase)? Low recall means the new schema's type rules are more restrictive than intended, or the new model is less willing to extract borderline candidates. Borderline cases are often where extraction matters most.

Extraction count — did the new version extract more or fewer memories per turn? More is not always better. A v4 extractor that produces three times as many memories per turn as v3 is almost certainly extracting noise. A rough heuristic: if the extraction count per turn increased more than 40%, investigate before proceeding.

Junk rate — junk memories are memories that are syntactically valid extractions but semantically worthless: memories about the assistant's own behavior ("the user said hello"), over-broad generalizations, and memories with no retrievable context. Run the LLM judge on a random sample of 100 candidates per version and compare junk rates. Even a 5-percentage-point increase in junk rate compounds over time in an active namespace.

If v4 precision is higher with similar or better recall, proceed to progressive rollout. If v4 recall is lower, investigate whether the new schema's type rules are more restrictive than intended — often a single overly narrow type constraint is blocking a category of valid extractions that the previous schema captured implicitly.

Minimum test set size

Fifty conversations is the practical minimum for meaningful precision and recall estimates. At lower counts, sampling variance dominates: a single atypical conversation can swing precision by five percentage points. If your test set is smaller than fifty, supplement with synthetic conversations generated by an LLM instructed to cover your product domain.

Predicate vocabulary drift across versions

One of the subtler migration problems has nothing to do with which facts are extracted and everything to do with how extracted facts are labeled. An extractor trained to use snake_case predicates (works_at, reports_to) upgraded to use a new model may produce camelCase or verb-phrase predicates (worksAt, is_manager_of). The entity graph uses predicates as edge labels; a works_at edge and a worksAt edge are structurally different even if semantically identical. Queries that filter by predicate return different results depending on which version produced the memory.

This is predicate vocabulary drift: the set of edge label strings that the extractor uses changes across versions even when the underlying semantic intent stays the same. It happens because LLMs don't have hard constraints on output format unless the prompt enforces them explicitly — and prompts that didn't pin predicate formatting under v3 may produce different capitalization conventions under v4's base model.

Measure vocabulary drift before any schema upgrade reaches production:

// There is no predicateStats verb and no schema-version filter on the server.
// Page the statements and count the predicates yourself; `schemaVersion` is
// on every row.
async function predicateCounts(version: number) {
  const counts = new Map<string, number>();
  let cursor: string | undefined;
  do {
    const page = await brain.listStatements({
      onlyCurrent: false,
      includeTombstoned: true,
      limit: 1000,
      cursor,
    });
    for (const st of page.statements) {
      if (st.schemaVersion !== version) continue;
      counts.set(st.predicate, (counts.get(st.predicate) ?? 0) + 1);
    }
    cursor = page.nextCursor;
  } while (cursor);
  return counts;
}

const v3 = await predicateCounts(3);
const v4 = await predicateCounts(4);

// Top-50 vocabularies by frequency.
const top = (m: Map<string, number>) =>
  new Set([...m.entries()].sort((a, b) => b[1] - a[1]).slice(0, 50).map(([p]) => p));

const a = top(v3);
const b = top(v4);
const shared = new Set([...a].filter((p) => b.has(p)));
const jaccard = shared.size / (a.size + b.size - shared.size);

console.log(`Predicate Jaccard: ${jaccard.toFixed(3)}`);
// Above 0.8: minimal vocabulary drift, coexist is safe
// 0.5-0.8: noticeable drift, add predicate normalization
// Below 0.5: significant break, progressive rollout required

Watch brain_extractor_predicate_consolidated_total alongside this — it counts predicates the extractor collapsed into an existing one, which is the engine's own view of the same drift.

The Jaccard coefficient over the top-50 predicate vocabularies is a quick proxy for migration risk. A Jaccard above 0.8 means the two versions are using nearly the same edge labels — the coexist strategy is safe, and cross-version queries will return consistent results. Between 0.5 and 0.8, there's noticeable drift: some important predicates have changed form. Below 0.5, the vocabulary has effectively changed; memories from the two versions speak different structural languages, and the progressive rollout strategy (or full re-extraction) is needed.

When Jaccard is below 0.8, add predicate normalization to your write pipeline configuration before the new schema reaches production:

write_pipeline:
  predicate_normalization:
    enabled: true
    mappings:
      - from: ["worksAt", "works_for", "is_employed_at"]
        to: "works_at"
      - from: ["reports_to", "reportsTo", "managed_by"]
        to: "reports_to"

Normalization applies at write time: the raw predicate produced by the extractor is preserved in the raw_predicate field on the memory, and the canonical form is stored in the indexed predicate field. Retrieval queries use the canonical form, so filter: { predicate: "works_at" } returns memories from both v3 and v4 regardless of which surface form the extractor produced. Display code uses raw_predicate if it exists, falling back to predicate, so the UI shows what the extractor actually said while the data layer remains consistent.

One operational note: predicate normalization mappings are write-time-only. They don't retroactively normalize memories already in the store. If you deploy normalization after v4 has been writing un-normalized predicates for a week, you'll have a window of v4 memories with un-normalized predicate values. The fix is a one-time migration script that reads memories with un-normalized predicates and re-writes the predicate field using the normalization table.

Confidence calibration drift

A model upgrade does not only change what gets extracted — it changes how confident the extractor claims to be about each extraction. Confidence calibration is the relationship between the extractor's stated confidence and the actual probability that the extraction is correct. A well-calibrated extractor at confidence 0.75 is correct about 75% of the time. A poorly calibrated one might be correct 95% of the time at stated confidence 0.75 — or 50% of the time.

Model upgrades frequently shift calibration. A new base model checkpoint may be more conservative with confidence (most extractions cluster in the 0.4–0.65 range), while the previous checkpoint was more generous (clustering in 0.7–0.85). The practical consequence: retrieval thresholds tuned for the old calibration are now wrong. If your retrieval configuration filters out memories below confidence 0.6 and the new model marks everything below 0.7, you're discarding memories the new model considers borderline but correct — memories that would have surfaced under the old configuration.

Detect calibration drift by comparing confidence distributions across versions:

// No confidenceHistogram verb either. Same shape as the predicate count:
// page the statements, bucket `confidence` yourself, filter on `schemaVersion`.
const BUCKETS = [0, 0.3, 0.5, 0.7, 0.85, 1.0];

async function confidenceHistogram(version: number) {
  const hist = new Array(BUCKETS.length - 1).fill(0);
  let cursor: string | undefined;
  do {
    const page = await brain.listStatements({
      onlyCurrent: false,
      limit: 1000,
      cursor,
    });
    for (const st of page.statements) {
      if (st.schemaVersion !== version) continue;
      const i = BUCKETS.findIndex(
        (lo, n) => st.confidence >= lo && st.confidence < (BUCKETS[n + 1] ?? 1.01),
      );
      if (i >= 0) hist[i]++;
    }
    cursor = page.nextCursor;
  } while (cursor);
  return hist;
}

const v3 = await confidenceHistogram(3);
const v4 = await confidenceHistogram(4);

minConfidence on listStatements can narrow server-side if you only care about one tail, but there is no bucketing and no aggregation — the engine returns rows, and every distribution on this page is one you compute.

Compare the distributions visually: if the v4 histogram has substantially more mass in the high-confidence buckets (0.7–1.0), the new model is more generous. If mass has shifted toward the low-confidence buckets (0–0.5), the new model is more conservative. Either shift is a signal that your retrieval threshold needs adjustment — or that a per-version confidence scaling factor is needed.

A per-version scaling factor is a blunt but effective correction. Apply it in your write pipeline configuration for the new schema version:

write_pipeline:
  extractor:
    schema_version: 4
    confidence_scaling:
      enabled: true
      factor: 0.92  # scale down v4 confidence by 8% to match v3 calibration

The scaling factor multiplies the extractor's raw confidence before it's stored. A factor of 0.92 shifts a raw score of 0.85 down to 0.782, bringing the v4 distribution closer to the v3 distribution without changing the retrieval threshold. The factor applies to new writes only — existing v4 memories in the store keep their original stored confidence. If you've already accumulated a large body of v4 memories with inflated confidence, a one-time backfill is needed to apply the correction to existing records.

The ideal approach is proper confidence recalibration using ground-truth labels: sample 200 memories from each version, have a human annotator or LLM judge rate whether each is correct, and fit an isotonic regression to map stated confidence to empirical accuracy. This gives you a calibration curve rather than a single scaling factor. For most production situations, the simple linear scale is sufficient and can be deployed in hours rather than days.

Confidence thresholds in retrieval config

If calibration drift is severe enough that the scaling factor can't fully compensate, update the retrieval confidence threshold directly: set retrieval.min_confidence_v3: 0.60 and retrieval.min_confidence_v4: 0.65 to apply version-specific floors. This is more surgical than a write-time scaling factor because it affects retrieval without touching stored data.

Operating metrics to watch during a migration

A migration that looks clean from the configuration side can still produce silent quality regressions in the data layer. Set up dashboards for these during any migration window and keep them visible for at least 14 days after cutover.

Nothing here is labelled by schema version. There is no brain_writes_by_schema_version, so "has the cutover finished?" is not a metrics question — it is answered by reading StatementDetail.schemaVersion off a sample from listStatements and checking that nothing recent still carries the old one. If old-version statements keep appearing after the deployment timestamp, some write path did not update; the usual cause is a config deployed to a subset of instances.

brain_extractor_schema_filtered_total — claims extraction produced and the schema rejected. This is the single most informative series during a schema migration, because it is exactly the failure a version bump causes: the extractor is emitting shapes your new types do not admit. A step up at the deployment timestamp means the prompt and the schema disagree. Roll back on a sustained spike — every filtered claim is a memory you paid to extract and did not keep.

brain_extractor_drops_total and brain_extractor_apply_dropped_total — the broader drop counters, covering malformed extractor output and work shed because a channel was full. There is no JSON-failure rate series (brain_extraction_json_fail_rate does not exist); a prompt change that breaks the output contract surfaces here instead.

brain_extractor_resolver_outcome_total — entity resolution broken down by outcome, and the one to watch hardest. An Ambiguous outcome writes no link at all and logs nothing, so this counter is the only signal that a graph is quietly losing edges. The failure mode a schema upgrade causes is entity fragmentation: the new extractor starts emitting "Dr. Priya Sharma" where the old one emitted "Priya", the resolver does not match it to the existing node, and cross-session queries return incomplete results until the two are merged with mergeEntities.

brain_extractor_predicate_consolidated_total — predicates the extractor collapsed into an existing one. Reading it beside brain_extractor_items_written_total tells you whether the new extractor's vocabulary is converging on your schema or drifting away from it.

Deduplication is per-call, not a gauge. There is no brain_dedup_collapse_rate. encode returns wasDeduplicated on every write, so the collapse rate is something your own writer computes and emits. It is worth emitting: a rate far above baseline means the new extractor is re-deriving facts the space already holds, and far below means its surface forms have diverged enough that dedup no longer recognises matches. Both warrant investigation before cutover.

Precision is not instrumented at all. There is no brain_retrieval_precision_by_version and no precision figure anywhere in the 74 series — which is why the comparison in the blue/green section above is your own evaluation set run against both spaces, not a dashboard you can open.

All Engineering Posts

Updates from the lab.

Engineering notes, research drops, occasional product updates. Roughly monthly.

Arc Labs

Cognitive infrastructure for AI agents. Open core in Rust. Composable primitives you own.

GitHubX / TwitterDiscussions

Brain

  • Memory Layer
  • Documentation
  • Pricing
  • Changelog
  • Status

Developers

  • Start here
  • TypeScript SDK
  • Python SDK
  • Rust SDK
  • MCP Server

Company

  • About
  • Careers
  • Blog
  • Security
  • Contact
Encode"Priya lives in Berlin."mem_7f3a · storedRecall"where does Priya live?"→ BerlinSupersede"Priya moved to Lisbon."mem_9c21 ⊃ mem_7f3aBerlin→ LisbonARC LABSARC LABSARC LABS
© 2026 ARC LABS · BANGALOREPrivacyTermsDPAApache 2.0