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

> clear_actions: Clear action history but keep recovery attempt count.

# clear\_actions

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

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

Clear action history but keep recovery attempt count.

## Signature

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

## Uses

* `start_session`

## Source

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