Skip to main content

Documentation · 1.0 preview

Start in one line. Go as deep as you need.

Short guides for agent memory with no LLM in the loop, from Python, MCP, HTTP and TypeScript, and for fitting chat, retrieval and tool output into a real token budget.

quickstart.pypython
from llmslim.memory import Memory

memory = Memory("memory.db")
memory.add("I moved to Pune last month.",
           user_id="asha")

context = memory.search("Where did I move to?",
                        user_id="asha")
print(context.text)   # what answers it
01PythonMemory in a few linesStore turns word for word and get back what answers a question, within a token budget.Read 02MCPClaude Code, Cursor and moreGive any MCP client long-term memory with one command.Read 03HTTPllmslim serveThe same memory behind a small JSON API, for apps in any language.Read 04TypeScriptAI SDK and MastraThe npm client, with memory tools that never touch your prompt.Read

Getting Started

Guides & Strategies

Core Concepts

Migration

API Reference

Framework integrations

Comparisons