Skip to main content

Project Memory: repo-scoped memory engine for AI agents

Project description

Project Memory — Repo-Scoped Memory Engine

This project is a repo-scoped memory engine, including:

  • CLI (project-memory) via Typer
  • SQLite memory database under .project-memory/
  • File ingestion plus typed memory for notes, learnings, tasks, and plans
  • Immutable history snapshots for notes, learnings, tasks, and plans
  • Keyword search across indexed files and typed memory
  • MCP HTTP server over streamable HTTP
  • GitHub Actions CI/release/publish workflows

Quickstart

python -m pip install -e .
project-memory init
project-memory index
project-memory search "your query"
project-memory remember deploy "Run migrations before restart"
project-memory plan create branching "Use feature branches" --type protocol
project-memory serve-mcp

Current behavior

  • project-memory index indexes repository text files only. Reindexing cleans up stale file documents, but it does not delete notes, learnings, tasks, or plans.
  • project-memory search is keyword-only today. Search results can include both indexed files and typed memory.
  • project-memory export / project-memory import round-trip task and plan status, including archived plans.
  • Typed memory writes create immutable history snapshots, and entries can be diffed or restored via project-memory history ....
  • Embedding configuration commands exist, but embedding-backed indexing and query-time hybrid search are not implemented yet.

Commands

  • project-memory init - initialize .project-memory/project_memory.db
  • project-memory index - ingest repository text files into SQLite
  • project-memory search QUERY - perform a keyword search across files and typed memory
  • project-memory remember KEY CONTENT - store a note
  • project-memory learn KEY CONTENT - store a learning
  • project-memory task ... - manage tracked tasks
  • project-memory plan ... - manage implementation plans and protocols
  • project-memory export / project-memory import - round-trip memory through MEMORY.md
  • project-memory history ... - list, inspect, diff, and restore typed memory revisions
  • project-memory serve-mcp - run the MCP server at http://127.0.0.1:8000/mcp/

Project structure

  • src/project_memory/ core implementation
  • .project-memory/ runtime storage
  • .github/workflows CI/CD

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

project_memory-0.2.3.tar.gz (141.8 kB view details)

Uploaded Source

Built Distribution

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

project_memory-0.2.3-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file project_memory-0.2.3.tar.gz.

File metadata

  • Download URL: project_memory-0.2.3.tar.gz
  • Upload date:
  • Size: 141.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for project_memory-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d06c78fa05b79fb4d03b4fae29279e32fc32550a8290c1fce81bb839a2e966b8
MD5 004aea4a55167f0c06e0b939bd40016b
BLAKE2b-256 97d07eeaf39f48ed2c99fd7fe075a9f94742c10cc99c631f162362b328915d4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_memory-0.2.3.tar.gz:

Publisher: release.yml on jflamb/project-memory

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

File details

Details for the file project_memory-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: project_memory-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for project_memory-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13114ed59ac3f6eb4438f2b672ef68c0ba9858504658fdb76b16dc6dc7f03abc
MD5 b5dd00a527cfa32499e840c4382a7ee7
BLAKE2b-256 3dca0d216b06c0954d9a3e3387e0702bf448d115fd343d74b5e1c916ad8e2394

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_memory-0.2.3-py3-none-any.whl:

Publisher: release.yml on jflamb/project-memory

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