Skip to main content

Memory infrastructure for AI agents. Your Qdrant, your hardware, our intelligence.

Project description

engrammemory

Memory infrastructure for AI agents. Your Qdrant, your hardware, our intelligence.

pip install engrammemory

Quick Start

from engrammemory import Engram

client = Engram(
    api_key="eng_live_xxx",
    qdrant_url="http://localhost:6333"
)

# Store — embedded & deduplicated by Engram, stored in YOUR Qdrant
client.store("User prefers TypeScript and dark mode", category="preference")

# Search — three-tier recall (hot → hash → vector)
results = client.search("What does the user prefer?")
for r in results:
    print(f"[{r.tier}] {r.memory.content} ({r.score:.2f})")

# Forget
client.forget("mem_abc123")

Async

from engrammemory import AsyncEngram

async with AsyncEngram(api_key="eng_live_xxx") as client:
    await client.store("User prefers TypeScript")
    results = await client.search("language preferences")

Multi-Agent / Fleet

# Each agent gets its own namespace
client = Engram(api_key="eng_live_xxx", project="icu-floor-3")

# Store with agent tracking
client.store("Patient allergic to penicillin", category="fact", agent="tablet-icu-3a")

# Search scoped to project
results = client.search("allergies", agent="tablet-icu-3a")

MiroFish Integration

Replace Zep with Engram in your MiroFish .env:

MEMORY_PROVIDER=engram
ENGRAM_API_KEY=eng_live_xxx
ENGRAM_QDRANT_URL=http://localhost:6333

Links

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

engrammemory_ai-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

engrammemory_ai-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file engrammemory_ai-0.1.0.tar.gz.

File metadata

  • Download URL: engrammemory_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for engrammemory_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c7fb671eb304ce02ca23fd282f5e16f2d2a1ec0d68e0c8cecc4264d32d25d94d
MD5 6d3e4677d40c674552b8e4e54e52f566
BLAKE2b-256 ef8c3b56eaac87bae00a9c12063f8343a30a0c02bccece5510cb876381bf67ec

See more details on using hashes here.

File details

Details for the file engrammemory_ai-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for engrammemory_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61f3a5e6f4ffb8acfa50226c338d1d68e5753e40ba3f147bab1d1724dc7ee3b7
MD5 b7306c9c7a6495a3fe3e4b3fafbbde3c
BLAKE2b-256 35157bf966a7e9826683e384bea4a7ceeab3636b6bbd151240d7e11498695b06

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