Local AI agent memory layer for repeated developer tasks, fresh context packets, and low-token repo recall.
Project description
Memographix
Memographix gives AI coding agents local memory for your repo.
Install it once, run setup once, and keep using Codex, Claude, Cursor, Copilot, Gemini, OpenCode, Aider, Windsurf, or any MCP client normally. Memographix retrieves fresh context before work and captures useful task memory after work.
Quick Start
Run this inside the repo where you want AI-agent memory:
pipx install memographix
mgx setup
mgx doctor --live
mgx verify-agent
mgx savings
pipx avoids system Python conflicts on macOS and Linux. The PyPI package
includes the CLI, local indexer, MCP server, and agent integration support.
mgx setup creates .memographix/, indexes the repo, writes MCP config for
supported agents, registers the repo for global MCP routing, and installs
project agent rules. For Codex it also installs a small global Codex skill so
new chats know to check Memographix before repo work.
If you are already inside a virtual environment or CI job, this also works:
python -m pip install memographix
PyPI resolves the latest release automatically, so install commands stay versionless.
Daily Use
Use your AI agent normally. In strict mode the agent asks Memographix for fresh context before repo work, captures useful results after work, and marks old memory stale when evidence files change.
mgx doctor --live
mgx verify-agent
mgx guard
mgx savings --since 30d
mgx doctor --live verifies that the MCP server starts, expected tools are
available, and the router can resolve this repo. It does not prove your active
agent has actually called Memographix yet. mgx verify-agent gives you a short
prompt to paste into the agent and passes only after that agent performs a real
resolve_task and capture_task. Restart agents after setup if they were
already open. This restart matters because Codex and other agents load MCP
tools/rules at chat startup.
Control it per repo:
mgx status
mgx disable --reason "not needed here"
mgx enable
Disabled repos keep existing memory but automatic agent calls return no context and save nothing. Re-enabling refreshes the index before Memographix is used again.
If savings are all zero, Memographix now tells you whether no agent tool calls
have been recorded yet. Run mgx doctor --live, mgx verify-agent, restart the
agent, and either open the chat from the repo or mention a registered repo name.
mgx guard warns when Memographix saw no MCP usage, saw context retrieval
without later capture, or sees modified files without any capture event.
Other useful commands:
mgx repos
mgx repair --mcp
Proof
On the pinned Kubernetes benchmark, Memographix wins the repeated-task metrics it is designed for: lower repeated tokens, faster repeated recall, stale-evidence safety, and the best deterministic quality score. See Benchmarks for the public corpus, exact commands, honest losses, and unavailable-tool notes.
Boundaries
Memographix does not upload your code, save full chat transcripts by default, treat stale memory as correct, or install benchmark tools in the runtime package.
Docs
- Benchmarks: public Kubernetes results and claim policy.
- Security: local privacy, skipped secrets, and sandbox safety.
- Agent integrations: MCP and agent setup.
- Architecture: Python/Rust design and storage model.
- Repeat task memory: capsules and freshness.
- Contributing: local development and test expectations.
- PyPI release: trusted publishing and release checks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memographix-0.1.10.tar.gz.
File metadata
- Download URL: memographix-0.1.10.tar.gz
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b58d412c56b82abb38098c155f0bbca4819f2e5bb453b3e9461abe62ea197e66
|
|
| MD5 |
9d5311eee8b5f789c61f21ef08e3556e
|
|
| BLAKE2b-256 |
b4042a1baf4fae40f99ba3e01568645597cea16e996c6f470ed0c3efc56abc07
|
Provenance
The following attestation bundles were made for memographix-0.1.10.tar.gz:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10.tar.gz -
Subject digest:
b58d412c56b82abb38098c155f0bbca4819f2e5bb453b3e9461abe62ea197e66 - Sigstore transparency entry: 1393599588
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file memographix-0.1.10-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: memographix-0.1.10-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 928.3 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a0692ecfbb0069375e171bdcc1c31daf4dfb496c13e529fce1b0b3490ca9d13
|
|
| MD5 |
a84a13d8e0c7ab7bf410c942621ab517
|
|
| BLAKE2b-256 |
e0eab446e4464aabd0e09b3cd24debe83b2e0a26935dced5eff14c01829814f5
|
Provenance
The following attestation bundles were made for memographix-0.1.10-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10-cp310-abi3-win_amd64.whl -
Subject digest:
9a0692ecfbb0069375e171bdcc1c31daf4dfb496c13e529fce1b0b3490ca9d13 - Sigstore transparency entry: 1393599679
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file memographix-0.1.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: memographix-0.1.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
378f0897ae8bd8f6feac7bfc552bfd757e4981e4c0ed68138875c55711f0a5a0
|
|
| MD5 |
eda0b5bcb143387febb17a1405bccf5c
|
|
| BLAKE2b-256 |
93ec44606d1a4aa5e3813edecaa498c860ec2421cc35b29f5d09f38b1751e381
|
Provenance
The following attestation bundles were made for memographix-0.1.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
378f0897ae8bd8f6feac7bfc552bfd757e4981e4c0ed68138875c55711f0a5a0 - Sigstore transparency entry: 1393599651
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file memographix-0.1.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: memographix-0.1.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2644dcde1a310427893ef1bd81755b39be462c51b85be863df3d167317bbdec
|
|
| MD5 |
21970f2ebef51f5d8db3122ee10c1df4
|
|
| BLAKE2b-256 |
7a7a95455758a10e7e64d61e083be9500fc10c062fb106d7289aa32ed63a41ca
|
Provenance
The following attestation bundles were made for memographix-0.1.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a2644dcde1a310427893ef1bd81755b39be462c51b85be863df3d167317bbdec - Sigstore transparency entry: 1393599618
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file memographix-0.1.10-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: memographix-0.1.10-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13ec8946098f9f45a5c57e1a5e9bca398ccdf0ebba6d137cd26a1a2a9e8a0d7f
|
|
| MD5 |
a3feb3d45fb46d0436cc792f0b422c57
|
|
| BLAKE2b-256 |
c799de2566dd203d6861da276bb07bbd592aa34cdc85e2f52507bc0ceeebc5c5
|
Provenance
The following attestation bundles were made for memographix-0.1.10-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
13ec8946098f9f45a5c57e1a5e9bca398ccdf0ebba6d137cd26a1a2a9e8a0d7f - Sigstore transparency entry: 1393599707
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file memographix-0.1.10-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: memographix-0.1.10-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19ad2ea14de83ff7d158f899eff8cc98eb9d2c4406a7c0c86553d017c167132f
|
|
| MD5 |
297084750030879275ebe5bc139640e4
|
|
| BLAKE2b-256 |
26addce48eecc9433bf15fbf80e99a955e1324dc2c13cb9c02860570eb5d0971
|
Provenance
The following attestation bundles were made for memographix-0.1.10-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
release.yml on coderalnaim/memographix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memographix-0.1.10-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
19ad2ea14de83ff7d158f899eff8cc98eb9d2c4406a7c0c86553d017c167132f - Sigstore transparency entry: 1393599726
- Sigstore integration time:
-
Permalink:
coderalnaim/memographix@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Branch / Tag:
refs/tags/v0.1.10 - Owner: https://github.com/coderalnaim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31f8ddb747d1b50780cc8e71142c4f5150fd41ae -
Trigger Event:
release
-
Statement type: