Skip to main content

Engram Python SDK

Python SDK for Engram — the memory platform your apps write to and ask questions of.

pip install engram-ai-sdk
from engram_sdk import EngramClient

engram = EngramClient(org_id, user_id, api_key="egm_...")

# Anything can become a memory
engram.ingest.text("Ada prefers dark mode and terse replies")
engram.ingest.image("whiteboard.jpg", caption="sprint planning, 12 Mar")
engram.ingest.audio("standup.m4a")                      # transcribed server-side
engram.ingest.video("demo.mp4", keyframe=frame_bytes)
engram.ingest.document("retro-notes.md")

engram.conversation.ingest([
    {"role": "user", "content": "we should move the launch to April"},
    {"role": "assistant", "content": "noted — I'll tell the team"},
])

# Read it back by asking
scene = engram.memory.retrieve("what did we decide about the launch?")

Async is the same surface with await:

from engram_sdk import AsyncEngramClient

async with AsyncEngramClient(org_id, user_id, api_key="egm_...") as engram:
    await engram.ingest.text("hello")

The base URL defaults to Engram's hosted alpha, so a key is the only required configuration. Override with base_url= or ENGRAM_BASE_URL.

Documentation: https://alpha.getmetacognition.com/docs

Version 0.3.0.

Metadata

Release files for engram-ai-sdk 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for engram-ai-sdk 0.3.0
File Size Uploaded
engram_ai_sdk-0.3.0.tar.gz 35.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for engram-ai-sdk 0.3.0
File Interpreter ABI Platform
engram_ai_sdk-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 73.9 kB

Release files / engram_ai_sdk-0.3.0.tar.gz

Download URL engram_ai_sdk-0.3.0.tar.gz
Size 35.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b540d115712b40df41c09228ba01e3288a5e6db21dd959faa41a5b2ea7ff077
BLAKE2b-256 checksum
How to use checksums
4a740a10474ee32f3d8c11da9e44023e890213e81b516bb41acd3ee1d7a106ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / engram_ai_sdk-0.3.0-py3-none-any.whl

Download URL engram_ai_sdk-0.3.0-py3-none-any.whl
Size 38.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bee26b7933c8d0c4daf0ab436cc2f9206b1af4d4b439e5c9a04a43ed1cc1ab3
BLAKE2b-256 checksum
How to use checksums
4fe0cd67dd13da11f3b2395532b805ee190cd0faff658c5630f17a4765b7d028
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page