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.4.0.
Metadata
Release files for engram-ai-sdk 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| engram_ai_sdk-0.4.0.tar.gz | 38.5 kB | Without provenance | Details for engram_ai_sdk-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| engram_ai_sdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for engram_ai_sdk-0.4.0-py3-none-any.whl |
Total release size: 80.7 kB
Release files / engram_ai_sdk-0.4.0.tar.gz
| Download URL | engram_ai_sdk-0.4.0.tar.gz |
|---|---|
| Size | 38.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e0bbe9d1c5eda4657989c0eac5d4ae669906da0e8244cedc4037cef24c3b97b
|
|
BLAKE2b-256 checksum How to use checksums |
c8ebf696783d37a425b1ba835f01a6bda286a1ab21662eeebc6d7eb081aa0a7c
|
| 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.4.0-py3-none-any.whl
| Download URL | engram_ai_sdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 42.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11214861f5ac6fb7a8ca5c5486fe7c42314f74e2e7ba656fc8513a5da773a6ab
|
|
BLAKE2b-256 checksum How to use checksums |
5c554de87600719b210e3d70487fa951152e5c95c658d8d79bfc15064148e786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for engram-ai-sdk 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.