CrewAI long-term memory adapter for the Mnemosyne memory substrate. Implements the LongTermMemory protocol via duck typing, with per-agent and per-task scoping, hybrid BM25+vector recall, idempotent writes.
Project description
mnemosyne-crewai
CrewAI long-term memory adapter for the Mnemosyne memory substrate. Implements the LongTermMemory protocol via duck typing, with per-agent and per-task scoping, hybrid BM25+vector recall, and idempotent writes.
Install
pip install mnemosyne-crewai
Quick start
from mnemosyne_crewai import MnemosyneLongTermMemory, MnemosyneMemoryTool
from crewai import Agent, Crew, Task
# Long-term memory for the crew
ltm = MnemosyneLongTermMemory(container_tag="research-crew")
# Save a memory
ltm.save("GPT-5 is now the default flagship model.", agent="researcher")
# Search
results = ltm.search("latest model", limit=5)
for r in results:
print(r["content"], r["score"])
# Tool
tool = MnemosyneMemoryTool(container_tag="research-crew")
agent = Agent(
role="Researcher",
goal="Find the latest AI news",
backstory="Expert AI researcher.",
tools=[tool],
)
task = Task(description="What's the latest model?", agent=agent)
crew = Crew(agents=[agent], tasks=[task])
crew.kickoff()
License
MIT © Geass Labs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mnemosyne_crewai-0.1.0.tar.gz.
File metadata
- Download URL: mnemosyne_crewai-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf7bfe8eba07e9c459383136f1ff11ac88967edef507302093e71f1174ad57f8
|
|
| MD5 |
e7212234eedffb891fade8d974023f2b
|
|
| BLAKE2b-256 |
e4c2a95dadcca6a365da780c7a96d46cbb77006d245bf36c2436a2f2a6eb3583
|
File details
Details for the file mnemosyne_crewai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mnemosyne_crewai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95bd358475c71f2606db6ae8b653c169dbe47e56dff987b313287532d4068d68
|
|
| MD5 |
6593277d5ccd36e6fae34c04b92bbe72
|
|
| BLAKE2b-256 |
7f0db633b4631c84022292abfbe04e33f7471c8be0c87e1a5bf9c34b705770e2
|