Skip to main content

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 message
  • recall(space_id, limit) — get recent messages
  • search(space_id, query, scope, tags) — semantic search
  • set_context(space_id, key, value) — set key-value context
  • get_context(space_id, key) — get context value
  • add_entry(space_id, type, title, content, tags) — append entry
  • bootstrap(space_id, ...) — load full context in one call
  • set_shared(space_id, key, value) — shared world memory
  • create_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agenticmemory_sdk-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

agenticmemory_sdk-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

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

Hashes for agenticmemory_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 57874b69e473b72be51d344f6f1c050a94d507a5cc8709928f2cfd37403c8eba
MD5 94b8830e42c522ddb050e1cae412e89d
BLAKE2b-256 2999d2f7b1ac9e7682c80e03757adf1395e6cfe3acf77922ad6ada4c6da410e5

See more details on using hashes here.

File details

Details for the file agenticmemory_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agenticmemory_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2027b413340415c608b0af2b92746e036f8c195e6b9f987a1dc0e16c64ac7cd9
MD5 8c7624e1c828ddcb88524f7da8895e01
BLAKE2b-256 3a07a94f6f647437d83c17b56fe7c57b983b380818eea0327182a9de78b936f9

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