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

# Where Does It Run • AI Agent SDK

> where_does_it_run: Plain-English answer to 'where does my code actually run?'.

# where\_does\_it\_run

Method

> This is a method of the [**Agent**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/Agent.md) class in the [**agent**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/agent.md) module.

Plain-English answer to "where does my code actually run?".

Example::

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
>>> print(Agent(name="builder").where_does_it_run())
Thinking (the AI model calls) happens on this machine.
Tools run on this machine.
Nothing is isolated: tools you pass run in this program, with your permissions.
```

## Signature

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

### Returns

**Returns** `str`

The result of the operation.

## Uses

* `explain`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/agent.py#L8449)
>
> `praisonaiagents/agent/agent.py` at line 8449


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.