Skip to content



All async methods that have an _async suffix have sync equivalents that can be called with out the suffix e.g. run() and await run_async().


The Assistant class represents an AI assistant that can be created, deleted, loaded, and interacted with.


Name Type Description
id str

The unique identifier of the assistant. None if the assistant hasn't been created yet.

name str

The name of the assistant.

description str

A description of the assistant.

instructions str

Instructions for the assistant.

model str

The model used by the assistant.

tools list

List of tools used by the assistant.

tool_resources dict

dict of tool resources associated with the assistant.

metadata dict

Additional data about the assistant.


Start a chat session with the assistant.

chat_async async

Async method to start a chat session with the assistant.