SaveState v0.9.0: Memory Governance Your Agents Actually Need

Your AI agent remembered something wrong. Now it's confidently wrong across every session. Sound familiar?

SaveState v0.9.0 tackles the hard problems of AI memory: not just storing state, but governing it. This release introduces memory lifecycle controls, retrieval explainability, and privacy guarantees that production agents demand.

Memory Lifecycle Controls

Memories aren't permanent. They need mutation, correction, expiry, and audit trails. v0.9.0 gives you full control:

import { SaveState } from '@savestate/cli';

const ss = new SaveState();

// Set memory with expiry and audit metadata
await ss.memory.set('user_preference', {
  value: 'dark_mode',
  expiresAt: '2026-06-01',
  source: 'user_settings_v2',
  confidence: 0.95
});

// Correct a memory with full audit trail
await ss.memory.correct('user_preference', {
  value: 'light_mode',
  reason: 'user_override',
  previousValue: 'dark_mode'
});

// Query the audit history
const history = await ss.memory.audit('user_preference');
// Returns: [{ action: 'set', timestamp, ... }, { action: 'correct', ... }]

"Why This Memory?" Explainability Inspector

When your agent retrieves a memory, you need to know why. The new explainability inspector shows retrieval reasoning, confidence scores, and the decision path:

const result = await ss.memory.get('user_preference', { explain: true });

console.log(result.explanation);
// {
//   retrievedFrom: 'L1_cache',
//   confidence: 0.95,
//   matchReason: 'exact_key_match',
//   alternatives: [...],
//   decisionPath: ['L1_lookup', 'freshness_check', 'confidence_threshold']
// }

No more black box memory retrieval. Every decision is traceable.

Privacy by Default

PII redaction, deny-list policies, and deletion guarantees are now first-class features. When GDPR or CCPA comes knocking, you're ready. Memories can be tagged, filtered, and purged with cryptographic proof of deletion.

Production Reliability

The new multi-tier memory architecture (L1/L2/L3) optimizes retrieval performance. The failure antibody system detects cascading failures before they spread. Checkpoint validation quarantines low-confidence entries automatically.

Your agents stay reliable even when individual memories fail.

Get Started

Upgrade now:

npm install -g @savestate/cli@latest

Or if you're new:

curl -fsSL https://savestate.dev/install.sh | sh

Full release notes and migration guide at savestate.dev/changelog.

Your agents have memories worth protecting. SaveState makes sure they're governed, explainable, and production-ready.