This project has been archived by its maintainers, and is no longer receiving any updates.
Mimir CrewAI Integration
Persistent memory for CrewAI agents via Mimir.
Install
Install from source (not yet published to PyPI):
pip install crewai
pip install -e integrations/crewai/
Quick Start
from crewai import Agent, Task, Crew
from mimir_crewai import MimirMemoryTool
# Create the memory tool
memory = MimirMemoryTool(
db_path="~/.mimir/data/crew.db"
)
# Give it to your agents
researcher = Agent(
role="Senior Researcher",
goal="Find and analyze information",
backstory="Expert at gathering and synthesizing data",
tools=[memory],
verbose=True,
)
# Agents use it naturally
task = Task(
description=(
"Research the competitor's pricing strategy. "
"Use Mimir Memory to recall any previous findings on this topic, "
"then remember your new conclusions."
),
agent=researcher,
expected_output="A report with pricing analysis",
)
crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
Available Actions
| Action | Description | Parameters |
|---|---|---|
remember |
Store a fact or decision | category, key, content, entity_type? |
recall |
Search stored memories | query, category?, limit? |
journal |
Record a significant event | event_type, description, context? |
context |
Get session context summary | (none) |
How It Works
The MimirMemoryTool wraps Mimir's MCP tools as a CrewAI tool:
remember→mimir_rememberrecall→mimir_recalljournal→mimir_journalcontext→mimir_context
All memories persist across sessions and crews. Agents can build up a shared knowledge base over time.
Requirements
- Mimir v1.0.0+ (
curl -sSL https://raw.githubusercontent.com/Perseus-Computing-LLC/mimir/main/scripts/bootstrap.sh | bash) - CrewAI >= 0.30.0
- Python 3.10+
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 mimir_crewai-0.1.1.tar.gz.
File metadata
- Download URL: mimir_crewai-0.1.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27d363c6b977b4946998acc0c293b6ff514ffd21b02158b14645d1b58b99a95a
|
|
| MD5 |
a20b70f5f43678bf0ab3b933203e8970
|
|
| BLAKE2b-256 |
3b63da5df568edc7b1739ff52b6822e855681aa94a3bcc1ef6236dd08263201a
|
File details
Details for the file mimir_crewai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mimir_crewai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f68bfa80829dedd9d93c73f149e3f96242018992a40932b7e2a8e82d77ec851
|
|
| MD5 |
d5117320762ee0388324409e7c63d93b
|
|
| BLAKE2b-256 |
807604c7f22c03a16a257cbc26cf48ca721917288165565c5239c898dd1e7591
|