Skip to main content Switch to mobile version kipp-memory 0.1.0 Entity-based persistent memory with semantic search for AI agents
pip install kipp-memory==0.1.0 Copy PIP instructions
Memory for AI agents that keeps one current record per thing, not an ever-growing log. Local, deterministic, no LLM in the loop.
One record per thing. Knowledge lives in entities (person:alice, project:billing) whose facts are updated in place. Storage grows with the number of distinct things your agent knows about, not with time.
Found by any fact. Every fact is indexed on its own, so a large entity still comes up for the one fact that matches. There is no size cap: past 30 facts, KIPP suggests splitting an entity into topic entities.
History kept. A replaced fact is marked superseded, not deleted, so you can ask what was true on a past date.
Local and deterministic. Qdrant in Docker plus a small local embedding model. Merge, dedup, compaction and expiry are plain maths: no API calls, no LLM, same input gives the same result.
Works with any MCP client. Claude Code, Claude Desktop, Cursor, Codex CLI, or anything else that speaks MCP over stdio.
Your agent does two things with KIPP during a conversation:
Recalls with memory_search before answering questions about people, projects or past decisions.
Records what it learns, either straight onto an entity with memory_store, or as a raw observation with memory_event.
Events are a 30-day inbox. A periodic extraction pass files them onto entities. Events that open with a [type:id] tag are filed automatically. The rest are reviewed by an agent, which creates the entities they describe. KIPP never invents entities on its own; that judgement stays with the agent.
docs/agent-guide.md has the prompt that teaches an agent this loop.
About 1 GB of disk to start: the Qdrant image plus the embedding model (all-MiniLM-L6-v2, about 90 MB, downloaded from Hugging Face on first use)
Developed and run on Linux. macOS should work. On Windows, use WSL.
git clone https://github.com/sarbloc/kipp.git cd kipp # 1. Start Qdrant (localhost only, data in a named Docker volume) docker compose up -d --wait # 2. Install the CLI and MCP server # (if `kipp` is then "command not found", run `pipx ensurepath` and open a new shell) pipx install . # 3. Create the collections kipp init # 4. Smoke test. The first command downloads the embedding model. kipp store --type person --id alice --content "Leads the billing team" kipp search "who runs billing" kipp search should print person:alice as the top hit. A warning about unauthenticated requests to the HF Hub is harmless: the model is public, and once it's cached nothing is downloaded again.
Connect your AI client: docs/mcp-clients.md
Teach your agent to use it: docs/agent-guide.md
Set up expiry and backups: docs/operations.md
scripts/install.sh does steps 1–3 in one go, reusing a Qdrant that is already running on port 6333.
KIPP is on PyPI as kipp-memory. Start Qdrant yourself, then install and initialise:
docker run -d --name kipp-qdrant --restart unless-stopped \ -p 127.0.0.1:6333:6333 -v kipp_qdrant:/qdrant/storage qdrant/qdrant:v1.20.0 pipx install kipp-memory kipp init Docs
Qdrant stores twelve collections: three domains (shared, dev, personal) × four kinds: entities: long-term knowledge, upserted in place;
events: raw observations, expire after 30 days;
decisions: like entities, but never expire;
facts: the search index, one point per fact, rebuilt from entities by kipp reindex.
Search scores each entity by the better of its own vector and its best matching fact, fused with a keyword match. Each hit returns its best facts up to a word budget.
all-MiniLM-L6-v2 embeds text locally (384 dimensions).
Merge: a new fact within cosine 0.9 of an existing one is a duplicate. The existing fact's hit count goes up and the longer wording wins. Anything else is appended.
No fact cap: every fact is searched on its own, so entities can grow. Past 30 current facts, writes return an oversized note suggesting a split into topic entities (kipp oversized lists them; kipp split-plan and kipp split-apply do the split, and children point at their parent). kipp compact can trim to the top 20 by frequency × recency × permanence, but it deletes facts and nothing runs it.
The shared domain uses the bare collection names (entities, events, decisions, facts); the others are prefixed (dev_entities, ...). MCP tools and most CLI commands take a domain, defaulting to shared; export and import cover shared only.
Upgrading from entity-memory
KIPP was called entity-memory. The pip distribution changed name, so pipx treats it as a new app:
pipx uninstall entity-memory pipx install -e . # provides the `kipp` command scripts/install.sh does this for you. The old memory command is gone: call kipp instead. The old config paths and ENTITY_MEMORY_CONFIG still work. Qdrant data and collection names are unchanged. To move installed systemd timers to the new unit names, see docs/operations.md.
skill/SKILL.md is the OpenClaw skill manifest. Install with bash scripts/install.sh.
pip install -e . python3 -m pytest -q # in-memory Qdrant and a mock embedder: no services needed Project links
Both files in this release have provenance metadata.
MIT View SPDX License List
memory ai-agents mcp qdrant embeddings semantic-search
Development Status 4 - Beta
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Release files for kipp-memory 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 175.4 kB
Release files / kipp_memory-0.1.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Release files / kipp_memory-0.1.0-py3-none-any.whl
Security for kipp-memory 0.1.0
Both files in this release have been uploaded with provenance metadata.
With provenance kipp_memory-0.1.0.tar.gz Nov 25, 2026
With provenance kipp_memory-0.1.0-py3-none-any.whl Nov 25, 2026
Attestation for kipp_memory-0.1.0.tar.gz
Attestation for kipp_memory-0.1.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 25, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




