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

# Is Env Auto Approve • AI Agent SDK

> is_env_auto_approve: Check if PRAISONAI_AUTO_APPROVE environment variable is set.

# is\_env\_auto\_approve

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

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

Check if PRAISONAI\_AUTO\_APPROVE environment variable is set.

## Signature

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

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Used By

* [`Agent.execute_tool_async`](../functions/Agent-execute_tool_async)
* [`require_approval`](../functions/require_approval)

## Source

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