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

# Maybe Enable From Config • AI Agent SDK

> maybe_enable_from_config: Enable plugins once per process when config or env requests it.

# maybe\_enable\_from\_config

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**plugins**](../modules/plugins) module.

Enable plugins once per process when config or env requests it.

## Signature

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

## Uses

* `is_plugins_enabled`
* `enable`
* `get_enabled_plugins`
* `get_plugin_options`
* `debug`
* `logging.getLogger`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/plugins/__init__.py#L94">
  `praisonaiagents/plugins/__init__.py` at line 94
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/docs/configuration/agent-config" />
</CardGroup>
