> ## 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 Sandbox Mode • AI Agent SDK

> is_sandbox_mode: Check if workspace is in copy-on-write sandbox mode.

# is\_sandbox\_mode

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

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

Check if workspace is in copy-on-write sandbox mode.

## Signature

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

### Returns

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

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Sandbox Feature" icon="box" href="/docs/docs/features/sandbox" />
</CardGroup>
