That OpenAI() is a wrapper around a POST to a single HTTP endpoint:
POST https://api.openai.com/v1/responses POST https://api.openai.com/v1/responsesOpenAI does have an agents library, but it is separate in https://github.com/openai/openai-agents-python