Skip to main content

Overview

The OpenAI Agents SDK can use TokenLab through an OpenAI-compatible client and OpenAIChatCompletionsModel.
Type: Python Agent SDKPrimary Path: OpenAI-compatible chat completionsSupport Confidence: Supported chat-completions path

Environment

Example

Scope

This path uses Chat Completions compatibility. TokenLab’s native Responses endpoint is available at https://api.tokenlab.sh/v1/responses, but SDK features that depend on OpenAI-specific Responses semantics should be verified with the exact model and workflow before production use.