> ## 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 • AI Agent SDK

> reset: Clear the history in memory *and* in the durable store.

# reset

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

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

Clear the history in memory *and* in the durable store.

## Signature

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

## Uses

* `reset`

## Used By

* [`ContextManager.process`](../functions/ContextManager-process)
* [`ContextManager.reset`](../functions/ContextManager-reset)
* [`ObservabilityHooks.start_execution`](../functions/ObservabilityHooks-start_execution)
* [`PersistentRestartLoopGuard.reset`](../functions/PersistentRestartLoopGuard-reset)
* [`Knowledge.reset`](../functions/Knowledge-reset)

## Source

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