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

# load • AI Agent SDK

> load: Load state from file.

# load

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

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

Load state from file.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def load() -> None
```

## Uses

* `exists`
* `json.load`

## Used By

* [`PermissionAllowlist.load`](../functions/PermissionAllowlist-load)
* [`FileTracker.load`](../functions/FileTracker-load)
* [`Knowledge.index`](../functions/Knowledge-index)
* [`ToolRegistry.discover_plugins`](../functions/ToolRegistry-discover_plugins)

## Source

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