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

> reset_long_term: Clear all long-term (``episodic``) memory for the agent.

# reset\_long\_term

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

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

Clear all long-term (`episodic`) memory for the agent.

## Signature

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

## Used By

* [`Memory.reset_long_term`](../functions/Memory-reset_long_term)
* [`Memory.reset_entity_only`](../functions/Memory-reset_entity_only)
* [`Memory.reset_user_memory`](../functions/Memory-reset_user_memory)
* [`Memory.reset_all`](../functions/Memory-reset_all)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/adapters/factories.py#L738">
  `praisonaiagents/memory/adapters/factories.py` at line 738
</Card>
