MemoryCustodian icon

MemoryCustodian

Open-source repo-native memory system for coding agents across sessions.

Reviewed by ToolWorthy Editors·updated yesterday

Pricing:100% Free
Jump to section
MemoryCustodian GitHub repository and repo-native agent memory screenshot

Featured alternatives

Coasty icon

Coasty

MakersClaw icon

MakersClaw

Blocks.ai icon

Blocks.ai

BrowserAct icon

BrowserAct

YAGNI icon

YAGNI

Timbal AI icon

Timbal AI

Pros & Cons

Pros

  • Local-first and transparent: memory is just Markdown in the repo
  • Works across multiple coding-agent environments
  • Avoids vector databases, hosted services, and automatic full-context loading
  • Good fit for teams that want memory changes to be reviewable and reversible
  • MIT license makes it practical for experimentation and internal adoption

Cons

  • Requires teams to curate memory instead of blindly dumping chat history
  • Setup is more developer-oriented than consumer-friendly
  • Semantic quality still depends on humans or agents deciding what should become durable memory
  • Not a replacement for project documentation, issue tracking, or architecture records

Overview

MemoryCustodian is an open-source memory system for coding agents. It gives Codex, Claude Code, Gemini-style agents, and other coding assistants durable project memory without relying on a hosted service, vector database, or ever-growing prompt file.

The core idea is simple: project memory lives as plain Markdown inside the repository. Decisions, constraints, rejected approaches, current context, and optional area-specific notes can be reviewed, versioned, shared, edited, and deleted like code. A manifest tells the agent which memory files are relevant for a given task, so the agent loads a small context pack instead of everything at once.

For teams using AI code generators, MemoryCustodian addresses a common operational problem: every new agent session starts by relearning the same project decisions. The tool makes that memory explicit, portable, and inspectable.

Key Features

  • Repo-native Markdown memory - Memory lives under docs/memory/ as normal Markdown files, making it easy to review in pull requests and commit history.
  • Manifest-based context routing - Agents read the manifest and load only the task-relevant files, reducing prompt bloat.
  • Cross-agent support - MemoryCustodian includes setup paths for Codex, Claude Code, Gemini-style agents, and direct shell usage.
  • Local CLI checks - The CLI can initialize, inspect, validate, compact, migrate, and repair memory structures using deterministic checks.
  • Preview-first destructive operations - Forgetting, compaction, and migration require preview flows before applying changes.
  • Offline-first design - Routine operations use local files and Python standard-library tooling rather than hosted retrieval infrastructure.

How to Get Started

MemoryCustodian supports several installation paths. The simplest workflow is:

  1. Install the MemoryCustodian skill or plugin for your agent environment.
  2. Run memory-custodian init --project-root /path/to/project --agent all.
  3. Curate the generated brief.md from authoritative project files.
  4. Let agents read docs/memory/manifest.md, then only the task-relevant memory files.
  5. Add durable decisions, constraints, or rejected approaches when they should survive the current chat.

The project intentionally separates durable memory from chat history. It is not designed to archive every conversation. It is designed to preserve decisions and constraints that future agent sessions need to respect.

Community & Ecosystem

MemoryCustodian is MIT licensed and hosted on GitHub. The repository includes a CLI, reusable agent skill, Codex and Claude plugin metadata, adapters, examples, tests, templates, and evaluation artifacts.

Because the system is file-based, it fits normal software development workflows. Teams can review memory changes like documentation changes, attach them to feature branches, and remove outdated memory through explicit forget or compaction flows.

Pricing & Plans

MemoryCustodian is free and open source.

Plan Price License Best For
Open source $0 MIT Developers and teams that want local, repo-native agent memory

There is no hosted subscription or paid plan listed in the repository. Users may still need access to their chosen coding agent, such as Codex, Claude Code, or Gemini, but MemoryCustodian itself is free.

Best For

  • Developers who frequently restart Codex, Claude Code, Gemini, or similar AI agent sessions
  • Teams that want project memory stored in Git rather than a hosted knowledge base
  • Open-source maintainers who need portable context for contributors and agents
  • Engineering teams that care about explicit decisions, rejected approaches, and constraints
  • Users comparing lightweight memory systems with broader AI productivity platforms

FAQ

What is MemoryCustodian?

MemoryCustodian is an open-source system for giving coding agents durable project memory stored as Markdown inside the repository.

Is MemoryCustodian free?

Yes. The GitHub repository lists an MIT license, and no paid plan is advertised.

Does MemoryCustodian store chat history?

No. The project describes itself as project memory, not chat history. It focuses on decisions, constraints, rejected approaches, and project context.

Which agents does it support?

The repository documents paths for Codex, Claude Code, Gemini-style agents, and direct shell usage.

Does MemoryCustodian require a cloud service?

No. Routine operations are local and offline-first. Memory lives in repository files.

How does it avoid prompt bloat?

A manifest routes the agent to the relevant files for the task instead of loading all memory into every prompt.

Can memory be deleted?

Yes. The CLI includes forget and compaction flows, with preview-first behavior for destructive or broad changes.

Who should not use MemoryCustodian?

Teams that want automatic chat archival or hosted semantic search may prefer a different tool. MemoryCustodian is intentionally explicit, repo-native, and developer-operated.

Is this your tool?

Upgrade this free listing to Verified to unlock all four below. One-time fee of $99.

Claim & upgrade

Verified badge

A blue Verified pill appears next to your tool name across ToolWorthy. Embeddable on your own site too.

Featured alternatives slot

Appear in the sidebar of similar tools' detail pages — intent-matched traffic from competitors.

Dofollow backlink

Your Visit Site button sends direct SEO value to your domain instead of nofollow.

Editor-curated review

We expand your listing with original pros/cons, use cases, and screenshots — on-brand and on-message.

From the blog

View all →

Track MemoryCustodian in ToolWorthy Weekly

Important tool updates, better alternatives, and selected AI signals in one weekly brief.

Weekly only. Unsubscribe anytime.