Memory Management
Erdo’s memory system provides persistent storage and intelligent retrieval of information across agent executions. This enables agents to build up knowledge over time, remember context from previous interactions, and share insights across different workflows.Core Concepts
Memory Structure
Memories in Erdo are structured documents that can store various types of information:Memory Types
Erdo supports different memory types for various use cases:Business Insights
- Analysis results - Key findings - Performance metrics - Strategic recommendations
Technical Knowledge
- Code patterns - System configurations - Error solutions - Best practices
User Preferences
- Workflow preferences - Output formats - Custom settings - Historical choices
Process Documentation
- Workflow steps - Decision trees - Standard procedures - Troubleshooting guides
Memory Storage Actions
Store Memory
Store new information for future retrieval:Update Memory
Modify existing memories with new information:Delete Memory
Remove outdated or incorrect information:Memory Retrieval Actions
Search Memory
Find relevant memories using semantic search:Search from Queries
Search memories using multiple related queries:Process Integration Queries
Handle complex queries that span multiple data sources:Advanced Memory Patterns
Contextual Memory Chains
Build context across multiple agent executions:Knowledge Accumulation
Build up domain knowledge over time:Memory Organization
Tagging Strategy
Use consistent tagging for effective memory organization:Memory Lifecycle Management
Implement memory lifecycle policies:Performance & Optimization
Efficient Search Patterns
Optimize memory searches for performance:Batch Operations
Process multiple memories efficiently:Integration with Agent Workflows
Memory-Aware Agents
Design agents that leverage memory effectively:Memory Security & Privacy
Access Control
Implement proper access controls for sensitive memories:Data Retention
Implement retention policies:Best Practices
Memory Design
Memory Design
Structured Content: Use consistent content structure across memory typesRich Metadata: Include comprehensive metadata for better searchabilitySemantic Searchability: Write searchable_texts that match how users will queryVersion Control: Track changes and updates to important memories
Search Optimization
Search Optimization
Specific Queries: Use specific rather than generic search termsTag Filtering: Leverage tags to narrow search scopeConfidence Thresholds: Set appropriate confidence levels for resultsResult Limiting: Use reasonable limits to improve performance
Organization
Organization
Consistent Tagging: Develop and follow consistent tagging conventionsType Classification: Use memory types to categorize different kinds of contentLifecycle Management: Implement policies for memory archival and cleanupAccess Controls: Apply appropriate security measures for sensitive content
Performance
Performance
Batch Operations: Use batch operations for multiple memory actionsTargeted Searches: Filter searches to reduce scope and improve speedCache Strategy: Consider caching frequently accessed memoriesCleanup Policies: Regular cleanup prevents memory bloat