apache-airflow-providers-common-ai
Provider package apache-airflow-providers-common-ai for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that adds AI and LLM capabilities to Airflow pipelines by wrapping pydantic-ai. It supplies hooks and operators designed to let you orchestrate LLM-driven tasks as part of Airflow DAGs—allowing you to call language models, process their outputs, and integrate AI into data workflows alongside traditional data pipeline steps.
The package depends on Apache Airflow >=3.0.0, pydantic-ai-slim >=2.0.0, and Airflow's common-compat and standard providers. It supports Python 3.10 through 3.14. Optional extras unlock integrations with specific LLM providers (OpenAI, Anthropic, Bedrock, Google) and add-ons like code execution, safety shields, and data format support (Avro, Parquet, PDF, DOCX).
Use it for:
- Build Airflow DAGs that call LLMs to generate summaries, classifications, or transformations of data flowing through your pipeline.
- Orchestrate multi-step workflows where LLM outputs feed into downstream tasks, combining AI inference with traditional ETL logic.
- Integrate with multiple LLM providers (OpenAI, Anthropic, Bedrock, Google) through a unified Airflow operator interface.
- Add AI-powered data quality checks or anomaly detection as Airflow tasks using LLM reasoning.
- Process documents (PDF, DOCX) or query databases with AI assistance as part of scheduled Airflow jobs.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides AI/LLM hooks and operators for Apache Airflow pipelines, integrating pydantic-ai to enable LLM-driven workflow tasks.
Yes, if you run Apache Airflow >=3.0.0 and need to add LLM capabilities to your data pipelines. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively. Start with the base install; add optional extras only for the LLM providers you actually use.
Install
apache-airflow-providers-common-ai on PyPI
pip
pip install apache-airflow-providers-common-aiuv
uv add apache-airflow-providers-common-aipoetry
poetry add apache-airflow-providers-common-aiInstalling apache-airflow-providers-common-ai
Before you install
Low friction installation as a pure Python wheel. Actively maintained with a release 6 days old. Requires Airflow >=3.0.0 and pydantic-ai-slim >=2.0.0; integrates cleanly into existing Airflow deployments.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and redistribution with minimal restrictions—standard for Apache Foundation projects.
Quickstart
pip install apache-airflow-providers-common-ai
from airflow.providers.common.ai import ...
# Use AI operators/hooks in your Airflow DAG definitions
Requires Apache Airflow >=3.0.0 and Python >=3.10; pydantic-ai-slim >=2.0.0 must be installed.
Verify before relying
- Which specific AI operators and hooks are available in the common.ai provider package.
- Whether the package supports streaming or batch LLM inference modes.
- How error handling and retries are configured for LLM calls in Airflow tasks.
- Whether optional extras (anthropic, bedrock, google, openai, mcp) require separate API credentials or configuration.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — apache-airflow-providers-common-compat, apache-airflow-providers-standard, apache-airflow, pydantic-ai-slim |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 354,678/month — #7,295 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_common_ai-0.7.0-py3-none-any.whl
Keywords: airflow, airflow-provider, common.ai, 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
apache-airflow-providers-cohereIntegrates Cohere's language model APIs into…
permissive · top 15,000 on PyPI
apache-airflow-providers-informaticaProvides Apache Airflow integration operators…
permissive · top 15,000 on PyPI
dify-pluginA Python SDK for building plugins that extend…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-drillProvides Apache Airflow integration for Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-standardProvides standard operators, hooks, and sensors…
permissive · top 5,000 on PyPI
apache-airflow-providers-gitIntegrates Git version control operations into…
permissive · top 15,000 on PyPI
apache-airflow-providers-databricksIntegrates Apache Airflow with Databricks,…
permissive · top 1,000 on PyPI
apache-airflow-providers-apache-cassandraIntegrates Apache Cassandra with Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-githubProvides GitHub integration operators and hooks…
permissive · top 15,000 on PyPI
apache-airflow-providers-openaiIntegrates OpenAI APIs into Apache Airflow…
permissive · top 15,000 on PyPI