Skip to main content

Local AI agent memory layer for repeated developer tasks, fresh context packets, and low-token repo recall.

Project description

Memographix

CI PyPI Python License: MIT

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:

pip install memographix
mgx setup
mgx savings

The normal PyPI install includes the CLI, local indexer, MCP server, and agent integration support. mgx setup creates local state in .memographix/, indexes the repo, writes an MCP server config, and installs project agent rules.

The PyPI badge above always shows the latest published version. The README does not hard-code a version number, so release updates do not require rewriting the install command.

Daily Use

Use your AI agent normally.

Memographix is designed to work in the background:

  • Before work, the agent asks Memographix for a small context packet.
  • After useful work, the agent captures the answer with changed files, commands, tests, and outcome.
  • If old evidence changed, Memographix marks the memory stale instead of reusing it silently.

Check setup health:

mgx doctor

If mgx doctor says an agent needs manual MCP configuration, use the generated file at .memographix/mcp.json in that agent's MCP settings.

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.

See the estimated token savings:

mgx savings --since 30d

Advanced CLI

Manual commands are still available for debugging and non-MCP workflows:

mgx ask "how does request routing work?" --budget 800
mgx remember --question "how does routing work?" --answer "..." --evidence app/routes.py

Most developers should not need the manual memory command after mgx setup.

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.

Why Developers Use It

  • Stop re-explaining the same codebase across chats.
  • Keep memory tied to real evidence files.
  • Avoid stale answers after files change.
  • Send smaller context packets to AI agents.
  • Run locally without a required LLM API or cloud service.

What It Does Not Do

  • It does not upload your code.
  • It does not save full chat transcripts by default.
  • It does not treat stale memory as correct.
  • It does not install benchmark tools or competitors 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.2.tar.gz (35.2 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.2-cp310-abi3-win_amd64.whl (914.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

memographix-0.1.2-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.2-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.2-cp310-abi3-macosx_11_0_arm64.whl (992.9 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

memographix-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: memographix-0.1.2.tar.gz
  • Upload date:
  • Size: 35.2 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.2.tar.gz
Algorithm Hash digest
SHA256 c0a6bd5817ae9f2f3f4048e59343c6eb5ea5629092758b085bca7ab5d6992876
MD5 7b45be7999ae5f62ae5c485c49ee1469
BLAKE2b-256 c7a64d19a01bc31f58a897292b84328d27679db9f89ca69c4030ceec3cc76333

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2.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.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: memographix-0.1.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 914.1 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.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d89e48d3b8cb288a781a2180071f861447f38d3da29450e1640fd1ddbd9f2222
MD5 6361dd848b38a37ae4d0cf9244093fb1
BLAKE2b-256 2f353fba0c063aebb4e86429889d234828ba7402f156aefd80705cb256a288dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2-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.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for memographix-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3cf9a6288fb5c194088cfa75e80fc29413643686bb4fe1e1386022a3728513d5
MD5 3e03180f8eca0371a4a429546cc04d3a
BLAKE2b-256 726c867f842ef2f247e518afdd02e3e8dab08bc4508abdce527cbdbed2a6c9d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2-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.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for memographix-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b44fb863f415eacc107c70b0d97a8018c06f543cb3e8ca05abd1dd5a789cf15c
MD5 c5e80dcd3a661e87af5ea9b208533668
BLAKE2b-256 95974307c20a657d075b9504f931e9aab37b2a7ccb8780714f5e90615e43d276

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2-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.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for memographix-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 582a4cfb35893ac21c9f65a165a3b56b95ca6f79ce1532c3e1636df8c3097210
MD5 a5955a0205dcc6e8c5c294de905160f9
BLAKE2b-256 265f6434db6c027fe9b7895f534a9446d38a8561f13b08e54adff246d3148147

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2-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.2-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for memographix-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4548a130c79e5c8f145eef9b4e251ea2d726c67a3415886f8eb97d78d87749e3
MD5 94cfcd355506c0f78d03796b3e39b0f4
BLAKE2b-256 9e03ad38c4c8f26bd0e179f5c29c5378ffbddd7fbae43efc1a042a49f9c05b92

See more details on using hashes here.

Provenance

The following attestation bundles were made for memographix-0.1.2-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