Skip to main content
Archived

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:

  • remembermimir_remember
  • recallmimir_recall
  • journalmimir_journal
  • contextmimir_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

mimir_crewai-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mimir_crewai-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for mimir_crewai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 27d363c6b977b4946998acc0c293b6ff514ffd21b02158b14645d1b58b99a95a
MD5 a20b70f5f43678bf0ab3b933203e8970
BLAKE2b-256 3b63da5df568edc7b1739ff52b6822e855681aa94a3bcc1ef6236dd08263201a

See more details on using hashes here.

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

Hashes for mimir_crewai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f68bfa80829dedd9d93c73f149e3f96242018992a40932b7e2a8e82d77ec851
MD5 d5117320762ee0388324409e7c63d93b
BLAKE2b-256 807604c7f22c03a16a257cbc26cf48ca721917288165565c5239c898dd1e7591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page