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

# enabled • AI Agent SDK

> enabled: Set enabled state.

# enabled

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

> This is a method of the [**ContextTraceEmitter**](../classes/ContextTraceEmitter) class in the [**context\_events**](../modules/context_events) module.

Set enabled state.

## Signature

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

## Parameters

<ParamField query="value" type="bool" required={true}>
  No description available.
</ParamField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/trace/context_events.py#L951">
  `praisonaiagents/trace/context_events.py` at line 951
</Card>
