Metadata-Version: 2.4
Name: selfmemory
Version: 0.9.2
Summary: Enhanced Memory Management for AI Agents
Author: SelfMemory Team
Maintainer: SelfMemory Team
License-Expression: Apache-2.0
Project-URL: Homepage, https://selfmemory.com
Project-URL: Repository, https://github.com/selfmemory/selfmemory
Project-URL: Documentation, https://docs.selfmemory.com
Project-URL: Issues, https://github.com/selfmemory/selfmemory/issues
Project-URL: Changelog, https://github.com/selfmemory/selfmemory/blob/main/CHANGELOG.md
Keywords: memory,ai,ml,vector,search,embeddings,agents,llm,artificial-intelligence,qdrant,semantic-search
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Database :: Database Engines/Servers
Classifier: Topic :: Text Processing :: Indexing
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: chromadb>=1.0.0
Requires-Dist: qdrant-client>=1.12.0
Requires-Dist: pydantic<3.0.0,>=2.10.0
Requires-Dist: email-validator>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: cryptography>=44.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pyyaml>=6.0.0
Provides-Extra: test
Requires-Dist: pytest>=9.0.0; extra == "test"
Requires-Dist: pytest-asyncio>=1.0.0; extra == "test"
Requires-Dist: pytest-mock>=3.14.0; extra == "test"
Requires-Dist: pytest-cov>=6.0.0; extra == "test"
Requires-Dist: pytest-timeout>=2.0.0; extra == "test"
Requires-Dist: responses>=0.25.0; extra == "test"
Provides-Extra: dev
Requires-Dist: pytest>=9.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=1.0.0; extra == "dev"
Requires-Dist: pytest-mock>=3.14.0; extra == "dev"
Requires-Dist: pytest-cov>=6.0.0; extra == "dev"
Requires-Dist: responses>=0.25.0; extra == "dev"
Requires-Dist: ruff>=0.14.0; extra == "dev"
Requires-Dist: pre-commit>=4.3.0; extra == "dev"
Requires-Dist: build>=1.3.0; extra == "dev"
Requires-Dist: twine>=6.1.0; extra == "dev"
Requires-Dist: python-semantic-release>=10.0.0; extra == "dev"
Requires-Dist: commitizen>=4.4.0; extra == "dev"
Requires-Dist: fastapi>=0.115.0; extra == "dev"
Requires-Dist: fastapi-csrf-protect>=1.0.0; extra == "dev"
Requires-Dist: uvicorn>=0.30.0; extra == "dev"
Requires-Dist: starlette>=0.50.0; extra == "dev"
Requires-Dist: slowapi>=0.1.9; extra == "dev"
Requires-Dist: psutil>=7.0.0; extra == "dev"
Requires-Dist: pymongo>=4.10.0; extra == "dev"
Requires-Dist: ory-hydra-client>=25.4.0; extra == "dev"
Requires-Dist: ory-kratos-client>=25.4.0; extra == "dev"
Requires-Dist: argon2-cffi>=25.1.0; extra == "dev"
Requires-Dist: authlib>=1.6.5; extra == "dev"
Requires-Dist: google-auth>=2.40.0; extra == "dev"
Requires-Dist: mcp[cli]>=1.23.0; extra == "dev"
Requires-Dist: fastmcp>=3.0.0; extra == "dev"
Requires-Dist: ollama>=0.5.0; extra == "dev"
Requires-Dist: openai>=2.0.0; extra == "dev"
Requires-Dist: opentelemetry-api>=1.30.0; extra == "dev"
Requires-Dist: opentelemetry-sdk>=1.30.0; extra == "dev"
Requires-Dist: opentelemetry-exporter-otlp>=1.30.0; extra == "dev"
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.50b0; extra == "dev"
Requires-Dist: opentelemetry-instrumentation-httpx>=0.50b0; extra == "dev"
Requires-Dist: opentelemetry-instrumentation-pymongo>=0.50b0; extra == "dev"
Requires-Dist: opentelemetry-instrumentation-logging>=0.50b0; extra == "dev"
Dynamic: license-file

![SelfMemory](docs/static/img/github_banner.png)

[![CI](https://github.com/SelfMemory/SelfMemory/actions/workflows/ci.yml/badge.svg)](https://github.com/SelfMemory/SelfMemory/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/selfmemory)](https://pypi.org/project/selfmemory/)
[![Python](https://img.shields.io/pypi/pyversions/selfmemory)](https://pypi.org/project/selfmemory/)
[![License](https://img.shields.io/github/license/SelfMemory/SelfMemory)](https://github.com/SelfMemory/SelfMemory/blob/master/LICENSE.txt)
[![codecov](https://codecov.io/gh/SelfMemory/SelfMemory/graph/badge.svg)](https://codecov.io/gh/SelfMemory/SelfMemory)

# 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

```bash
pip install selfmemory
```

```python
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](https://docs.selfmemory.com) for complete documentation, guides, and examples.**

**Changelog**: See [CHANGELOG.md](CHANGELOG.md) for a detailed list of changes and updates.

## 🤝 Contributing

We welcome contributions! [CONTRIBUTING.md](CONTRIBUTING.md).

## 🔗 Links

- **Discord**: [discord.com/invite/selfmemory](https://discord.com/invite/YypBvdUpcc)
- **Brand Assets** (Logos, Slides, etc.): [Storage Link](https://drive.google.com/drive/folders/1paB9DkpPGv58_MC3P5C1el_Bw7lzYh-3?usp=sharing)
