Skip to main content

LearnConfig

Defined in the feature_configs module.
Configuration for continuous learning within memory system. Learning captures patterns, preferences, and insights from agent interactions to improve future responses. All learning data is stored within the memory system.

Properties

persona
bool
No description available.
insights
bool
No description available.
thread
bool
No description available.
patterns
bool
No description available.
decisions
bool
No description available.
feedback
bool
No description available.
improvements
bool
No description available.
scope
Union
No description available.
store_path
Optional
No description available.
auto_consolidate
bool
No description available.
retention_days
Optional
No description available.
  • to_dict: Convert to dictionary.

Usage

# Simple enable
    Agent(memory=MemoryConfig(learn=True))
    
    # With specific capabilities
    Agent(memory=MemoryConfig(
        learn=LearnConfig(
            persona=True,      # User preferences
            insights=True,     # Observations
            patterns=True,     # Reusable knowledge
        )
    ))