How moorcheh-ai/memanto works
Memanto is a companion memory agent for managing shared agent memory: capturing and curating knowledge, reconciling conflicts, applying forgetting policies, briefing agents, and moving data between systems. Its main user workflow runs through the CLI and local service/API; optional framework integrations expose Memanto to agent runtimes. The README documents several product capabilities whose detailed wiring is not shown in the sampled source, so those branches are represented at subsystem level and uncertain links are omitted.
Main entry points: app/main.py Service API · ui_router.py Local Dashboard · handler.py Langfuse Capture · cli/main.py Memanto CLI
Components 23
User Interfaces
- Memanto CLI
memanto/cli/main.py - Service API
memanto/app/main.py - Local Dashboard
memanto/app/ui/routes/ui_router.py - Memory Routes
memanto/app/routes/memory.py - Session Routes
memanto/app/routes/sessions.py
Memory Management
- Memory Recall
memanto/app/services/memory_read_service.py - Memory Writes
memanto/app/services/memory_write_service.py - Conversation Extraction
memanto/app/services/conversation_memory_extraction_service.py - Expiry Policies
memanto/app/services/memory_policy_service.py - Agent Namespaces
memanto/app/services/namespace_service.py - Moorcheh Backend
memanto/app/clients/moorcheh.py
Curation Operations
- Daily Analysis
memanto/app/services/daily_analysis_service.py - Conflict Handling
memanto/app/services/agent_service.py - Daily Scheduler
memanto/cli/schedule_manager.py
Portability
- Memory Export
memanto/app/services/memory_export_service.py - OKF Export
memanto/app/services/okf_export_service.py - Provider Migration
memanto/cli/migrate/runner.py
Agent Integrations
- Agent Connections
memanto/cli/connect/engine.py - MCP Tools
integrations/mcp/memanto_mcp/server.py - Langfuse Capture
integrations/langfuse/langfuse_memanto/handler.py - Framework Adapters
integrations
Other components
- Operator
- Agent Fleet
Connections 12
- Operator → Memanto CLI: runs commands
- Operator → Local Dashboard: manages memory
- Agent Fleet → Service API: uses service
- Service API → Memory Routes: mounts routes
- Service API → Session Routes: mounts routes
- Service API → Local Dashboard: mounts dashboard
- Agent Fleet → MCP Tools: calls tools
- Langfuse Capture → Memory Writes: writes captured spans
- Operator → Agent Connections: installs integrations
- Operator → Daily Scheduler: enables schedule
- Operator → Provider Migration: imports data
- Operator → Memory Export: exports estate