memgentic
Universal AI memory layer — zero-effort knowledge capture across every AI tool you use. Source-aware memory with semantic search, filtering, and knowledge graphs.
memgentic is the core engine. Install it to get the CLI, the MCP server, the ingestion pipeline, and the storage layer.
pip install memgentic
# or with the REST API:
pip install 'memgentic-api'
# or with native Rust acceleration:
pip install 'memgentic[native]'
What it does
Every AI conversation is ephemeral — knowledge is lost when the session ends. Worse, it's siloed: what Claude knows, ChatGPT doesn't. memgentic captures knowledge automatically from every AI tool you use and makes it available everywhere via MCP.
- Local-first. Data stays on your machine. Works offline.
- Source-aware. Every memory carries provenance: which tool, which session, which timestamp.
- Semantic search. Qwen3-Embedding-0.6B via Ollama, 768-dim, Apache 2.0.
- Recall Tiers (T0–T4). Progressive context loader — persona, horizon, orbit, deep, atlas.
- Watchers. Auto-capture from Claude Code, Codex CLI, Gemini CLI, Copilot CLI, Aider, Antigravity, ChatGPT/Claude web imports, Cursor, Windsurf.
- Chronograph. Bitemporal knowledge graph — entities, relationships, validity windows.
- 27 MCP tools. Full surface exposed via the MCP protocol for any compatible client.
Quick start
# One-shot setup (detects installed AI tools, configures models, installs hooks)
memgentic init
# Run the MCP server + the file watcher in one process
memgentic serve --watch
# Semantic search from the CLI
memgentic search "react performance tips"
# Manual store
memgentic remember "Fixed JWT expiry bug: iat claim was missing"
See the project README on GitHub for architecture, full feature matrix, MCP tool reference, and benchmarks.
License
Apache 2.0. See LICENSE.
Release files for memgentic 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| memgentic-1.4.0.tar.gz | 513.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| memgentic-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 903.1 kB
Release files / memgentic-1.4.0.tar.gz
| Download URL | memgentic-1.4.0.tar.gz |
|---|---|
| Size | 513.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9eec5e385a066181efbc248d4870362d77ccc1249035912569883eb0d443194a
|
|
BLAKE2b-256 checksum How to use checksums |
fcd5e9889c35aa34a261e08c05e600415c2f1e4e8c6a9414eb4a897d74e506c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
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 Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logRelease files / memgentic-1.4.0-py3-none-any.whl
| Download URL | memgentic-1.4.0-py3-none-any.whl |
|---|---|
| Size | 390.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e56f9f8264de5489ae2065180ec692f213c115397f54848775791ce85bfbb33a
|
|
BLAKE2b-256 checksum How to use checksums |
b8b02f24f3146ff7d61f8166a67000512d9bea5462ef5d8815a28d548947753a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
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 Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency log