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

Method

> This is a method of the [**PersistentRestartLoopGuard**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/PersistentRestartLoopGuard.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) 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] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L6316)
>
> `praisonaiagents/gateway/protocols.py` at line 6316


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