Memory Operations
Master storing, recalling, and managing memories with MEMANTO.Memory Fundamentals
What is a Memory?
A memory in MEMANTO contains:- Content - The actual information (required)
- Type - Semantic category (fact, preference, decision, etc.)
- Title - Short descriptor (optional)
- Confidence - How sure we are (0-1, default 1.0)
- Metadata - Custom tags or attributes (optional)
Memory Lifecycle
Storing Memories (Remember)
Single Memory - CLI
Store a simple fact:With Title and Metadata
All Memory Types
Batch Store - CLI
Store multiple memories from JSON file: Creatememories.json:
Via REST API
Single memory:Recalling Memories (Recall)
Semantic Search - CLI
Recall memories using natural language queries:Filter by Memory Type
Limit Results
Via REST API
Temporal Queries
Query memories from specific time periods.Recall as of Specific Time - CLI
Changed Since - CLI
Current Only - CLI
Via REST API
As of specific time:Grounded QA (Answer)
Get AI-powered answers grounded in memories.CLI Method
Via REST API
Contradiction Detection
Find Contradictions - CLI
Resolve Conflicts Interactively
Via REST API
Exporting Memories
Export to Markdown
~/.memanto/exports/agent_memory.md:
Export to Custom Output Path
Sync to MEMORY.md
Import memories into a project’s MEMORY.md file:MEMORY.md for integration with Claude Code and other tools.
Performance Tips
1. Use Specific Memory Types
Instead of storing everything as “fact”, use specific types:2. Batch Store When Possible
Storing 100 memories at once is faster than 100 individual calls:3. Query with Appropriate Limits
Don’t retrieve more than you need:4. Use Confidence Scoring
Store confidence levels to filter by reliability:Best Practices
DO
- Use specific memory types for better organization
- Store metadata for context
- Regularly validate important memories
- Archive superseded memories
- Monitor for conflicts periodically
DON’T
- Store duplicate memories
- Use generic memory types when specific ones exist
- Store with low confidence without reason
- Keep outdated memories without marking them
- Ignore detected conflicts
Next Steps
- Session Management: Session Management Guide
- Temporal Queries: Temporal Memory Details
- Memory Types: Complete Memory Types Reference
- CLI Reference: Memory Commands
- API Reference: Memory Endpoints
Memory operations are the core of MEMANTO. Master them to build intelligent, context-aware agents!