> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Learn Config • AI Agent SDK

> LearnConfig: Configuration for continuous learning within memory system.

# LearnConfig

> Defined in the [**Feature Configs**](../modules/feature_configs) module.

<Badge color="blue">AI Agent</Badge>

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

<ResponseField name="persona" type="bool">
  No description available.
</ResponseField>

<ResponseField name="insights" type="bool">
  No description available.
</ResponseField>

<ResponseField name="thread" type="bool">
  No description available.
</ResponseField>

<ResponseField name="patterns" type="bool">
  No description available.
</ResponseField>

<ResponseField name="decisions" type="bool">
  No description available.
</ResponseField>

<ResponseField name="feedback" type="bool">
  No description available.
</ResponseField>

<ResponseField name="improvements" type="bool">
  No description available.
</ResponseField>

<ResponseField name="scope" type="Union">
  No description available.
</ResponseField>

<ResponseField name="store_path" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="auto_consolidate" type="bool">
  No description available.
</ResponseField>

<ResponseField name="retention_days" type="Optional">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Convert to dictionary.
</Accordion>

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# 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
        )
    ))
```

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/config/feature_configs.py#L61">
  `praisonaiagents/config/feature_configs.py` at line 61
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/configuration/agent-config" />

  <Card title="Agent Learn" icon="graduation-cap" href="/docs/concepts/agent-learn" />

  <Card title="Learn Configuration" icon="gear" href="/docs/configuration/learn-config" />
</CardGroup>
