vins13pattar/principal-ai-engineer-handbook
About
Production AI Systems, Agentic AI & Distributed Infrastructure
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalPrincipal AI Engineer Handbook

A reference for engineers working on production AI systems — reference architectures, labs you can run, and interview material grounded in both. Written for Principal and Staff AI Engineers, AI Platform Engineers, AI Architects, and Founding AI Engineers.
It covers a small number of systems in depth and looks at each from four angles: the concepts behind it, a design review of it, running code for it, and the interview round where it comes up. Those four are cross-linked, so a topic can be read in either direction — from the idea to the code, or from the code back to the reasoning.
Read the handbook → · New here? Start here explains which section to open and when.
What's here
| Section | What it is |
|---|---|
| Learn | Sixteen modules, Principal Engineer mindset through agent identity |
| Build | Production-quality labs in labs/ |
| Architecture | Reference architectures for recurring AI infrastructure problems |
| Interview | Interview questions embedded next to the material that answers them |
| Reference | One-page lookups for tools and primitives |
| Decision Records | Why the platform and its labs are built the way they are |
| Cheat Sheets | Printable, one-page summaries |
| Roadmap | Current version and what ships next |
Status
Sixteen Learn modules, fourteen labs, fourteen architecture pages, three interview tracks,
fourteen reference lookups, five cheat sheets. Every one of the fourteen labs has a matching
architecture page. Every lab passes ruff, mypy --strict, and its own test suite in CI.
Every one of those pages can also be heard: 74 episodes, twelve and a quarter hours, one per content page, each
with its transcript on the page. The model plans and writes a two-voice dialogue; speech is
synthesised locally. See docs/PODCAST.md for the pipeline and
ADR-0008 for
why it is built the way it is.
The Roadmap says what does not exist yet, and is kept
honest by a linter that fails the build when a page is missing a required section — or when a page
on a fast-moving topic goes unverified past its review window.
Repository structure
apps/handbook/ Astro + Starlight documentation site
packages/ui/ Brand design tokens (Tailwind v4 theme)
packages/components/ Reusable MDX doc components
packages/diagrams/ Client-side Mermaid diagram component
packages/shared/ Content schemas, versioning types, structural content linter
labs/ Production-quality labs (independent Python projects)
docs/ Contributor-facing guides (content authoring, local development)
scripts/ Repo-level tooling (content structure lint)
.github/workflows/ CI (lint, typecheck, test, build, e2e) — deployment is Cloudflare, not Actions
Local development
pnpm install
pnpm dev # http://localhost:4321
See docs/DEVELOPMENT.md for the full command reference and
docs/CONTENT_GUIDE.md for how to write a new page.
Deployment
The site is a Cloudflare Worker serving static assets — no server code, no deploy step in
.github/workflows/. Every push to main and every pull request gets its own build.
The decisions behind that are published rather than buried, because they are the same kind of
decision the handbook argues about:
ADR-0007
covers why this is a Worker rather than a Pages project, and
ADR-0005 is the
decision it superseded, kept because a reversal is worth more than a clean record.
docs/DEVELOPMENT.md has the project settings and the four ways
this configuration fails quietly.
Contributing
See CONTRIBUTING.md.
License
Author
Vinod Pattar — Principal Engineer, AI Platform & Full-Stack Architecture
Explore related projects
Loading…