Learn Generative AI by building real systems — step by step, in Python.
This repository is a hands-on, production-oriented learning path for modern Generative AI. It takes you from first LLM calls to full-scale AI products involving RAG, agents, vision, diffusion models, and deployment.
Everything here is designed to be:
- Practical
- Incremental
- Production-minded
- Easy to reason about and extend
No black boxes. You build every layer yourself.
This is not a theory repo. This is a build-first GenAI repository.
You will:
- Write real Python code
- Debug real problems (context limits, hallucinations, latency)
- Build reusable components
- Understand why systems break — and how to fix them
- Move from prompts → systems → products
Each folder represents one concrete project, focused on a single GenAI concept, implemented cleanly and explained clearly.
This repository follows four principles:
-
Hands-on first Every concept is learned by building something tangible.
-
Progressive complexity Each project builds directly on previous ones.
-
Production realism Topics like evaluation, guardrails, memory, orchestration, and deployment are first-class.
-
System-level thinking You learn how components fit together — not just how to call an API.
Projects are organized in a strict learning order, from fundamentals to advanced, real-world systems.
- What Generative AI really is
- How LLMs work internally
- Tokens, context windows, cost, latency
- Prompt structure and behavior control
- Prompt engineering patterns
- System vs user vs assistant roles
- Conversation state management
- Short-term and long-term memory
- Vector embeddings from scratch
- Semantic similarity and ranking
- Chunking strategies
- Metadata-aware retrieval
- PDF and document Q&A
- Query rewriting
- Hybrid retrieval (keyword + vector)
- Re-ranking and long-context strategies
- Multi-source knowledge systems
- Tool calling and function execution
- Planner–executor agents
- Multi-agent collaboration
- Workflow orchestration
- Autonomous agents with guardrails
- Hallucination detection
- Confidence scoring
- Prompt and model regression testing
- Evaluation pipelines
- Error handling and fallbacks
- API design
- Observability and monitoring
- Versioning and experiment tracking
- Security and access control
- Scalable architectures
- LLM fine-tuning (SFT, LoRA, PEFT)
- Domain-specific models
- Computer Vision with YOLO
- Multimodal systems
- Diffusion and Stable Diffusion
- Full-stack AI products
Each project folder contains:
- Clear goal
- Minimal but complete implementation
- Focused scope (one core idea)
- Code you can reuse in real systems
You don’t just learn about:
- RAG → you build multiple RAG systems
- Agents → you build planners, executors, and workflows
- Vision → you run YOLO and connect it to LLMs
- Diffusion → you generate, fine-tune, and edit images
This repo is designed so that:
- Beginners can start from project 1
- Experienced engineers can jump to any phase
- No conceptual leaps are required
- Every advanced topic is grounded in earlier work
By the end, you will understand:
- How GenAI systems actually work
- How to design them cleanly
- How to debug and evaluate them
- How to ship them responsibly
This repository is tool-opinionated on purpose.
All projects are built using a production-proven GenAI stack that reflects what real teams actually use in shipped systems, not experimental or academic setups.
You will see these tools reused across projects, so they become intuitive rather than abstract.
This stack is a reference baseline, not a hard requirement. You can swap tools — but the system design principles remain the same.
This repository is ideal for:
- Developers learning Generative AI seriously
- Backend or full-stack engineers adding AI features
- Engineers transitioning into GenAI roles
- Builders creating real AI-powered products
If you like learning by building systems, this repo is for you.
Recommended approach:
- Start from Project 01 and move forward
- Run every project locally
- Modify and break things
- Reuse components across projects
- Treat this as a personal GenAI toolkit
You can also:
- Use it as a course
- Use it as a reference
- Use it as a portfolio foundation
MIT — free to use, modify, and build on.
