> ## 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: Reset all state.

# reset

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

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

Reset all state.

## Signature

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

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `ExecutionMetrics`

## Used By

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

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/escalation/observability.py#L263">
  `praisonaiagents/escalation/observability.py` at line 263
</Card>
