Skip to content
reaatechREAATECH

reaatech/agent-memory

0Last commit: May 11, 2026GitHub →

These packages provide a managed long-term memory layer for AI agents, handling the extraction, storage, and retrieval of facts and preferences. You would adopt them to move beyond simple vector search by implementing active lifecycle management, including automated decay, contradiction resolution, and importance-based retention. The system is built as a modular set of providers and policies, allowing you to swap storage backends like PostgreSQL or integrate custom retention rules while maintaining a unified interface for agent state.

Packages

9 packages

@reaatech/agent-memory

v0.1.0
Provides a unified interface for managing AI agent long-term memory, including automated fact extraction, semantic retrieval, and lifecycle policies. It exposes an `AgentMemory` class that integrates storage backends, embedding providers, and LLM-based extraction logic.
status
published
published
3 days ago

@reaatech/agent-memory-core

v0.1.0
Provides the canonical TypeScript interfaces, enums, and utility functions for the agent-memory ecosystem, including vector similarity calculations and retry logic. It serves as the shared type definition layer for building custom memory adapters and agent integrations.
status
published
published
3 days ago

@reaatech/agent-memory-embedding

v0.1.0
Provides a unified interface for generating text embeddings using OpenAI, Cohere, or HuggingFace providers. It includes a decorator class for transparently caching results in memory to reduce API calls and latency.
status
published
published
3 days ago

@reaatech/agent-memory-events

v0.1.0
Provides an in-memory event bus and a set of TypeScript interfaces for hooking into agent memory lifecycle events like storage, retrieval, and contradiction resolution. It exposes an `InMemoryEventBus` class for single-process use and a `MemoryEventBus` interface for implementing custom pub/sub adapters.
status
published
published
3 days ago

@reaatech/agent-memory-extraction

v0.1.0
Extracts structured facts, preferences, and decisions from conversation logs using LLMs and generates corresponding vector embeddings. It provides a `MemoryExtractor` class that requires separate LLM and embedding provider implementations to process conversation turns.
status
published
published
3 days ago

@reaatech/agent-memory-llm

v0.1.0
Provides a unified interface for LLM text completion and structured JSON output. It includes a pre-built class for OpenAI-compatible APIs and allows custom implementations via the `LLMProvider` interface.
status
published
published
3 days ago

@reaatech/agent-memory-policies

v0.1.0
Provides a `PolicyEngine` class to manage the lifecycle of agent memories through configurable rules for exponential decay, automated forgetting, and contradiction resolution. It integrates with `@reaatech/agent-memory-core` to evaluate memory state and resolve conflicts based on strategies like recency or confidence.
status
published
published
3 days ago

@reaatech/agent-memory-retrieval

v0.1.0
Provides a `MemoryRetriever` class to query and rank stored memories using semantic, temporal, and importance-based strategies, alongside a `ContextInjector` to format results for LLM prompts. It requires an external memory storage provider and an embedding provider to function.
status
published
published
3 days ago

@reaatech/agent-memory-storage

v0.1.0
Provides a unified interface for persisting and querying agent memories, offering both an in-memory implementation and a PostgreSQL adapter with pgvector support. It includes a fluent query builder class for filtering and performing semantic similarity searches.
status
published
published
3 days ago

Comments

Sign in with GitHub to comment and vote.

Loading comments…