> ## 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 Manager Protocol • AI Agent SDK

> LearnManagerProtocol: Protocol for LearnManager implementations.

# LearnManagerProtocol

> Defined in the [**protocols**](../modules/protocols) module.

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

Protocol for LearnManager implementations.

Defines the interface for managing learning across multiple stores.

## Methods

<CardGroup cols={2}>
  <Card title="capture_persona()" icon="function" href="../functions/LearnManagerProtocol-capture_persona">
    Capture user preference or profile information.
  </Card>

  <Card title="capture_insight()" icon="function" href="../functions/LearnManagerProtocol-capture_insight">
    Capture an observation or learning.
  </Card>

  <Card title="capture_pattern()" icon="function" href="../functions/LearnManagerProtocol-capture_pattern">
    Capture a reusable knowledge pattern.
  </Card>

  <Card title="get_learning_context()" icon="function" href="../functions/LearnManagerProtocol-get_learning_context">
    Get learning context from all enabled stores.
  </Card>

  <Card title="search()" icon="function" href="../functions/LearnManagerProtocol-search">
    Search across all enabled stores.
  </Card>

  <Card title="to_system_prompt_context()" icon="function" href="../functions/LearnManagerProtocol-to_system_prompt_context">
    Generate context for system prompt injection.
  </Card>

  <Card title="process_conversation()" icon="function" href="../functions/LearnManagerProtocol-process_conversation">
    Process a conversation to extract learnings automatically.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/learn/protocols.py#L212">
  `praisonaiagents/memory/learn/protocols.py` at line 212
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agent Learn" icon="graduation-cap" href="/docs/docs/concepts/agent-learn" />

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