Patina

•

Provides affect-weighted persistent memory for LLM agents, where forgetting is a designed operation rather than a side effect.

Patina offers an advanced memory solution for LLM agents, addressing the common challenge of agents losing context or being overwhelmed by an ever-growing, undifferentiated memory store. It introduces a sophisticated system where memories carry emotional coordinates and a dynamic weight, allowing forgetting to be a deliberate, policy-driven process. Memories decay based on importance, recall frequency, recency, and emotional intensity, ensuring that only the most relevant information remains readily accessible while less critical data is archived but still retrievable. This enables LLM agents to maintain a nuanced, evolving understanding of their interactions and tasks, akin to human memory.

主要功能

01Hybrid retrieval combining dense vectors, trigram search, and graph expansion
02Write-time deduplication to collapse near-identical memories and supersede predecessors gracefully
030 GitHub stars
04Configurable decay policies for different memory types, ensuring milestones persist and promises hold weight
05Mood-congruent recall that biases results towards memories matching a specified emotional valence
06A three-dimensional self-model representing the agent's identity, user understanding, and relationship dynamics

使用案例

01Building a long-term digital twin that models a single person's memories and evolution over years
02Managing persistent memory for LLM assistants working on specific projects
03Providing a unified memory backend for multiple client interfaces like claude.ai, Claude Code, and custom agent loops