Skip to content

Squish v1.1.5 - Universal Memory for AI Agents

Choose a tag to compare

@michielhdoteth michielhdoteth released this 13 Apr 03:47
· 208 commits to master since this release

What's New in Squish v1.1.5

Universal persistent memory for AI agents - now with encryption, graph associations, and memory lifecycle management.

Major Features

Client-Side Encryption

  • AES-256-GCM encryption for sensitive memories
  • squish_set_passphrase - Set encryption passphrase
  • squish_rotate_key - Rotate passphrase and re-encrypt all memories
  • Optional encryption via SQUISH_ENCRYPTION_PASSPHRASE env var

Graph-Boosted Retrieval

  • Memories linked by coactivation count
  • Associations boost search relevance via Reciprocal Rank Fusion
  • Configurable graph boost weight via SQUISH_WEIGHT_GRAPH_BOOST (default: 1.5)

Memory Lifecycle

  • Automatic tier promotion/demotion based on importance
  • Tier system: hot (recent) → warm (accessible) → cold (archived) → expired
  • Cron-based decay scheduler via SQUISH_LIFECYCLE_DECAY_CRON

Supabase/PostgreSQL Support

  • Full PostgreSQL backend via Supabase
  • Uses @neondatabase/serverless and pgvector
  • Auto-detects when SUPABASE_URL and SUPABASE_SERVICE_KEY are set

New Environment Variables

  • SQUISH_ENCRYPTION_PASSPHRASE - Encryption passphrase
  • SQUISH_DECAY_THRESHOLD - Decay threshold (default: 0.1)
  • SQUISH_LIFECYCLE_DECAY_CRON - Decay cron schedule
  • SQUISH_WEIGHT_GRAPH_BOOST - Graph boost weight (default: 1.5)
  • SUPABASE_URL - Supabase project URL
  • SUPABASE_SERVICE_KEY - Supabase service key
  • NEON_PROJECT_ID - Neon project ID
  • NEON_SERVICE_KEY - Neon service key

MCP Tools (18 total)

Core: squish_remember, squish_search, squish_recall, squish_forget, squish_update
Context: squish_link, squish_context, squish_learn, squish_note
System: squish_health, squish_stats, squish_recent, squish_stale
Management: squish_confidence, squish_pin, squish_tag
Security: squish_set_passphrase, squish_rotate_key

Installation

npx add-mcp squish-memory

Or traditional install:

bun add squish-memory

Links