You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI Codex session connector for Semantic Kernel.
Provides UseCodexChatCompletion() to wire local Codex CLI OAuth credentials (or an explicit API key) into any Semantic Kernel application without managing tokens manually.
services.AddCodexAuthentication(o =>o.ApiKey="sk-...");// Or from configuration:services.AddCodexAuthentication(configuration);// Reads from "CodexSession" section in appsettings.json
Direct HttpClient usage
usingvarclient=CodexHttpClientFactory.Create();// Use with any OpenAI-compatible API
Credential Resolution Order
The provider checks these sources in order and uses the first valid credential found: