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

Method

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

Load state from file.

## Signature

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

## Uses

* `exists`
* `json.load`
* `logger.warning`

## Used By

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

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/knowledge/indexing.py#L428)
>
> `praisonaiagents/knowledge/indexing.py` at line 428


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