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

> reset_session: Discard the cached session so the next execute() creates a fresh one.

# reset\_session

Method

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

Discard the cached session so the next execute() creates a fresh one.

The agent and environment remain cached for reuse.

## Signature

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

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L398)
>
> `praisonaiagents/agent/protocols.py` at line 398

***

## Related Documentation

> [card] [Session Management](https://praison.ai/docs/docs/concepts/session-management)

> [card] [Sessions Feature](https://praison.ai/docs/docs/features/sessions)

> [card] [Session Persistence](https://praison.ai/docs/docs/features/session-persistence)


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