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.5.0.tar.gz (21.1 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.5.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memorer-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bcf641a09cd353e30db9c8289a3e9c1d6a2f95a9629bb9b54dd0396609cca1f9
MD5 0dddc485bb29d258c467357fe426642b
BLAKE2b-256 4eb5ec06e6be3b6c4347537e6c58314c756676db991b541144d98726d4cdafc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: memorer-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4681bdb00c8ac1061cfa31ff29a0ee3e586ffce2fe0ef4c3061059d798acd5
MD5 4d9934c29bccfca457120d94554bf020
BLAKE2b-256 b340045e5d823e304ba6965646d0921e2dbc440286a9b2171a40806c7b5d7390

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