Confirmation
Issue body
Assistant API will be deprecated in 2026, replaced by Response API: https://platform.openai.com/docs/guides/responses-vs-chat-completions.
We should start support the Response API by introducing OpenAIAgent that is backed by the Response API, which can be stateful.
The new agent should conform to the behavior of AssistantAgent in AgentChat, while backed directly by the openai library.
Thoughts, feedback welcome!
Confirmation
Issue body
Assistant API will be deprecated in 2026, replaced by Response API: https://platform.openai.com/docs/guides/responses-vs-chat-completions.
We should start support the Response API by introducing
OpenAIAgentthat is backed by the Response API, which can be stateful.The new agent should conform to the behavior of
AssistantAgentin AgentChat, while backed directly by theopenailibrary.Thoughts, feedback welcome!