Skip to main content



Sinapsis Mem0

Sinapsis templates for managed and self-hosted Mem0 memory workflows.

🐍 Installation • 🚀 Features • 📚 Usage example • 📙 Documentation • 🔍 License

The sinapsis-mem0 package adds persistent memory workflows to Sinapsis agents through both the managed Mem0 platform and the open-source self-hosted backend.

🐍 Installation

Install using your preferred package manager. We strongly recommend using uv.

uv pip install sinapsis-mem0 --extra-index-url https://pypi.sinapsis.tech

Or with raw pip:

pip install sinapsis-mem0 --extra-index-url https://pypi.sinapsis.tech

[!IMPORTANT] Managed Mem0 templates require an API key:

export MEM0_API_KEY="your-api-key"

🚀 Features

Templates Supported

  • Managed Mem0 templates: Mem0ManagedAdd, Mem0ManagedGetAll, Mem0ManagedGetMemory, Mem0ManagedSearch, Mem0ManagedDeleteAll, Mem0ManagedDeleteMemory, Mem0ManagedReset
  • OSS Mem0 templates: Mem0OSSAdd, Mem0OSSGetAll, Mem0OSSGetMemory, Mem0OSSSearch, Mem0OSSDeleteAll, Mem0OSSDeleteMemory, Mem0OSSReset
🌍 Managed Templates
  • Managed templates use the Mem0 platform through MemoryClient.
  • memory_config can include values such as host, org_id, and project_id.
  • Operation-specific arguments are passed through add_args, get_args, search_args, or delete_args depending on the selected template.
  • Mem0ManagedDeleteAll uses only the configured delete_args scope; it does not derive scope from packet identity.
🧱 OSS Templates
  • OSS templates use the self-hosted Mem0 backend through Memory.
  • memory_config is used to configure the local backend.
  • The same operation families are available: add, get, search, delete, and reset.
  • Mem0OSSDeleteAll uses only the configured delete_args scope; it does not derive scope from packet identity.

[!TIP] Use CLI command sinapsis info --all-template-names to show a list with all the available Template names installed with Sinapsis Mem0.

📚 Usage example

The following agent retrieves all memories for the given user_id and run_id from the managed Mem0 platform.

Config
agent:
  name: mem0_managed_get_all_memories
  description: Retrieves all scoped memories from managed Mem0.

templates:
  - template_name: InputTemplate
    class_name: InputTemplate
    attributes: {}

  - template_name: Mem0ManagedGetAll
    class_name: Mem0ManagedGetAll
    template_input: InputTemplate
    attributes:
      get_args:
        user_id: Sarah
        run_id: conv_1234

📙 Documentation

Documentation for this and other sinapsis packages is available on the sinapsis website

Tutorials for different projects within sinapsis are available at sinapsis tutorials page

🔍 License

This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the LICENSE file.

For commercial use, please refer to our official Sinapsis website for information on obtaining a commercial license.

Metadata

Release files for sinapsis-mem0 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sinapsis-mem0 0.2.1
File Size Uploaded
sinapsis_mem0-0.2.1.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sinapsis-mem0 0.2.1
File Interpreter ABI Platform
sinapsis_mem0-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 61.9 kB

Release files / sinapsis_mem0-0.2.1.tar.gz

Download URL sinapsis_mem0-0.2.1.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
015ea82e9fa5a7279f46ce12f44de0dd0a0c760ff15202f3de305402b6a9e8af
BLAKE2b-256 checksum
How to use checksums
3fb3519e18999f2cd6f88daa3806db8ff72900914a2d12c4fc35707de632fa21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release files / sinapsis_mem0-0.2.1-py3-none-any.whl

Download URL sinapsis_mem0-0.2.1-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dce3a58096d189202a16f9a2af3b70265b97d9c11bbaefcdc55c24f2018d3982
BLAKE2b-256 checksum
How to use checksums
434250843e16fae86cb60a9ac7fd0e040a4bb3fc2aefc6b55f74ea6bce0d07b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page