Official Python SDK for Agentic Memory — 3-tier persistent memory for AI agents. Short-term recall, semantic search, and auto-summarised knowledge in one API.
Project description
agenticmemoryai
Official Python SDK for Agentic Memory. Give your AI agents persistent memory in one line.
Install
pip install agenticmemoryai
Quick Start
from agenticmemoryai import AgenticMemory
memory = AgenticMemory(api_key="amk_your_key")
# Store a message
memory.store("your-space-id", role="user", content="Hello!")
# Recall recent messages
messages = memory.recall("your-space-id", limit=20)
# Search by meaning (Pro plan)
results = memory.search("your-space-id", "pricing discussion")
Features
- Short-term memory — instant recall, sub-millisecond reads
- Medium-term memory — search past conversations by meaning
- Long-term memory — auto-summarised knowledge across months
API
store(space_id, role, content)— append a messagerecall(space_id, limit)— get recent messagessearch(space_id, query, scope, tags)— semantic searchset_context(space_id, key, value)— set key-value contextget_context(space_id, key)— get context valueadd_entry(space_id, type, title, content, tags)— append entrybootstrap(space_id, ...)— load full context in one callset_shared(space_id, key, value)— shared world memorycreate_space(name, slug)— create a memory space
Get an API key
Sign up free at agenticmemory.ai. 1,000 messages/month on the free tier.
Links
Acknowledgements
The structured memory architecture was influenced by work from the h-network community by Halil Baysal.
License
Proprietary — Tyga.Cloud Ltd. See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agenticmemory_sdk-1.0.0.tar.gz.
File metadata
- Download URL: agenticmemory_sdk-1.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57874b69e473b72be51d344f6f1c050a94d507a5cc8709928f2cfd37403c8eba
|
|
| MD5 |
94b8830e42c522ddb050e1cae412e89d
|
|
| BLAKE2b-256 |
2999d2f7b1ac9e7682c80e03757adf1395e6cfe3acf77922ad6ada4c6da410e5
|
File details
Details for the file agenticmemory_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: agenticmemory_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2027b413340415c608b0af2b92746e036f8c195e6b9f987a1dc0e16c64ac7cd9
|
|
| MD5 |
8c7624e1c828ddcb88524f7da8895e01
|
|
| BLAKE2b-256 |
3a07a94f6f647437d83c17b56fe7c57b983b380818eea0327182a9de78b936f9
|