$npx skillfedfor your agent

astronomer-cosmos

Orchestrate your dbt projects in Airflow

Worth itPyPI Build ToolsReleased Aug 20269.7M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — astronomer_cosmos-1.15.1-py3-none-any.whl
v1.15.1 · released 2026-08-04 · Python >=3.10 · 9 runtime deps: aenum, apache-airflow, attrs, deprecation, jinja2, msgpack, openlineage-integration-common, packaging

Yes. The package is production-stable (Development Status 5), actively maintained with recent releases, has no known vulnerabilities, and solves a real integration gap for teams using both dbt and Airflow. Install friction is low, and the Apache 2.0 license is permissive. Recommended if you orchestrate dbt workflows in Airflow.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Apache Airflow to be installed and configured; Python >= 3.10.
  • Low friction install with a wheel distribution.
  • Depends on apache-airflow and 8 other packages; all are standard Python libraries or Airflow ecosystem components.

License · maintenance · safety

Apache-2.0 (permissive) — Apache License 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and open-source projects, provided you include the license notice.

last release 2026-08-04 (10 days) · last repo commit 2026-08-14 · 1,247 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,680,418 downloads/mo, #1,506 on PyPI

Verify before relying

pip install astronomer-cosmos

from cosmos import DbtDag

my_dag = DbtDag(
    dag_id='my_dbt_dag',
    project_dir='/path/to/dbt/project'
)
  • Whether virtual environment isolation for dbt is automatic or requires explicit configuration.
  • Supported dbt Core versions and any version compatibility constraints.
  • Performance characteristics when handling large dbt projects with many models.
Same gist for agents: .md · .json

What it is and what it does

Astronomer Cosmos is a bridge between dbt Core and Apache Airflow that converts dbt projects into native Airflow DAGs and Task Groups. Instead of running dbt through profiles and CLI commands, you define your dbt project in Python code and Cosmos generates Airflow tasks for each model, test, and snapshot, complete with dependencies, retries, and alerting.

The package runs dbt in isolated virtual environments by default to avoid dependency conflicts with Airflow, and integrates with Airflow's connection system so you can manage data warehouse credentials through Airflow rather than dbt profiles. It enables data-aware scheduling—running dbt models immediately after upstream data ingestion—and lets you inspect and retry individual models as Airflow tasks. It depends on apache-airflow, jinja2, attrs, packaging, and several other standard libraries.

Use it for

  • Convert an existing dbt project into an Airflow DAG with minimal code changes to enable Airflow-native scheduling and monitoring.
  • Run dbt tests immediately after model completion to catch data quality issues early in the pipeline.
  • Manage dbt credentials and connections through Airflow's connection system instead of maintaining separate dbt profiles.
  • Orchestrate dbt alongside non-dbt tasks (API calls, Python scripts, SQL queries) in a single Airflow DAG.
  • Use Airflow's data-aware scheduling to trigger dbt models only after upstream data sources are refreshed.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is production-stable (Development Status 5), actively maintained with recent releases, has no known vulnerabilities, and solves a real integration gap for teams using both dbt and Airflow. Install friction is low, and the Apache 2.0 license is permissive. Recommended if you orchestrate dbt workflows in Airflow.

Install

astronomer-cosmos on PyPI

Before you install

Low friction install with a wheel distribution. Depends on apache-airflow and 8 other packages; all are standard Python libraries or Airflow ecosystem components. Actively maintained with a release 10 days ago and 1247 repository stars.

Requires Apache Airflow to be installed and configured; Python >= 3.10.

License in practice

Apache License 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and open-source projects, provided you include the license notice.

Quickstart

pip install astronomer-cosmos

from cosmos import DbtDag

my_dag = DbtDag(
    dag_id='my_dbt_dag',
    project_dir='/path/to/dbt/project'
)

Verify before relying

  • Whether virtual environment isolation for dbt is automatic or requires explicit configuration.
  • Supported dbt Core versions and any version compatibility constraints.
  • Performance characteristics when handling large dbt projects with many models.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
aenumapache-airflowattrsdeprecationjinja2msgpackopenlineage-integration-commonpackagingvirtualenv
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads9,680,418 / month, #1,506 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: astronomer_cosmos-1.15.1-py3-none-any.whl

Tags

Capabilities
dbt airflow orchestrationrun dbt in airflowdbt dag generatorairflow dbt integrationdbt task schedulingairflow dbt providerorchestrate dbt projects
Topics
dbt-integrationairflow-providerdata-orchestration
PyPI keywords
airflowapache-airflowastronomerdagsdbtdbt-coredbt-fusion

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 › “dbt dag generator”

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also airflow-dbt · astronomer-starship · airflow-dbt-python · apache-airflow-core · apache-airflow · apache-airflow-providers-apache-beam · prefect-dbt · apache-airflow-providers-dbt-cloud · apache-airflow-providers-git · apache-airflow-task-sdk