Skip to main content

AI agent memory system with SQLite+FTS5, MCP integration, and quality gates

Project description

Engram

Persistent memory for AI agents, backed by SQLite + FTS5.

Install

pip install memorytrace

Optional extras:

pip install "memorytrace[llm]"
pip install "memorytrace[semantic]"
pip install "memorytrace[mcp]"
pip install "memorytrace[full]"

Simple CLI

The default CLI is engram. python -m engram is equivalent.

engram init
engram save "Minseong Jeong is the CTO of Galaxy Corp"
engram find "CTO"
engram who "Minseong Jeong"
engram remember "Minseong Jeong" "Interested in AI and robotics"
engram status

Advanced CLI

Use engram-advanced when you need structured options, JSON output, or a custom DB path.

engram-advanced --db ~/.engram/memory.db search "Galaxy Corp" --max-results 5
engram-advanced --json health

Python SDK

from engram.integrations.sdk import EngramSDK

with EngramSDK() as sdk:
    sdk.start_session("assistant")
    sdk.store("Minseong Jeong is the CTO of Galaxy Corp")
    sdk.add_fact("Minseong Jeong", "Interested in AI and robotics")
    result = sdk.search("Galaxy")
    print(result.to_agent_context())

Source Checkout Compatibility

A repo-local python mem ... wrapper is kept for backward compatibility in source checkouts. It forwards to the same simple CLI as engram, but it is not installed as a packaged console script.

Docs

  • docs/04-usage-guide/01-quickstart.md
  • docs/04-usage-guide/02-claude-code-setup.md
  • docs/01-project-analysis/05-cli-commands.md
  • docs/01-project-analysis/09-setup-guide.md

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

memorytrace-0.4.0.tar.gz (306.8 kB view details)

Uploaded Source

Built Distribution

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

memorytrace-0.4.0-py3-none-any.whl (175.1 kB view details)

Uploaded Python 3

File details

Details for the file memorytrace-0.4.0.tar.gz.

File metadata

  • Download URL: memorytrace-0.4.0.tar.gz
  • Upload date:
  • Size: 306.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for memorytrace-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0bd8e81fd5658a5da5b96c91bc635a5c3c145b41a9c7cdb7ea1618264ae66bb2
MD5 8c10618408987a580f0c683b942f7711
BLAKE2b-256 a602aca3b05697b98e2c7038256bbe7017820d6a851c37a6444c71805bf4d845

See more details on using hashes here.

File details

Details for the file memorytrace-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: memorytrace-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 175.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for memorytrace-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 443f679d6fb4e4db977e023daf0bcf2ae7a15cebdeca224cfe13947501d7321d
MD5 4f88aea59f68c41d587e0e655222f7cd
BLAKE2b-256 03e4472f1801de647a23ba9e8e1ac586fd3319748188a391ff735952716a509a

See more details on using hashes here.

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