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

# add • AI Agent SDK

> add: Add content to the knowledge store.

# add

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**KnowledgeStoreProtocol**](../classes/KnowledgeStoreProtocol) class in the [**protocols**](../modules/protocols) module.

Add content to the knowledge store.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def add(content: Any) -> AddResult
```

## Parameters

<ParamField query="content" type="Any" required={true}>
  Content to add (string, file path, or structured data)
</ParamField>

### Returns

<ResponseField name="Returns" type="AddResult">
  AddResult with operation status
</ResponseField>

## Used By

* [`AutonomyTrigger.recommend_stage`](../functions/AutonomyTrigger-recommend_stage)
* [`DeepResearchResponse.get_all_sources`](../functions/DeepResearchResponse-get_all_sources)
* [`AgentTeam.wait_for_completions`](../functions/AgentTeam-wait_for_completions)
* [`AgentTeam.await_for_completions`](../functions/AgentTeam-await_for_completions)
* [`PermissionAllowlist.add_tool`](../functions/PermissionAllowlist-add_tool)

## Source

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