apache-airflow-providers-openai
Provider package apache-airflow-providers-openai for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that bridges Airflow DAGs and the OpenAI API. It allows you to define workflow tasks that call OpenAI services—such as text generation and embeddings—as native Airflow operators, making it straightforward to incorporate AI-powered steps into data pipelines and orchestration workflows.
The package depends on apache-airflow (>=2.11.0), apache-airflow-providers-common-compat (>=1.12.0), and openai (>=2.37.0). It supports Python 3.10 through 3.14 and is maintained as part of the Apache Airflow project, with active development and recent releases. Installation is low-friction—a simple pip install on top of an existing Airflow environment.
Use it for:
- Build Airflow DAGs that call OpenAI for text summarization or content generation as part of a larger data pipeline.
- Embed OpenAI API calls into scheduled workflows to generate embeddings for documents or data records.
- Orchestrate multi-step AI workflows where OpenAI tasks are one step among many in a complex DAG.
- Integrate OpenAI capabilities into existing Airflow monitoring and data processing infrastructure.
- Create dynamic workflows that combine Airflow's scheduling with OpenAI's language models for batch processing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates OpenAI APIs into Apache Airflow workflows, enabling text generation, embeddings, and other AI-powered tasks directly within DAGs.
Yes, if you run Apache Airflow and need to call OpenAI APIs from DAGs. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and integrates cleanly with Airflow's operator model. Install friction is low. Not relevant if you don't use Airflow or don't need OpenAI integration.
Install
apache-airflow-providers-openai on PyPI
pip
pip install apache-airflow-providers-openaiuv
uv add apache-airflow-providers-openaipoetry
poetry add apache-airflow-providers-openaiInstalling apache-airflow-providers-openai
Before you install
Low install friction; pure Python wheel. Requires Apache Airflow >=2.11.0, apache-airflow-providers-common-compat >=1.12.0, and openai >=2.37.0. Package is actively maintained with a release 6 days old.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.
Quickstart
pip install apache-airflow-providers-openai
from airflow.providers.openai.operators.openai import OpenAIOperator
from airflow import DAG
with DAG('openai_dag') as dag:
task = OpenAIOperator(task_id='call_openai')
Requires Apache Airflow >=2.11.0 and Python >=3.10; OpenAI API credentials must be configured in Airflow connections.
Verify before relying
- Specific operators and hooks available beyond the basic OpenAI integration.
- Whether the package supports all OpenAI API endpoints or a subset.
- Performance characteristics and rate-limiting behavior when used at scale.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — apache-airflow, apache-airflow-providers-common-compat, openai |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 389,290/month — #7,031 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_openai-1.8.2-py3-none-any.whl
Keywords: airflow-provider, openai, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
airflow-provider-great-expectationsProvides Apache Airflow operators that…
permissive · top 15,000 on PyPI
apache-airflow-providers-opensearchIntegrates OpenSearch with Apache Airflow,…
permissive · top 15,000 on PyPI
apache-airflow-providers-asanaIntegrates Apache Airflow with Asana, enabling…
permissive · top 15,000 on PyPI
apache-airflow-clientA Python client library for the Apache Airflow…
permissive · top 15,000 on PyPI
apache-airflow-providers-gitIntegrates Git version control operations into…
permissive · top 15,000 on PyPI
apache-airflow-task-sdkProvides Python interfaces and task execution…
permissive · top 5,000 on PyPI
apache-airflow-providers-openfaasIntegrates OpenFaaS serverless functions into…
permissive · top 15,000 on PyPI
apache-airflow-providers-neo4jIntegrates Neo4j graph database operations into…
permissive · top 15,000 on PyPI
apache-airflow-providers-imapIntegrates IMAP email protocol support into…
permissive · top 5,000 on PyPI
airflow-code-editorBrowser-based editor and file manager for…
permissive · top 15,000 on PyPI