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

# Clear History • AI Agent SDK

> clear_history: Clear the agent's conversation history.

# clear\_history

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

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

Clear the agent's conversation history.

## Signature

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

## Source

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