CrewAI + MEMANTO
How It Works
Prerequisites
- Python 3.8+
- Moorcheh API key
- MEMANTO server running locally
Install
Step 1: Start MEMANTO Server
Step 2: Create the Memory Tools
Creatememanto_tools.py:
Step 3: Build Your Crew
Createcrew.py:
Step 4: Run
Getting AI Answers from Memory
Theanswer tool uses MEMANTO’s built-in RAG to synthesize a response directly from stored memories — no extra LLM call needed. This is useful when an agent needs a clean, readable answer rather than a raw list of memory items.
Add it to memanto_tools.py alongside remember and recall:
When to useanswervsrecall
- Use
recallwhen the agent needs raw memory items to reason over.- Use
answerwhen the agent needs a ready-to-use response, such as for a final task output or a direct reply to a user.