> ## 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.

# Capture Insight • AI Agent SDK

> capture_insight: Capture an observation or learning.

# capture\_insight

Method

> This is a method of the [**LearnManagerProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/LearnManagerProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Capture an observation or learning.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def capture_insight(content: str, source: str) -> Optional[Dict[str, Any]]
```

## Parameters

**content** `str` *required*

No description available.

**source** `str` (default: 'interaction')

No description available.

### Returns

**Returns** `Optional[Dict[str, Any]]`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/learn/protocols.py#L223)
>
> `praisonaiagents/memory/learn/protocols.py` at line 223


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.