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

# enable • AI Agents Framework

> enable: Enable profiling.

# enable

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

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

Enable profiling.

## Signature

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

## Used By

* [`Profiler.cprofile`](../functions/Profiler-cprofile)
* [`profile_detailed`](../functions/profile_detailed)
* [`profile_lines`](../functions/profile_lines)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L257">
  `praisonai/profiler.py` at line 257
</Card>
