Metadata-Version: 2.4
Name: crewai-superlocalmemory
Version: 0.1.0
Summary: SuperLocalMemory V3 storage backend for CrewAI — local-first, privacy-compliant memory
Project-URL: Homepage, https://superlocalmemory.com
Project-URL: Repository, https://github.com/qualixar/crewai-superlocalmemory
Project-URL: Documentation, https://github.com/qualixar/superlocalmemory/wiki
Project-URL: Paper, https://arxiv.org/abs/2603.14588
Project-URL: Author, https://varunpratap.com
Project-URL: Qualixar, https://qualixar.com
Author-email: Varun Pratap Bhardwaj <admin@superlocalmemory.com>
License: MIT
License-File: LICENSE
Keywords: agent-memory,ai-memory,crewai,eu-ai-act,local-first,privacy,qualixar,storage-backend
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Requires-Dist: crewai>=0.100.0
Requires-Dist: superlocalmemory>=3.0.14
Provides-Extra: test
Requires-Dist: pytest-cov>=5.0; extra == 'test'
Requires-Dist: pytest>=8.0; extra == 'test'
Description-Content-Type: text/markdown

# crewai-superlocalmemory

[CrewAI](https://crewai.com) storage backend powered by [SuperLocalMemory V3](https://superlocalmemory.com) — local-first, privacy-compliant crew memory.

## Features

- **StorageBackend Protocol** — Drop-in replacement for CrewAI's default LanceDB storage
- **Local-first** — All crew memories stay on your device (Mode A: zero cloud)
- **EU AI Act compliant** — Data never leaves the device, no DPA required
- **Profile isolation** — Different crews get isolated memory spaces

## Installation

```bash
pip install crewai-superlocalmemory
```

## Usage

```python
from crewai import Crew, Agent, Task, Memory
from crewai_superlocalmemory import SuperLocalMemoryBackend

# Create SLM-backed storage
backend = SuperLocalMemoryBackend(profile_id="my-crew")

# Use with CrewAI Memory
crew = Crew(
    agents=[researcher, writer],
    tasks=[research_task, write_task],
    memory=Memory(storage=backend),
)

result = crew.kickoff()
```

### Profile Isolation

```python
# Each crew gets its own isolated memory space
alpha_backend = SuperLocalMemoryBackend(profile_id="crew-alpha")
beta_backend = SuperLocalMemoryBackend(profile_id="crew-beta")
```

### Modes

| Mode | Privacy | Use Case |
|------|---------|----------|
| `a` | Maximum (zero cloud) | EU AI Act compliant crews |
| `b` | High (local Ollama) | Private + LLM assist |
| `c` | Standard (cloud LLM) | Maximum accuracy |

## Links

- [SuperLocalMemory](https://superlocalmemory.com)
- [Paper: arXiv:2603.14588](https://arxiv.org/abs/2603.14588)
- [GitHub](https://github.com/qualixar/superlocalmemory)

## License

MIT

Part of [Qualixar](https://qualixar.com) | Author: [Varun Pratap Bhardwaj](https://varunpratap.com)
