Skip to content

Repository files navigation

🧠 AI Engineering Guide

From "I've called the OpenAI API""I can design and defend a production AI system."

The opinionated, interview-ready playbook for engineers crossing into AI — LLMs · RAG · Prompting · Agents · Evals · LLMOps · AI System Design.

Read the live guide

Stars Updated August 2026 License MIT PRs Welcome Twitter

Demo

9 chapters · 75+ lessons · 400+ checklist items · 100+ diagrams · 5 worked case studies · 30 practice problems


⚡ Why this guide

Most AI content is either academic papers or shallow "build a chatbot in 10 minutes" tutorials. Neither prepares you for the interview question "design an enterprise RAG system for 10M documents" — or for the on-call page when it breaks in production.

This guide is the missing middle: system architecture, deployment patterns, and operational rigor, written by an engineer for engineers. Every page is opinionated, includes a diagram, and ends with an interview cheat sheet.

It's for you if you're a software engineer (2+ yrs) moving into AI, prepping for AI/ML system-design interviews, or shipping LLM features and want to understand what breaks and why. It's not for you if you want ML theory and math (read Goodfellow instead) or academic paper summaries.


✅ Interview Checklists — start here

Every chapter opens with a ✅ Chapter Checklist: an interview syllabus of 400+ topics, each tracked at three honest levels of mastery —

☐ Learned → ☐ Can explain → ☐ Can design/debug

Don't mark a topic "done" because you read it. Push the ⭐ high-leverage topics to the third box before an interview. Pick your gap and go:

🐍 Python for AI 🧬 LLM Internals ✍️ Prompt & Context
🔎 RAG & Retrieval 🤖 Agents & MCP 🛠️ Agent Harnesses
📏 Evals ⚙️ LLMOps & Ops 🏗️ AI System Design

🧭 How to use this guide

  • 📖 Read online — the live guide has full-text search, dark mode, and progress tracking.
  • ✅ Study by checklist — treat the 9 checklists above as your syllabus; drill into the linked lesson for any topic you can't yet explain.
  • 💻 Run it locally — the whole thing is Markdown + a tiny zero-dependency server:
git clone https://github.com/dipakkr/ai-engineering-guide
cd ai-engineering-guide/docs && python3 server.py
# open http://localhost:8080

Table of Contents

📋 Every chapter opens with a ✅ Chapter Checklist — an interview syllabus that tracks each topic at three levels: Learned → Can explain → Can design/debug. Use them to make sure nothing falls through the cracks. Start here: Python · LLM · Prompting · RAG · Agents · Evals · Ops · Harnesses · System Design.

The Python + CS foundation AI interviews assume: internals, async, backend, and the DSA screen.

How transformers work, tokenization, context windows, when to fine-tune vs RAG.

CoT, structured generation, prompt optimization, injection defense.

The complete RAG stack: chunking, embeddings, vector DBs, hybrid search, advanced patterns.

ReAct, tool use, MCP, LangGraph, multi-agent systems, memory.

How to actually measure if your system works: RAGAS, LLM-as-judge, production eval.

Observability, guardrails, caching, inference infra, cost optimization.

The harness around the model: the loop, tool registry, context management, skills, and permissions that make coding/research agents work.

Interview framework, 5 full case studies, 30 practice problems, 60+ conceptual questions.

Model pricing, glossary, cost formulas, essential papers.

Working implementations: RAG pipeline, LangGraph agent, MCP server, eval pipeline.


🤝 Contributing

The guide is intentionally opinionated. If you disagree with a recommendation, open an issue with your reasoning and production evidence. PRs welcome for:

  • Factual errors or outdated information (especially model specs and pricing)
  • Missing failure modes from your production experience
  • New diagrams, checklist items, or worked examples

Adding a diagram? Prefer a ```mermaid block. If you hand-author inline <svg>, keep it blank-line-free — the Markdown renderer injects <p> tags at blank lines, which breaks SVG rendering.


⭐ If this helped you, star the repo — it's the #1 way to help other engineers find it.

Built by @dipakkr · GitHub · Twitter/X · LinkedIn

About

A practical guide to AI engineering — LLMs, RAG, agents, evals, and production ops. Built for engineers who ship AI systems.

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages