Skip to main content

A beginner-focused AI Tutor Agent to help freshers set up Apache Airflow locally.

Project description

Airflow Tutor Agent 🤖✈️

A complete beginner-focused AI Tutor designed to help freshers step-by-step through setting up Apache Airflow 3.x locally on Windows, macOS, or Linux.

Project Goal

This agent doesn't just run a bash script to install Airflow. It stops, explains what each command does, asks the student to verify the output, and provides an immediate rule-based troubleshooting engine if they hit a wall. Finally, it teaches them core Airflow concepts and walks them through running their first beginner DAG.

Features

  • Deterministic Preflight Checks: Verifies Python, Docker, Port 8080.
  • Auto-Recommendation Engine: Recommends Docker Compose for Windows and pip + venv for macOS/Linux.
  • Guided Setup Mode: Gives short 1-line commands and waits for confirmation.
  • Troubleshooting Engine: Catches Exit Code 137, Port 8080 in use, Python version mismatch.
  • Teaching Mode: Explains DAGs, Tasks, Schedulers, and runs a sample payload.

How to Run it Locally

  1. Clone this repository (or copy the generated folder).
  2. Install Python 3.8+ if you haven't already.
  3. Open a terminal and navigate to this folder.
  4. Run:
python -m venv venv
# Windows: .\venv\Scripts\activate
# Mac/Linux: source venv/bin/activate
pip install -r requirements.txt
  1. Start the Tutor!
python -m app.main start

Preflight Only

If you just want to run the system checks without launching the interactive tutor:

python -m app.main check

Or execute the raw shell scripts in /scripts.

Architecture

See docs/architecture.md for a full breakdown. It uses Typer and Rich for a beautiful CLI interface.

Support OS & Methods

  • Windows: Target method -> Docker Compose
  • macOS / Linux: Target method -> pip + venv (standalone)
  • Advanced Optional: Kubernetes with Helm

Security Notes

This is meant strictly for local learning on localhost:8080.

  • Do not expose port 8080 to the public internet.
  • Never commit airflow.cfg or .env files with generated secret keys to GitHub.
  • Airflow's standalone password defaults are NOT safe for production!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_tutor_agent-1.0.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_tutor_agent-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file airflow_tutor_agent-1.0.0.tar.gz.

File metadata

  • Download URL: airflow_tutor_agent-1.0.0.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for airflow_tutor_agent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a8c06c920ed9a38bfe71d8f8fd130d975b02e8dc7ea79a4e5320b1ab9ac313e0
MD5 f1bb54ef749a28375bfae78d1ba233d0
BLAKE2b-256 2d05bc3fa6e730107a225c71ed1adb2cb347b0b21ba42907cd5caaac96210c75

See more details on using hashes here.

File details

Details for the file airflow_tutor_agent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_tutor_agent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 213fa4cf1407444fad410389e0c0309981c15c65e1187340ab0235d2e6640f6f
MD5 95536f2d92bbc156bdb5b892d4d21108
BLAKE2b-256 f5c09eaaeb1a545c53bc967a3078e31f488d29063b30dd384620766111e702f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page