Skip to main content

Semantic memory for conversational AI - remember, recall, forget. Sub-100ms retrieval with emotional ranking and graph reasoning.

Project description

Memorer Python SDK

Memory for AI agents. Remember conversations, recall context, forget when needed.

pip install memorer

Usage

from memorer import Memorer

client = Memorer(api_key="mem_sk_...")
user = client.for_user("user-123")

# During conversation, store what matters
user.remember("User mentioned they're allergic to shellfish")
user.remember("Has a meeting with Sarah next Friday at 2pm")
user.remember("Just adopted a dog named Biscuit")

# Before responding, recall relevant context
results = user.recall("any dietary restrictions?")
print(results.context)
# → "User is allergic to shellfish"

results = user.recall("what's on their schedule?")
print(results.context)
# → "Meeting with Sarah on Friday at 2pm"

Graph Reasoning

Connect memories across conversations:

results = user.recall(
    "gift ideas for them",
    use_graph_reasoning=True,
)
# → Connects: new dog + mentioned liking outdoors → dog hiking gear

Resources

entities = user.entities.list()
memories = user.memories.list()
communities = client.graph.communities()

Links

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

memorer-0.4.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

memorer-0.4.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file memorer-0.4.0.tar.gz.

File metadata

  • Download URL: memorer-0.4.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for memorer-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d79cbb1c3f42c56d87e6acfb0cca2a0816ebd87418dd0ba638c422720ae7f477
MD5 fde9e6280185bf1517a13e689cde4296
BLAKE2b-256 493f81f72b0999e395ab83f62fd5672ebe1cfea7c93ea74f5d831b02e9614296

See more details on using hashes here.

File details

Details for the file memorer-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: memorer-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for memorer-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c8df581ff31d98c68eb19c22d1afe58c2bb353e9bd2960846d4ac30b3c1bdf
MD5 347973d96d303a1b178b493e4ed0c4d1
BLAKE2b-256 4e9e4f7ae8bd374f9185f7f33b07a7c5bb7c38e669630de579d69a56edcb8128

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