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
- Clone this repository (or copy the generated folder).
- Install Python 3.8+ if you haven't already.
- Open a terminal and navigate to this folder.
- Run:
python -m venv venv
# Windows: .\venv\Scripts\activate
# Mac/Linux: source venv/bin/activate
pip install -r requirements.txt
- 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.cfgor.envfiles with generated secret keys to GitHub. - Airflow's standalone password defaults are NOT safe for production!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c06c920ed9a38bfe71d8f8fd130d975b02e8dc7ea79a4e5320b1ab9ac313e0
|
|
| MD5 |
f1bb54ef749a28375bfae78d1ba233d0
|
|
| BLAKE2b-256 |
2d05bc3fa6e730107a225c71ed1adb2cb347b0b21ba42907cd5caaac96210c75
|
File details
Details for the file airflow_tutor_agent-1.0.0-py3-none-any.whl.
File metadata
- Download URL: airflow_tutor_agent-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213fa4cf1407444fad410389e0c0309981c15c65e1187340ab0235d2e6640f6f
|
|
| MD5 |
95536f2d92bbc156bdb5b892d4d21108
|
|
| BLAKE2b-256 |
f5c09eaaeb1a545c53bc967a3078e31f488d29063b30dd384620766111e702f8
|