Skip to main content

CrewAI Integration

Aegis provides specialized memory for CrewAI that supports multi-agent coordination and ACE patterns (Agentic Context Engineering).

Installation

Crew-Level Memory

Use AegisCrewMemory to provide shared long-term storage for an entire crew:

Agent-Specific Memory (ACE Patterns)

For advanced coordination, use AegisAgentMemory to enable scoped memory and self-improvement patterns:

Async CrewAI Workflows

When your CrewAI setup runs async tasks/tools, use AsyncAegisClient directly:
This avoids blocking the event loop and matches CrewAI async execution patterns.

Key Capabilities

Cross-Agent Queries

Agents can search for information stored by other agents if the scope allows.

Handoffs

Structured state transfer between agents with context preservation.

Playbooks

Query for proven strategies and reflections before starting a task.

Memory Voting

Track which memories lead to success vs failure.

Scope Hierarchy

Example: Research Team with Memory

Next Steps

ACE Patterns

Learn self-improvement patterns

Smart Memory

Automatic memory extraction