Memory handling
The Lillo Agent Memory System provides a multi-layered approach to state management and data persistence, combining short-term state tracking with long-term data storage.
Memory Architecture
1. State Management Layer
interface AgentCreationState {
userId: number;
step: AgentCreationStep;
data: {
bioField?: BioFieldState;
socialsField?: SocialsFieldState;
cryptoField?: CryptoFieldState;
};
lastUpdated: number;
isActive: boolean;
}2. Key-Value Store
3. Persistent Storage
Memory Types
1. Short-Term Memory
2. Long-Term Memory
Memory Operations
1. State Management
2. History Management
3. User Data Management
Best Practices
Example Usage
Related Documentation
Last updated