At a glance
| Framework | Language | Adapter pattern | Install |
|---|---|---|---|
| CrewAI | Python | StorageBackend for unified Memory | pip install mubit-crewai[crewai] |
| LangGraph | Python | BaseStore with batch ops | pip install mubit-langgraph[langgraph] |
| LangGraph | JS | BaseStore with async ops | npm install @mubit-ai/langgraph |
| LangChain | Python | BaseMemory / MubitChatMemory | pip install mubit-langchain[langchain] |
| Google ADK | Python | BaseMemoryService for Runner | pip install mubit-adk[adk] |
| Agno | Python | MemoryDb + Toolkit | pip install mubit-agno[agno] |
| Vercel AI SDK | JS | wrapLanguageModel() middleware | npm install @mubit-ai/ai-sdk |
| MCP | Any | 10 tools over stdio transport | npm install @mubit-ai/mcp |
checkpoint, record_outcome, surface_strategies, register_agent, handoff, feedback, diagnose, reflect, lessons, archive, dereference.
CrewAI
Route CrewAI’s unified Memory system through MuBit. All agent observations persist across runs.Full example: Support Ticket Triage Crew
Full example: Support Ticket Triage Crew
A 3-agent crew (classifier, researcher, responder) that processes customer support tickets. Agents learn from previous triage outcomes via MuBit memory.
support_triage/main.py
LangGraph
Use MuBit as a persistent store for LangGraph StateGraphs. Each graph node can read/write memory viaPutOp and SearchOp.
Full example: Code Review Pipeline
Full example: Code Review Pipeline
A StateGraph with planner, reviewer loop, and summarizer. MuBit store persists findings across steps and sessions.
code_review/main.py
LangChain
Drop-inBaseMemory for any LangChain chain. Automatically loads context before each call and saves interactions after.
Full example: Research Assistant
Full example: Research Assistant
Multi-turn conversation with cross-session memory. Session 2 retrieves facts learned in Session 1.
research_assistant/main.py
Google ADK
Plug MuBit into ADK’s Runner as aBaseMemoryService. All session events are automatically ingested; memory search enriches agent context.
Full example: Travel Planner
Full example: Travel Planner
SequentialAgent with Gemini, tool calling, and MAS coordination. Three agents (flight finder, hotel finder, itinerary planner) collaborate through MuBit memory.
travel_planner/main.py
Agno
Use MuBit as a persistent memory backend and toolkit for Agno agents. The adapter provides two integration surfaces:MemoryDb for Agno’s built-in memory system, and a Toolkit with LLM-callable tools for remember, recall, reflect, checkpoint, and diagnose.
Full example: Basic Agent with Persistent Memory
Full example: Basic Agent with Persistent Memory
An Agno agent that uses MuBit as its memory backend. Memories persist across sessions, enabling cross-conversation learning.
basic.py
Vercel AI SDK
Middleware that wraps any AI SDK model with automatic memory injection and interaction capture.Full example: FAQ Bot
Full example: FAQ Bot
Multi-session FAQ bot with knowledge-base tool and cross-session learning. Session 2 benefits from lessons captured in Session 1.
faq_bot/index.mjs
MCP
Expose MuBit as 10 tools over MCP stdio transport, usable by any MCP-compatible agent (Claude, Cursor, etc.).Full tool surface
Full tool surface
Core memory tools:
mubit_remember, mubit_recall, mubit_context, mubit_archive, mubit_dereference, mubit_reflect, mubit_lessons, mubit_forget, mubit_statusMAS and learning-loop tools: mubit_checkpoint, mubit_outcome, mubit_strategies, mubit_register_agent, mubit_list_agents, mubit_handoff, mubit_feedbackObservability tools: mubit_memory_health, mubit_diagnoseExample flows:Common MAS extensions
All adapters expose these MuBit-specific methods beyond the base framework interface:| Method | Purpose |
|---|---|
checkpoint() | Save a snapshot of memory state |
record_outcome() | Record success/failure with RL-like signal |
surface_strategies() | Extract reusable strategy clusters from lessons |
register_agent() | Register agent with role, scopes, capabilities |
handoff() | Transfer control between agents with context |
feedback() | Submit feedback on a handoff |
diagnose() | Surface failure-path lessons for debugging |
get_context() | Fetch assembled context block with token budget |
reflect() | Extract lessons from session evidence |
lessons() | List lessons with optional filtering |
archive() | Store exact reusable artifacts with stable reference IDs |
dereference() | Fetch exact content by reference ID |