llmslim
LLMSlim is a long-term memory and context compression tool for AI agents and coding tools that does not call an LLM. It stores user and agent conversations verbatim and returns the parts that can answer the question within a set token budget. It can run as an MCP server, a Python library, or a small HTTP server, and supports SQLite, Postgres, or MongoDB storage. It uses deterministic lexical matching by default, with optional semantic reranking. It also provides context planning and compression features that can fit prompts, conversation history, RAG documents, and tool schemas within a token budget.