This release includes 1 breaking change for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
Affected surfaces
Summary
AI summaryUpdates Observability, What's included, and What's new in v0.2.0 across a mixed release.
Full changelog
betterdb-agent-memory v0.2.0
Long-term memory tier for AI agents backed by Valkey Search — semantic recall
with recency/importance ranking, scoped capacity eviction, and consolidation.
Pairs with betterdb-agent-cache.
What's new in v0.2.0
- Opt-out anonymous usage analytics (PostHog). Disable with
BETTERDB_TELEMETRY=false(or0/no/off), or per-instance via options.
Instance id is an anonymous UUID persisted in Valkey; no payload data is sent.
Requires Valkey 8+ with the valkey-search module (vector index support).
Works with ElastiCache for Valkey, Memorystore for Valkey, and MemoryDB.
Built on betterdb-valkey-search-kit
and betterdb-agent-cache.
Installation
pip install betterdb-agent-memory
What's included
MemoryStore (long-term tier)
| Method | Description |
|---|---|
| ensure_index() | Create or attach to the memory vector index |
| remember(...) | Persist a memory with embedding, scope, tags, and importance |
| recall(...) | Semantic recall ranked by similarity, recency, and importance |
| recall_by_vector(...) | KNN recall from a precomputed vector |
| reinforce(id) | Bump importance / recency on an existing memory |
| forget(...) | Delete memories by id or filter |
| consolidate(...) | Merge and summarize related memories |
| get(id) / list(...) | Read-only fetch and scoped, paginated listing |
| stats() | Doc count, evictions, and live config |
Scoped capacity eviction, live config refresh, and discovery are built in.
AgentMemory facade
Convenience facade over betterdb-agent-cache combining the exact-match cache
tier with the long-term memory tier.
Observability
- OpenTelemetry spans on every memory operation
- Prometheus metrics for recall latency and eviction counts
Full changelog
See the repository history for detailed changes.
Breaking Changes
- Requires Valkey 8+ with the valkey-search module; older versions are unsupported.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About BetterDB-inc/monitor
Valkey-first observability with Redis compatibility. Query real-time metrics, analyze slow commands, detect hot keys, and investigate performance issues directly from AI coding assistants.
Related context
Related tools
Earlier breaking changes
- vagent-cache-py-v0.7.0 Cache keys changed for tool-using requests on the LlamaIndex adapter; existing cached entries will miss once after upgrade.
- vagent-cache-v0.7.0 Cache keys for tool-using requests changed on Vercel and LlamaIndex adapters; existing entries become one-time misses.
- vagent-v1.5.0 TLS is now mandatory; agent exits with error if `--valkey-tls true` is not set for IAM auth mode.
Beta — feedback welcome: [email protected]