agent-framework-openai
OpenAI integrations for Microsoft Agent Framework.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly into the Agent Framework ecosystem. It is suitable for production use if you are already using Microsoft Agent Framework and need OpenAI integration. No security vulnerabilities are recorded. Install it if you are building agents with OpenAI models; skip it if you do not use the Agent Framework or prefer direct OpenAI SDK calls.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires OPENAI_API_KEY environment variable or explicit credentials (e.g., Azure credential) to authenticate with OpenAI or Azure OpenAI.
- Low install friction with only two runtime dependencies.
- Active maintenance as of 2026-08-14 with recent release history since 2026-03-30.
License · maintenance · safety
permissive license (permissive) — Permissive license treatment allows use in most commercial and open-source projects without significant restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 12,803 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 973,743 downloads/mo, #4,602 on PyPI
Alternatives
Verify before relying
pip install agent-framework-openai
from agent_framework.openai import OpenAIChatClient
client = OpenAIChatClient(model="gpt-4.1")- Whether agent-framework-core and openai versions have known compatibility constraints beyond what the fact sheet shows.
- Performance characteristics or rate-limit handling behavior of the chat and embedding clients.
- Whether the Responses API is production-ready or still evolving in the upstream OpenAI SDK.
What it is and what it does
agent-framework-openai is a bridge between Microsoft's Agent Framework and OpenAI's APIs, providing three main client classes: OpenAIChatClient (using the Responses API), OpenAIChatCompletionClient (using the Chat Completions API), and OpenAIEmbeddingClient. It abstracts authentication and model selection for both OpenAI and Azure OpenAI deployments, allowing you to configure clients via environment variables or direct parameters.
The package is designed for developers building agent-based applications who want to integrate OpenAI's language models without managing API details directly. It depends on agent-framework-core (the base framework) and openai (the official SDK), and supports multiple Python versions from 3.10 onward. The documentation recommends using OpenAIChatClient for new work unless you have a specific reason to use the Chat Completions API.
Use it for
- Build agent applications that call OpenAI's latest models via the Responses API without writing boilerplate authentication code.
- Migrate existing Chat Completions-based integrations to the Agent Framework while maintaining API compatibility.
- Generate embeddings for documents or queries using OpenAI's embedding models within an agent workflow.
- Deploy agents to Azure OpenAI by configuring credentials and endpoints through environment variables or constructor parameters.
- Switch between OpenAI and Azure OpenAI deployments by toggling environment variables without code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly into the Agent Framework ecosystem. It is suitable for production use if you are already using Microsoft Agent Framework and need OpenAI integration. No security vulnerabilities are recorded. Install it if you are building agents with OpenAI models; skip it if you do not use the Agent Framework or prefer direct OpenAI SDK calls.
Install
agent-framework-openai on PyPI
Before you install
Low install friction with only two runtime dependencies. Active maintenance as of 2026-08-14 with recent release history since 2026-03-30. Supports current Python versions (3.10–3.14).
Requires OPENAI_API_KEY environment variable or explicit credentials (e.g., Azure credential) to authenticate with OpenAI or Azure OpenAI.
License in practice
Permissive license treatment allows use in most commercial and open-source projects without significant restrictions.
Quickstart
pip install agent-framework-openai
from agent_framework.openai import OpenAIChatClient
client = OpenAIChatClient(model="gpt-4.1")
Verify before relying
- Whether agent-framework-core and openai versions have known compatibility constraints beyond what the fact sheet shows.
- Performance characteristics or rate-limit handling behavior of the chat and embedding clients.
- Whether the Responses API is production-ready or still evolving in the upstream OpenAI SDK.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesagent-framework-coreopenai |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 973,743 / month, #4,602 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: agent_framework_openai-1.13.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openai integration agent framework”
- agent-framework-openaiProvides OpenAI and Azure OpenAI integration for Microsoft Agent…
- llama-index-agent-openaiIntegrates OpenAI language models with LlamaIndex agents, enabling…
- agent-framework-chatkitBridges Microsoft Agent Framework agents with OpenAI ChatKit,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also agent-framework · agent-framework-purview · agent-framework-devui · agent-framework-chatkit · composio-openai · llm-openai-plugin · agent-framework-core · azure-ai-inference · openai-messages-token-helper · azure-ai-agentserver-responses