Aita
  • Introduction
  • Roadmap
  • Aita Lab
    • Chat
    • Data Source
  • Architecture
  • Contribution
  • Getting Started
    • Quick Start
  • Installation
  • Reference
    • Aita agent
      • Pandas Agent
      • Pyarrow Agent
      • Python Agent
      • Spark Agent
      • SqlAgent
    • Data Sources
      • sql
      • File Data Source
      • Postgres Data Source
      • Snowflake Data Source
    • Aita tool
      • PythonTool
      • PandasTool
      • PyArrow Tool
      • pyspark tool
      • Sql Tools
  • Tech specs
    • Aita tech spec v1
Powered by GitBook
On this page
  1. Reference
  2. Aita agent

Python Agent

PreviousPyarrow AgentNextSpark Agent

Last updated 11 months ago

The Python agent is an Aita agent that run python script in IPython Kernel ().

Example

python
from aita.agent.python import PythonAgent

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

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