Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memographix-0.1.9.tar.gz (47.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

memographix-0.1.9-cp310-abi3-win_amd64.whl (927.7 kB view details)

Uploaded CPython 3.10+Windows x86-64

memographix-0.1.9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

memographix-0.1.9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

memographix-0.1.9-cp310-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

memographix-0.1.9-cp310-abi3-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file memographix-0.1.9.tar.gz.

File metadata

  • Download URL: memographix-0.1.9.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for memographix-0.1.9.tar.gz
Algorithm Hash digest
SHA256 3bea52528ea3ab9e47bf707407038e2f3d66b8e406d33d0728456ede045c5c96
MD5 22ce30bd24ce1747cb73693e937af675
BLAKE2b-256 bd19b83d7ee90724ea7d18b363e3555e975e7970d055bd9ce6f7ab84c9a74654

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9.tar.gz:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memographix-0.1.9-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: memographix-0.1.9-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 927.7 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

Hashes for memographix-0.1.9-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a8b850339c276bb2de688687ce6bc26ba3b430bbb747349b5e68091175a9201c
MD5 6489b0ec3bf0802e7a046a09cf48d7e7
BLAKE2b-256 2352f67f07bdfd9d6f4cee307bf84f9106871fadcb010ccb59765fa1d102f539

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9-cp310-abi3-win_amd64.whl:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memographix-0.1.9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for memographix-0.1.9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8bfe4dfede9259f5e034e52bf4a66c7f0e694870be550f5ab1d088e0d9bb02f9
MD5 eaab46561e444d0e3ea97b2a4dfb337b
BLAKE2b-256 1dc85a57fbdc151cbbe6900627bfb98c2a0279a45221e7e87e5b2a92a6f23d15

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memographix-0.1.9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for memographix-0.1.9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 50dce773688d391b4359ae2ad4346c9151353d12e2fc449f96bd31ae1cd64a7c
MD5 643eb976d4c6aa47e88a77a7fd8527d8
BLAKE2b-256 dfc237e00d22c7a6b8df78b907871a364740940d5470b9d032203aad3f2d8ef8

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memographix-0.1.9-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for memographix-0.1.9-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26a4a3c1604b44fba6eb7fb4ff8e1760aa6956ae961cd413ca83c04e673b2966
MD5 8bcf4bdf3bc02bb03f000649e641f4d8
BLAKE2b-256 df261bf103a39d46e2578c4af3f737cf88cda55bebb53d1b7d297d3827753e6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memographix-0.1.9-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for memographix-0.1.9-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a1f44f621bf7ce09d42e386a64a898cac8d102bfad74761d8873dc17dab82654
MD5 3c4ac0fe348f86ffa84ca59b67911a19
BLAKE2b-256 38528271d7f67385008395623f6ee0fafa43ac091c1645ee8595a01d19539c66

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.9-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on coderalnaim/memographix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page