Skip to main content

Engram memory system for AI agents — engram-named distribution backed by memorytrace.

Project description

engram-ms

PyPI Python License: MIT

The engram-named distribution of the engram memory system for AI agents — SQLite + FTS5 backend with optional MCP, LLM, and semantic-search integrations.

engram-ms is a thin alias on top of memorytrace, which carries the real engine code. Installing engram-ms automatically pulls in memorytrace, so both names give you the same engine.

Install

pip install engram-ms

Optional extras (forwarded to the corresponding memorytrace extras):

pip install "engram-ms[llm]"        # Anthropic + OpenAI clients
pip install "engram-ms[semantic]"   # numpy + embeddings
pip install "engram-ms[mcp]"        # Model Context Protocol server
pip install "engram-ms[full]"       # everything above

Requires Python 3.9+.

Usage

from engram_ms import MemoryEngine, EngramConfig

with MemoryEngine(EngramConfig()) as engine:
    engine.create_entity("Alice", entity_type="person")
    engine.add_fact("Alice", "role", "engineer")
    print(engine.timeline("Alice"))

The full API lives under the canonical engram namespace:

from engram.engine import MemoryEngine
from engram.integrations.sdk import EngramSDK

Relationship to memorytrace

Same engine, two distribution names:

Distribution Role
engram-ms Engram-named alias (preferred going forward)
memorytrace Original/legacy distribution; still maintained

Either install gives you the engram import path, the engram / engram-advanced CLIs, and the same SDK. Pick whichever name you prefer in requirements.txt.

License

Released under the MIT License.

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

engram_ms-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

engram_ms-0.0.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file engram_ms-0.0.2.tar.gz.

File metadata

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

File hashes

Hashes for engram_ms-0.0.2.tar.gz
Algorithm Hash digest
SHA256 13e9ef423485c6987b3a8ca3cb37e37bb16ff92242f47a47988c4ee92cdd73c5
MD5 1dac451dff7dd89f589359a9897c713c
BLAKE2b-256 fe8961f0ffd5ef7fb071494c92fa6f855c181b6872b2cba14c5bc6aeb9ff6090

See more details on using hashes here.

File details

Details for the file engram_ms-0.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for engram_ms-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 802f8c7e9678f7b58055dd3f1065633a438978591b2a3d297fcac332143c77c8
MD5 dd4eed2b9a61cf099aad288962d37a0a
BLAKE2b-256 4595613c512d94af75c103e5411aaed6be03595582cadb9789fd60d2616c17bd

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