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

# search • AI Agent SDK

> search: Search across all enabled stores.

# search

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.

Search across all enabled stores.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def search(query: str, limit: int) -> Dict[str, List[Dict[str, Any]]]
```

## Parameters

**query** `str` *required*

No description available.

**limit** `int` (default: 10)

No description available.

### Returns

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

The result of the operation.

## Used By

* [`get_version`](../functions/get_version)
* [`process_task_context`](../functions/process_task_context)
* [`evaluate_condition`](../functions/evaluate_condition)
* [`Knowledge.search`](../functions/Knowledge-search)
* [`safe_mem0_search`](../functions/safe_mem0_search)

## Source

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


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