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:

pipx install memographix
mgx setup
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 an MCP server config, and installs project agent rules.

If you are already inside a virtual environment or CI job, this also works:

python -m pip install memographix

The PyPI badge above always shows the latest published version; install commands stay versionless.

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.3.tar.gz (35.3 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.3-cp310-abi3-win_amd64.whl (913.7 kB view details)

Uploaded CPython 3.10+Windows x86-64

memographix-0.1.3-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.3-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.3-cp310-abi3-macosx_11_0_arm64.whl (992.7 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

memographix-0.1.3-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.3.tar.gz.

File metadata

  • Download URL: memographix-0.1.3.tar.gz
  • Upload date:
  • Size: 35.3 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.3.tar.gz
Algorithm Hash digest
SHA256 758145fd4de9730651ce8c5dc3c17c5e64d12732cc546f0eaa6251832e00bd08
MD5 2b75578b326d26d0a8872c0485f41e4f
BLAKE2b-256 c2b66e2db2fee3415dcfc0fb3b848438494272586b4de3f6d0ce347ff58f96d2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: memographix-0.1.3-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 913.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.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c9f35a7218b523455b85c1594e5d79f80c22ec3acb302070e57bc5f8db78ce91
MD5 a59ea06868c167d37b40bb9218c1ee3d
BLAKE2b-256 fdb3052438a7887808e3e66bf4f7e8c8e3821b82cc27c2c46f3d0b0142e6ec1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f96050a6351be403cba38490d55ef61e013f14dfafe7e70a5ba9850219b1dc5e
MD5 5e979149e38abbb516d63c9535a2fdca
BLAKE2b-256 b5eec2e1be17a0502c01c9bfcc1d587df567886871b658876417fd4bfeb572e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63df4f2fe991f55405c1083857d74fda7ace5a1d626a284827ff841cc19fc8e7
MD5 30f98a426e5a815b71efa93619529a00
BLAKE2b-256 c490c9937ef476ff054eac1cd6b41b45c3a78c03dd86cda0e5e4cf01d34cbfe7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a835eba3992e4737f2735313bf95d69b2a77de2c33f4ff65a9964c9608f96e2f
MD5 f17dc7073f7bff5a33484223fcf597a7
BLAKE2b-256 a4f69283eaa71e3625425c67dbd5038da1f45c38e2a6dd0a8888b1b9eb4e3d63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for memographix-0.1.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 41a9586e39d868412fe39bc8150941a44e7c012ec1e89e8368554af0e53dcd2f
MD5 34cf70f64c5a9bf47a600318c2a872d8
BLAKE2b-256 36f314ba82fc9a48e1b0816edea28b116badd17d2bcbd27378ef70a7bad876f2

See more details on using hashes here.

Provenance

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