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
🚀 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_configcan include values such ashost,org_id, andproject_id.- Operation-specific arguments are passed through
add_args,get_args,search_args, ordelete_argsdepending on the selected template. Mem0ManagedDeleteAlluses only the configureddelete_argsscope; it does not derive scope from packet identity.
🧱 OSS Templates
- OSS templates use the self-hosted Mem0 backend through
Memory. memory_configis used to configure the local backend.- The same operation families are available: add, get, search, delete, and reset.
Mem0OSSDeleteAlluses only the configureddelete_argsscope; it does not derive scope from packet identity.
📚 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sinapsis_mem0-0.2.1.tar.gz | 25.6 kB | Without provenance | Details for sinapsis_mem0-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sinapsis_mem0-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for sinapsis_mem0-0.2.1-py3-none-any.whl |
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
|
Security for sinapsis-mem0 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.