# the-schoolofai/python-ai architecture

> Architecture diagram of the GitHub repository the-schoolofai/python-ai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/the-schoolofai/python-ai
- Repository: https://github.com/the-schoolofai/python-ai

## Overview

This repository is a small introductory Python-for-AI learning course: learners encounter beginner lessons, including a rule-based chatbot mini-project, and can use module assessments to check their progress. The tree also contains two simple Python examples. README and source excerpts do not describe how lessons, examples, and assessments are connected, so those relationships are left unverified rather than presented as a confirmed sequence.

Main entry points: [`docs/01-python-basics/1.1-welcome-genai-agentic-ai.md`](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.1-welcome-genai-agentic-ai.md) (Welcome to AI), [`docs/01-python-basics/1.2-setting-up-ai-dev-toolkit.md`](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.2-setting-up-ai-dev-toolkit.md) (AI Dev Toolkit), [`docs/01-python-basics/1.3-first-python-project-with-uv.md`](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.3-first-python-project-with-uv.md) (Project Setup), [`docs/01-python-basics/1.4-print-input-comments.md`](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.4-print-input-comments.md) (Print and Input)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Python Basics"]
  node_welcome["Welcome to AI"]
  node_toolkit["AI Dev Toolkit"]
  node_projectsetup["Project Setup"]
  node_io["Print and Input"]
  node_variables["Variables and Types"]
  node_strings["Working with Strings"]
  node_decisions["Operators and Decisions"]
  node_chatbot["Chatbot Mini-Project"]
end

subgraph group_assessment["Assessments"]
  node_quickchecks["Quick Checks"]
  node_codetasks["Code Tasks"]
  node_projectbrief["Project Brief"]
end

subgraph group_examples["Code Examples"]
  node_introexample["Introduction Example<br/>[lesson_01_intro.py]"]
  node_mainexample["Greeting Example<br/>[main.py]"]
end

node_learner(("Learner"))

node_learner -.->|"reads"| node_welcome
node_learner -.->|"reads"| node_toolkit
node_learner -.->|"reads"| node_projectsetup
node_learner -.->|"reads"| node_io
node_learner -.->|"reads"| node_variables
node_learner -.->|"reads"| node_strings
node_learner -.->|"reads"| node_decisions
node_learner -.->|"reads"| node_chatbot
node_learner -.->|"uses"| node_quickchecks
node_learner -.->|"uses"| node_codetasks
node_learner -.->|"uses"| node_projectbrief

click node_welcome "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.1-welcome-genai-agentic-ai.md"
click node_toolkit "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.2-setting-up-ai-dev-toolkit.md"
click node_projectsetup "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.3-first-python-project-with-uv.md"
click node_io "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.4-print-input-comments.md"
click node_variables "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.5-variables-data-types.md"
click node_strings "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.6-working-with-text-strings.md"
click node_decisions "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.7-operators-and-decisions.md"
click node_chatbot "https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.8-mini-project-rule-based-chatbot.md"
click node_quickchecks "https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-quick-checks.md"
click node_codetasks "https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-code-tasks.md"
click node_projectbrief "https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-project-brief.md"
click node_introexample "https://github.com/the-schoolofai/python-ai/blob/main/code/lesson_01_intro.py"
click node_mainexample "https://github.com/the-schoolofai/python-ai/blob/main/main.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_welcome,node_toolkit,node_projectsetup,node_io,node_variables,node_strings,node_decisions,node_chatbot toneBlue
class node_quickchecks,node_codetasks,node_projectbrief toneAmber
class node_introexample,node_mainexample toneMint
class node_learner toneIndigo
```

## Components

### Python Basics

- [Welcome to AI](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.1-welcome-genai-agentic-ai.md): `docs/01-python-basics/1.1-welcome-genai-agentic-ai.md`
- [AI Dev Toolkit](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.2-setting-up-ai-dev-toolkit.md): `docs/01-python-basics/1.2-setting-up-ai-dev-toolkit.md`
- [Project Setup](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.3-first-python-project-with-uv.md): `docs/01-python-basics/1.3-first-python-project-with-uv.md`
- [Print and Input](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.4-print-input-comments.md): `docs/01-python-basics/1.4-print-input-comments.md`
- [Variables and Types](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.5-variables-data-types.md): `docs/01-python-basics/1.5-variables-data-types.md`
- [Working with Strings](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.6-working-with-text-strings.md): `docs/01-python-basics/1.6-working-with-text-strings.md`
- [Operators and Decisions](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.7-operators-and-decisions.md): `docs/01-python-basics/1.7-operators-and-decisions.md`
- [Chatbot Mini-Project](https://github.com/the-schoolofai/python-ai/blob/main/docs/01-python-basics/1.8-mini-project-rule-based-chatbot.md): `docs/01-python-basics/1.8-mini-project-rule-based-chatbot.md`

### Assessments

- [Quick Checks](https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-quick-checks.md): `docs/assessments/module-1-quick-checks.md`
- [Code Tasks](https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-code-tasks.md): `docs/assessments/module-1-code-tasks.md`
- [Project Brief](https://github.com/the-schoolofai/python-ai/blob/main/docs/assessments/module-1-project-brief.md): `docs/assessments/module-1-project-brief.md`

### Code Examples

- [Introduction Example](https://github.com/the-schoolofai/python-ai/blob/main/code/lesson_01_intro.py): `code/lesson_01_intro.py`
- [Greeting Example](https://github.com/the-schoolofai/python-ai/blob/main/main.py): `main.py`

### Other components

- **Learner**

## Connections

- Learner → Welcome to AI: reads
- Learner → AI Dev Toolkit: reads
- Learner → Project Setup: reads
- Learner → Print and Input: reads
- Learner → Variables and Types: reads
- Learner → Working with Strings: reads
- Learner → Operators and Decisions: reads
- Learner → Chatbot Mini-Project: reads
- Learner → Quick Checks: uses
- Learner → Code Tasks: uses
- Learner → Project Brief: uses
