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

# Reset All • AI Agent SDK

> reset_all: Discard all cached state (agent, environment, session, client).

# reset\_all

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

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

Discard all cached state (agent, environment, session, client).

Next execute() call will re-create everything from scratch.

## Signature

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

## Source

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