Skip to main content

Quick Start: CrewAI

Add persistent memory to your CrewAI agents in minutes.

Install

pip install "aegis-memory[crewai]"

Basic Setup

from aegis_memory.integrations.crewai import AegisCrewMemory
from crewai import Crew, Agent, Task

# Initialize memory
memory = AegisCrewMemory(
    api_key="your-aegis-key",
    namespace="my-crew"
)

# Create agents
researcher = Agent(
    role="Researcher",
    goal="Find accurate information",
    memory=True
)

writer = Agent(
    role="Writer",
    goal="Create clear content",
    memory=True
)

# Create crew with memory
crew = Crew(
    agents=[researcher, writer],
    tasks=[...],
    memory=memory
)

result = crew.kickoff()

What Gets Remembered

  • Research findings across sessions
  • What approaches worked
  • Agent coordination context
  • Lessons from failures

Next Steps