Skip to main content
Agents are available under client.agents. Chat with an agent via client.agents.chat.create(...), which supports non-streaming and streaming the same way as chat. See the Agents API reference.

Create an agent

List and retrieve

Update and delete

Agent chat (non-streaming)

Agent chat (streaming)

Handoff / multi-agent

Pass multiple agent IDs so a router can hand off to specialists: