llm-provider-configuration

Configure the OpenAI Agents SDK with a custom base URL and API key for alternative LLM providers.

Updated Dec 7, 2025
One-click install
npx skills add https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon --skill llm-provider-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-provider-configuration
Source: https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon/tree/main/.claude/skills/llm-provider-configuration
Command: npx skills add https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon --skill llm-provider-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers configure the OpenAI Agents SDK to connect with alternative LLM providers by supplying a custom base URL and API key.

Core Features & Use Cases

  • Agent-level, run-level, and global configuration options for base URL and API key.
  • Supports providers compatible with the OpenAI API format (e.g., Gemini, Claude) with model names.
  • Guides safe integration and validation of credentials to prevent misconfiguration.

Quick Start

Configure the client with your provider base URL and API key, then attach it to an agent or global setting to enable alternate LLM providers.

Frequently Asked Questions about llm-provider-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure the OpenAI Agents SDK to use a different LLM provider?

To configure LLM providers for the Agents SDK, supply a custom base URL and API key in your client configuration. You can apply these settings globally, per run, or per individual agent.

Can I connect Gemini or Claude to the OpenAI Agents SDK?

Yes, you can connect Gemini, Claude, or other OpenAI-compatible endpoints to the Agents SDK. You must specify the provider's base URL, API key, and appropriate model identifiers in the client setup.

What are the configuration levels for setting a custom base URL in the Agents SDK?

Custom base URL and API key configurations support three levels: global, run-level, and agent-level. This allows flexible LLM provider management depending on your specific application architecture.

How do I validate API keys when connecting alternative LLM providers?

Validating API keys for alternative LLM providers involves inspecting your client configuration and ensuring compatibility with the provider API. This prevents misconfiguration when establishing connections.

Does the Agents SDK support OpenAI-compatible endpoints for alternative providers?

Yes, the Agents SDK supports OpenAI-compatible endpoints. By configuring the base URL and setting the correct model identifiers, you can route requests to alternative LLM providers seamlessly.