Skip to main content

SelfMemory

CI PyPI Python PyPI downloads npm downloads License codecov

SelfMemory

Store AI memories for you and your agents

It is a open-source universal memory engine where users can store and retrieve their AI conversations and context across different models. Users can add memories through MCP, SDK, or a website selfmemory.com Over time, this will evolve into a one-stop memory hub with note-taking and chatbot features. For B2B, it becomes a knowledge backbone, storing project context, organizational knowledge, documents, and data sources to power company-wide AI systems.

🚀 Quick Start

pip install selfmemory
from selfmemory import SelfMemory

memory = SelfMemory()

# Add memories
memory.add("Can you find the nearest BMW car showroom for me.", user_id="user")

# Search memories
results = memory.search("Can you find a car washing service near me?", user_id="user")
print(results)

📚 Full Documentation

Visit docs.selfmemory.com for complete documentation, guides, and examples.

Changelog: See CHANGELOG.md for a detailed list of changes and updates.

🤝 Contributing

We welcome contributions! CONTRIBUTING.md.

🔗 Links

Metadata

Release files for selfmemory 0.9.6

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

Source distribution (sdist)

Source distribution for selfmemory 0.9.6
File Size Uploaded
selfmemory-0.9.6.tar.gz 185.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for selfmemory 0.9.6
File Interpreter ABI Platform
selfmemory-0.9.6-py3-none-any.whl Python 3 none any Details

Total release size: 440.3 kB

Release files / selfmemory-0.9.6.tar.gz

Download URL selfmemory-0.9.6.tar.gz
Size 185.9 kB
Tags Source
SHA-256 checksum
How to use checksums
76d273aa76a035b92eb11b84bbc0b852269e1dc4be311490e1753870899ab3e3
BLAKE2b-256 checksum
How to use checksums
5a7a62415a9b1bc8a3390e41d4719e08c8cf694ae36756e332321b801227ff14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Release files / selfmemory-0.9.6-py3-none-any.whl

Download URL selfmemory-0.9.6-py3-none-any.whl
Size 254.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdef5111aa77e9b81a4a0c78c9d1d67b85428a3057230889ed0638b12fb5f3dd
BLAKE2b-256 checksum
How to use checksums
6df9febf4f15914daf8eaf7b9207caa6d56d36287d695114e9ec22607190f0f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log
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