cerebro-1.1.4 has been yanked.
Cerebro 🧠
A blazing-fast, storage-agnostic Memory Layer for AI Agents, written in pure Rust.
Cerebro functions as the Hippocampus for autonomous AI. It natively understands Agentic Memory structures (Working, Episodic, and Semantic memory) with pluggable storage backends.
With SwarmForge, it provides a built-in multi-agent orchestration engine — enabling teams of specialized AI agents to collaborate through its three-tier memory system.
Quick Start
[]
= "1.1.4"
Memory Engine + Hybrid Search
use *;
use Arc;
async
SwarmForge — Multi-Agent Orchestration
use *;
use *;
use Arc;
async
Features
- 🚀 Minimal Overhead: Powered by a lean async pipeline in Rust, designed for high-scale agentic workloads.
- 🔌 Universal Storage: Trait-based backends — swap between MemoryVectorStore, PgVectorStore, or Qdrant.
- 🧠 Pluggable Compute: Route embeddings through local models (Candle) or remote APIs (OpenAI, Anthropic).
- 🔄 Active Consolidation: Background "Sleep Cycle" worker for autonomous memory pruning and semantic organization.
- 🔍 Hybrid Search: Native RRF (Reciprocal Rank Fusion) combining keyword and vector retrieval for highest precision.
- 🐝 SwarmForge: Multi-agent swarming engine with sequential, parallel, and hierarchical orchestration patterns.
- 🤖 Universal LLM: Supports Ollama, OpenAI, Gemini, Anthropic, and any OpenAI-compatible API.
- 🌐 MCP Ready: Native Model Context Protocol server (cerebro-mcp) for AI desktop apps.
- 🦀 Multi-Language: Native Python (PyO3) and WASM bindings.
- 📄 Complex Ingestion: PDF extraction and HTML-aware semantic chunking.
License
MIT