> For the complete documentation index, see [llms.txt](https://aita-1.gitbook.io/aita/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aita-1.gitbook.io/aita/reference/agent/python.md).

# Python Agent

The Python agent is an Aita agent that run python script in IPython Kernel ([IPython](https://ipython.org/)).

## Example

{% code title="python" %}

```python
from aita.agent.python import PythonAgent

python_agent = PythonAgent("gpt-3.5-turbo")

python_agent.stream("print('Hello, World!')")
```

{% endcode %}
