Skip to main content

Reconcile

A pluggable memory layer for LLM agents that fixes a gap in every major alternative (Mem0, Letta/MemGPT, Zep): none of them verify that a fact retrieved and injected into an agent's context was actually used. This does.

What it does

  • Write-time contradiction resolution — a new fact about the same (tenant, subject, predicate) supersedes the old one instead of both floating in the store forever. O(1) via an index, not a linear scan.
  • Hybrid retrieval — TF-IDF similarity + subject-match bonus, scoped per tenant.
  • Usage verification — after a fact is injected into an agent's context, checks whether the response actually reflects it (not just whether the right words appear, but whether they're framed as current state vs. a suggestion, with an optional semantic-similarity fallback for paraphrases).
  • Multi-tenant access control — TenantScopedStore enforces caller→tenant authorization, not just a partition key.
  • Rule-based extraction — a regex fallback for turning raw text into facts when no LLM is available (explicitly not a replacement for one).
  • Thread-safe writes — a lock around the contradiction-check-and-write.

Status

65/65 tests passing. This is a validated prototype, not a production system — every known limitation is documented in STRESS_TEST_SUMMARY.md, SCALE_NOTES.md, and PARAPHRASE_CALIBRATION.md, and several tests exist specifically to pin known gaps rather than hide them (search test files for known_gap / known_limitation).

Install

Release files for reconcile-agent-memory 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reconcile-agent-memory 0.1.2
File Size Uploaded
reconcile_agent_memory-0.1.2.tar.gz 21.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reconcile-agent-memory 0.1.2
File Interpreter ABI Platform
reconcile_agent_memory-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / reconcile_agent_memory-0.1.2.tar.gz

Download URL reconcile_agent_memory-0.1.2.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e397d8ffb40858563c82bb9981bb9b4b5468b44fc4d1ea0da6a4ed6fab470c69
BLAKE2b-256 checksum
How to use checksums
cd29e9e564326093c6e161d2f47422c36db7391c0294e25382a07e24747cb040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / reconcile_agent_memory-0.1.2-py3-none-any.whl

Download URL reconcile_agent_memory-0.1.2-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
875195d699a237e8557fc7dda80283ad0e620f21c79759762361c1808953d2da
BLAKE2b-256 checksum
How to use checksums
224a55da037a483686b067d08ac485f77b5eb38cbb166a8cefe985eeb15f6b9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page