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

# subprocess • AI Agent SDK

> subprocess: Create a subprocess sandbox configuration.

# subprocess

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

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

Create a subprocess sandbox configuration.

## Signature

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

### Returns

<ResponseField name="Returns" type="'SandboxConfig'">
  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#L144">
  `praisonaiagents/sandbox/config.py` at line 144
</Card>
