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

</div>

This is a method of the Agent class in the agent module.

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

Example::

python
>>> 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
def where_does_it_run() -> str

Returns

ResponseField str

The result of the operation.

Uses

  • explain

Source

View on GitHub

praisonaiagents/agent/agent.py at line 8449