skillfed

apache-airflow-providers-openai

Provider package apache-airflow-providers-openai for Apache Airflow

apache-airflow-providers-openai v1.8.2 389.3K downloads/30d#7,031 on PyPI46,490
Permissive license Apache-2.0 Active released

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-openai

uv

uv add apache-airflow-providers-openai

poetry

poetry add apache-airflow-providers-openai

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersIntended Audience :: System AdministratorsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Monitoring

Tags

airflow openai integrationairflow ai tasksopenai provider airflowairflow text generationairflow embeddingsairflow llm workflowsopenai dag operators
airflow-provideropenai-integrationworkflow-orchestration

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

airflow-provider-great-expectations

Provides Apache Airflow operators that…

permissive · top 15,000 on PyPI

apache-airflow-providers-opensearch

Integrates OpenSearch with Apache Airflow,…

permissive · top 15,000 on PyPI

apache-airflow-providers-asana

Integrates Apache Airflow with Asana, enabling…

permissive · top 15,000 on PyPI

apache-airflow-client

A Python client library for the Apache Airflow…

permissive · top 15,000 on PyPI

apache-airflow-providers-git

Integrates Git version control operations into…

permissive · top 15,000 on PyPI

apache-airflow-task-sdk

Provides Python interfaces and task execution…

permissive · top 5,000 on PyPI

apache-airflow-providers-openfaas

Integrates OpenFaaS serverless functions into…

permissive · top 15,000 on PyPI

apache-airflow-providers-neo4j

Integrates Neo4j graph database operations into…

permissive · top 15,000 on PyPI

apache-airflow-providers-imap

Integrates IMAP email protocol support into…

permissive · top 5,000 on PyPI

airflow-code-editor

Browser-based editor and file manager for…

permissive · top 15,000 on PyPI