Documentation, 231 pages

Build production AI systems, one problem at a time

Everything you need from your first LLM call to the architecture of a full inference pipeline. You don't read these in order. Pick a problem, open the pages it needs, build something, and come back.

0. Start here

Free docs on AI engineering. Start with a problem, open the pages your build needs, build it, and come back when the next part asks for more.

1. Builder foundations

The software skills every AI build depends on: Python, APIs, async, data formats, Git, the terminal, Docker, cloud deploys, secrets and validation.

2. LLM fundamentals

How LLMs work for people who build with them: tokens, context windows, sampling, embeddings, model choice, cost, reasoning, tools and hallucination.

3. Prompt and context engineering

How to write prompts that hold up in production and decide what the model sees on every call: system prompts, examples, context, caching and testing.

4. Retrieval and RAG

How a production RAG system works: ingestion, parsing, chunking, embedding, indexing, retrieval, reranking, generation with citations, and evaluation.

5. Agents and tool use

An AI agent uses an LLM to choose actions, calls tools, reads results and repeats until done. How agents work, and when a script or workflow is better.

6. Model adaptation

The ways to adapt an LLM to your task, from cheapest to most involved: prompting, retrieval, fine-tuning, distillation and quantization, and how to choose.

7. Evals and reliability

A practical evals playbook for LLM apps, RAG and agents: find failures in traces, measure them with validated checks, and run evals in CI and production.

8. LLMOps and production

Ship and run LLM systems: the production checklist, inference serving and optimisation, caching, routing, tracing, cost, CI/CD, rollouts and incidents.

9. AI system design

A seven-step framework for designing AI systems, from business objective to monitoring, with the components, patterns and reference architectures to use.

10. Security, safety and governance

Threat model, prompt injection, data leakage, access control, agent permissions, red teaming, compliance, audit logs and a responsible AI checklist.

11. Data for AI

The data work behind AI systems: ingestion pipelines, data quality for retrieval, labelling, synthetic data, feedback collection and dataset versioning.

12. AI data structures and algorithms

DSA for AI Engineers: a 12-module roadmap from classical DSA to tensors, embeddings, similarity search, KV cache, decoding, agent graphs and serving.

13. Career and interviews

Portfolio, resume, the AI system design interview with 25 worked questions, switching from backend or data roles, freelancing and alumni stories.

14. AI leadership handbook

For leaders who own AI budgets and teams: strategy, use case selection, build vs buy, cost and ROI, pilots to production, teams, governance and reporting.

15. Glossary

Plain definitions of AI engineering terms, from agents and attention to vector databases and zero-shot prompting, with links to the full pages.

16. Comparisons

Side-by-side comparisons of agent frameworks, vector databases, LLM API providers, inference servers, RAG frameworks and key design choices.

17. Teardowns

Architecture teardowns of familiar AI products, reasoned from public behaviour and documentation. Clearly labelled as inference, not insider knowledge.

18. FAQ

Questions builders and leaders asked in AI Engineer HQ, Build30 and workshop sessions, with Himanshu's answers and links to the full docs pages.

Questions builders and leaders asked in sessions, grouped by topic. Each one jumps to its answer on the FAQ page.

Career and learning

LLM fundamentals

RAG and embeddings

Agents

APIs, tools and setup

Fine-tuning, quantization and local models

Production and system design

Leaders and business