Solutions · AI Agents · Memory

Build AI agents that remember, learn and evolve.

Private, persistent memory for .NET AI agents. Semantic, episodic and procedural memory types with automatic extraction, consolidation, time-decay scoring, and multi-user isolation. 100% on-device RAG. Zero cloud dependency.

3 memory types Auto-extraction 100% on-device Multi-user
Memory lifecycle
  1. Conversation turn processed
  2. LLM extracts facts, events & procedures
  3. Deduplicated & stored in vector index
  4. Recalled via semantic search on next turn
Three memory types
Semantic: facts & knowledge
Episodic: events & interactions
Procedural: how-to & workflows
Why memory matters

Stateless agents forget. Yours won't.

Most AI agents treat every conversation as their first. They forget user preferences, lose track of project context, and repeat the same questions. Agent memory solves this by giving your agents persistent, structured recall that survives across sessions.

From stateless to stateful in one API

LM-Kit's AgentMemory integrates directly with MultiTurnConversation and the Agent framework. Memory is RAG-backed, KV-cache aware, and designed for production multi-user deployments.

Automatic learning

The agent extracts facts, events, and procedures from every conversation turn without manual intervention.

Private by design

All memory storage and retrieval runs 100% on-device. No data leaves your infrastructure. HIPAA and GDPR ready.

Persistent across sessions

Serialize memory to disk and restore it at any time. Share memory states between agents and deployments.

Without agent memory
  • Agent asks the same onboarding questions every session
  • User preferences lost after every restart
  • Document processing agents forget previous analysis results
  • No personalization across multi-user deployments
  • Cloud memory services leak sensitive data and add latency
LM-Kit Agent Memory

Persistent, private, structured memory that lives on your hardware. Three memory types, automatic extraction, smart consolidation, and multi-user isolation out of the box.

Memory types

Three types of memory, one unified API.

Modeled after human cognitive memory. Each type serves a distinct purpose, enabling agents to store the right kind of knowledge in the right way.

Type 01 · Facts & knowledge

Semantic memory

General knowledge, facts, and definitions that remain true over time. The foundation for grounded, accurate responses. User profiles, product catalogs, domain expertise, and configuration details.

User preferences Product specs Domain rules Contact info

Type 02 · Events & interactions

Episodic memory

Specific events, interactions, and experiences anchored in time. Enables agents to reference past conversations and track evolving situations. Support tickets, project milestones, and conversation history.

Past conversations Meeting notes Support tickets Project events

Type 03 · How-to & workflows

Procedural memory

Learned processes, workflows, and step-by-step procedures. Enables agents to remember how users like things done. Runbooks, deployment checklists, troubleshooting guides, and personal routines.

Deployment steps Approval flows User routines Troubleshooting
Learn more about AI Agent Memory in the Glossary →
Capabilities

Everything for production memory.

From automatic learning to enterprise-grade capacity management. Every feature you need to ship memory-powered agents at scale.

Capability New

Automatic extraction

LLM-based fact extraction classifies memories by type and importance. Deduplication via vector similarity prevents redundant entries.

Capability New

Memory consolidation

LLM-powered clustering merges semantically similar memories into concise summaries. Reduces storage while preserving knowledge.

Capability New

Time-decay scoring

Exponential decay ensures recent memories rank higher in retrieval. Configurable half-life from hours to months.

Capability New

Multi-user isolation

UserScopedMemory namespaces data by user ID. One shared store, fully isolated retrieval, per-user cleanup.

Capability New

Capacity & eviction

Set maximum entries and choose eviction policies: oldest first, lowest importance first, or a combined strategy. Cancel evictions via events.

Capability

Serialize & restore

Persist memory to binary files and reload across sessions, deployments, and machines. Share memory states between agents.

Code examples

Memory in five lines of code.

Add persistent memory to any agent or conversation. Automatic extraction, consolidation, multi-user scoping, and persistence are all configured through simple properties.

Install the SDK

Build agents that actually remember.

Add persistent, private memory to your .NET agents in minutes.

Download View pricing