Overview

Airflow Assist is an AI-powered assistant integrated into the Cloudera Workflow Orchestrator Airflow UI. It helps you understand, debug, test, and create Airflow DAGs directly within the Airflow interface. The assistant adapts to the specific Airflow page you are viewing and works with live data from your Airflow deployment. It performs all operations strictly within the scope of your signed-in Airflow permissions.

How Airflow Assist works

  • Airflow Assist acts as an AI agent that autonomously plans its actions, uses tools to access live Airflow data, and analyzes the results.
  • It processes various Airflow components, including DAGs, runs, task instances, logs, source code, schedules, connections (with secrets securely hidden), pools, assets, and other related data.
  • The assistant logs each step in the activity section, enabling you to track precisely what data it accesses and actions it executes.
  • It always conceals confidential information such as secrets, tokens, and access keys in all tool inputs and outputs to ensure security.

Available skills

Skills are built-in, task-specific workflows that Airflow Assist follows. You trigger a skill by selecting a suggested action or by describing your goal in the chat:

Table 1. Available skills
Skill Description Typical user request
Debug Traces a single failed run or task to a specific task, code line, or configuration issue and proposes a fix. Why did this run fail?
Troubleshoot Performs root-cause analysis for a DAG that fails repeatedly, fails intermittently, or fails after a recent change. This DAG has been failing since Monday.
Failure pattern Compares recent failed and successful runs to identify recurring timing, data, or dependency patterns. It fails every few days, why?
Logs Retrieves a task's logs and summarizes tracebacks, warnings, and anomalies. Show me the logs for this task.
Schedule gap Determines why an expected DAG run does not occur. Why didn't my DAG run last night?
Health Provides an environment-wide overview of import errors, high-failure DAGs, and pool saturation. How healthy is my environment?
DAGs Lists DAGs, import errors, and recent failure hotspots, or locates a specific DAG. Which DAGs do we have?
Onboard Explains an unfamiliar DAG, task, or run, including its purpose, task flow, dependencies, assets, and health. Explain this DAG to me.
Review Conducts a static code review for bugs, Airflow anti-patterns, security issues, and Airflow 3 incompatibilities. Review this DAG's code.
Improve Recommends reliability, performance, idempotency, and observability improvements based on run history. How can I make this DAG faster?
Stress Analyzes how currently passing DAGs can fail, such as through missing retries or brittle dependencies. What could break this DAG?
State store Helps you choose and inspect durable tasks and asset state, and reviews jobs for crash safety. Where should this task keep its state?
Test Triggers a DAG, waits for completion, and diagnoses, fixes, and retests on failure. Run this DAG and check it works.
Author Creates or modifies DAG code according to Airflow and Cloudera Workflow Orchestrator conventions, including Cloudera Data Engineering jobs. Write a DAG that runs my Cloudera Data Engineering job daily.