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

# strict • AI Agent SDK

> strict: Create a strict security policy for untrusted code.

# strict

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

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

Create a strict security policy for untrusted code.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def strict() -> 'SecurityPolicy'
```

### Returns

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

## Uses

* `cls`

## Source

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