Get started in 5 minutes
From zero to cognitive memory in five steps.
1
Create your account
Sign up for free on the Engramma portal. No credit card required.
2
Get your API key
Navigate to Settings → API Keys in your dashboard. Create a new key and copy it.
# Your API key looks like this:# nx_live_a1b2c3d4e5f6...3
Install the SDK
Install the Engramma Python SDK via pip.
pip install engramma4
Store your first memory
Connect to the API and store a memory pattern.
from engramma import EngrammaClientclient = EngrammaClient(api_key="your_api_key")response = client.memory.store( text="The user prefers dark mode and concise answers", context={"source": "onboarding", "user_id": "usr_123"})print(response.pattern_id) # "pat_7f3a..."print(response.confidence) # 0.945
Retrieve with understanding
Query your memories with full explainability.
results = client.memory.retrieve( query="What are the user's preferences?", top_k=5, explain=True)for memory in results: print(memory.text) print(f" Confidence: {memory.confidence}") print(f" Reason: {memory.explanation.reason}") print(f" Pathways: {memory.explanation.pathways}")