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 --repair
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 --repair
mgx heal
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. --repair lets Memographix refresh stale MCP config before verification. 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 doctor --live --repair
mgx heal

mgx heal is safe to run repeatedly. It reruns setup, refreshes MCP command paths, reinstalls project rules, registers the repo, and keeps existing memory.

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.11.tar.gz (50.9 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.11-cp310-abi3-win_amd64.whl (931.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

memographix-0.1.11-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.11-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.11-cp310-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

memographix-0.1.11-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.11.tar.gz.

File metadata

  • Download URL: memographix-0.1.11.tar.gz
  • Upload date:
  • Size: 50.9 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.11.tar.gz
Algorithm Hash digest
SHA256 dd0042e0164e41125b1b7a26257b005a3ed666a1e28d82d4183fdc64ac1cb06c
MD5 7ee6a5cfe1aedd3041d25c9ef1e8d5cd
BLAKE2b-256 b09dc49435c3bb1e3e97ee43a501111a16f0b1f5468ca11fcb11d2fc7152a26e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: memographix-0.1.11-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 931.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.11-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 403f3b3e5500701c75d920643e0765108bdfbafa56d8db941bb3201967066f31
MD5 917dc5c39d902be642199c95a481073e
BLAKE2b-256 8cd361d60c613810941df43724614f1d65e328d787f00fe3b708b52039d82078

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.11-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 216abcaa805c52d1d6557d82b24768d197160d8b85dc26bc9da272f4e8f3e5e5
MD5 505eb7cc633aed94589a48c675109435
BLAKE2b-256 853d946e32c709e8d574ff0fadc3d388384b2905516ab2f81435668a963f3ba2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.11-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2d0fd650cc755f92105daa857c8757c94639eb52997f841c915c469e9a70e7da
MD5 3d1fc7190ddee78db5adc5f5c6a890a2
BLAKE2b-256 816630f994597fcc5ab454ee771b13444d0f0775f4ec4855802ea5734e56bb5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.11-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0905787782b10b40b0745db383c589050e2d2994299b21786b4881a45a2f0226
MD5 2d8039dd8ded0956fb474d4e1e4d2099
BLAKE2b-256 b3efd78f802b00d7a9cad7425a697cd091231c080ef7db09e72de8fd2fb7a1f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.11-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 154041fe9a8c349708c36172cd8686144b3536bbd682542f7b4c6542fe263152
MD5 03e2c2d67a6464e5640671ab076e9474
BLAKE2b-256 1c31209952c6e5fc34d0044de4764422156efb722893746b0379212028fc48db

See more details on using hashes here.

Provenance

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