Skip to the content.

Experimental Features

These experimental features are subject to change, less tested and may not work as expected. They are available for preview and experimentation only. If enough users find an experimental feature useful it may be moved into a more stable form at some point.

Assistants API

You can try using the Assistants APIs rather than the Completions APIs with the --assistant flag:

ai --assistant -- "Who are you?"

Note that responses will be considerably slower and more API calls will be made.

The Assistants API will likely not be supported beyond simple experimentation - the Responses and Agents APIs are more suitable for advanced use cases, and the Completions API more suitable for simple use cases.

Known issues: