CONTENTS
The Landscape — What “AI Engineer” Actually Means
“AI engineer” is one of the most overloaded job titles in tech. Depending on the company, it can mean anything from “wires a chat box to an API” to “writes CUDA kernels for distributed training.” Before planning a path, you need a map.
1.1 The spectrum of AI roles
Think of AI work as a spectrum running from the model itself (left) to the user (right):
MODEL-CENTRIC USER-CENTRIC
◄────────────────────────────────────────────────────────────────────────►
Research Research ML / Training ML Infra / AI Engineer AI Product
Scientist Engineer Engineer Inference Eng (Applied AI) Engineer
New methods Make research Train, fine- Serve models Build systems Build AI-
& theory run at scale tune, data fast & cheap on top of native UX
pipelines models & products
Research Scientist. Invents new methods: architectures, training objectives, alignment techniques, interpretability tools. Usually has a PhD or equivalent published work. Measured by insight. Strong math, experimental design, and reading and writing papers.
Research Engineer. The bridge. Takes research ideas and makes them run on thousands of GPUs. Builds training infrastructure, runs experiments at scale, debugs why a loss curve spiked at step 40,000. At frontier labs this role is often as important as the scientist role, and it is far more accessible to strong software engineers without PhDs. Strong engineering plus solid ML fundamentals.
ML Engineer / Training Engineer. Trains and fine-tunes models for specific purposes, builds data pipelines, owns the model lifecycle. At non-lab companies, this person might fine-tune an open-weights model on proprietary data.
ML Infrastructure / Inference Engineer. Makes models fast and cheap: GPU scheduling, batching, quantization, KV-cache management, serving systems. Very systems-heavy (C++, CUDA, Rust, distributed systems). It overlaps strongly with traditional backend and infrastructure work.
AI Engineer (Applied AI). Builds systems on top of foundation models: agents, retrieval pipelines, tool integrations, eval harnesses, guardrails. Treats the model as a powerful but unreliable component and engineers reliability around it. This is the role that grew most explosively after 2023, and the most natural entry point for you.
AI Product Engineer. Builds the user-facing experience of AI products: streaming interfaces, agent UIs, human-in-the-loop review flows, on-device inference, latency-hiding UX. It is heavily frontend and mobile, but requires real understanding of model behavior. This is where you can be valuable on day one.
Key insight: These are not rungs on a ladder where “research” is the top. They are different jobs. A great AI product engineer is rarer and often more valuable to a company than a mediocre research scientist. Choose based on what you enjoy and where you can be excellent.
1.2 What an AI engineer actually does all day
Strip away the hype, and applied AI engineering consists of a recognizable set of activities:
- Problem framing. Deciding whether a problem should use an LLM at all, and if so, how to decompose it. (Often the answer is “a regex and a SQL query handle 80% of it; the LLM handles the long tail.”)
- Context engineering. Designing what information the model sees: instructions, retrieved documents, tool definitions, conversation history, examples. This is the modern successor to “prompt engineering,” and it is genuinely an engineering discipline.
- Tool and integration design. Giving models the ability to act: call APIs, query databases, run code, browse. Designing tool interfaces that models use well is a surprisingly deep skill.
- Building evals. Creating test suites that measure whether the system works, and running them every time something changes. This is the core discipline (see Chapter 8).
- Error analysis. Reading hundreds of model outputs, categorizing failures, and finding what to fix. Unglamorous and essential.
- Orchestration. Building agent loops, workflows, retries, fallbacks, parallelization, human-in-the-loop checkpoints.
- Production concerns. Latency, cost, rate limits, observability, safety, prompt injection defense, privacy.
- Model selection and adaptation. Choosing models, sometimes fine-tuning, sometimes distilling a big model’s behavior into a small one.
Notice what’s not on the list for most applied roles: deriving backpropagation by hand, or training models from scratch. You should understand those things (Chapters 2, 3, and 11), because understanding makes you better at everything above. But the daily work is closer to systems engineering than to math.
1.3 Software 1.0, 2.0, 3.0
Andrej Karpathy popularized a framing that’s worth internalizing:
- Software 1.0: Humans write explicit instructions in code.
if (user.age >= 18) { ... } - Software 2.0: Humans curate data and an optimizer writes the program, as neural network weights. You don’t write a cat detector; you show it a million cats.
- Software 3.0: Humans write instructions in natural language that steer a pretrained general model. The “program” is a prompt plus context plus tools.
An AI engineer works across all three. The agent loop is 1.0 code. The model is a 2.0 artifact. The system prompt and tool descriptions are 3.0 programs. The skill is knowing which layer should handle which part of the problem:
| Requirement | Best layer |
|---|---|
| Must be 100% deterministic (billing math, auth) | 1.0: code |
| Pattern recognition on a fixed, high-volume task | 2.0: a small trained or fine-tuned model |
| Open-ended reasoning, language, ambiguous input | 3.0: LLM with context |
| Needs all three | A system that routes between them |
1.4 Why the role exists: the “unreliable genius” problem
LLMs are powerful and non-deterministic. They can write a correct compiler pass and then misread a date format. They are very good at generating plausible output, and plausible is not the same as correct.
Traditional software engineering assumes components are reliable: a function either works or throws. AI engineering is the discipline of building reliable systems out of unreliable components. If that sounds familiar, it should. It’s what distributed systems engineers do with networks, and what mobile engineers do with flaky connectivity, background-kill policies, and fragmented devices. You already have the temperament.
1.5 Why frontend and mobile engineers have a real advantage
This isn’t flattery; these are concrete overlaps:
| Your existing skill | Where it maps in AI engineering |
|---|---|
| Async, streaming, event-driven UI | Streaming tokens, tool-call events, agent progress UIs |
| Handling unreliable networks | Handling unreliable model outputs: retries, fallbacks, graceful degradation |
| Thinking about perceived latency | LLMs are slow; UX that hides latency is a competitive advantage |
| TypeScript type systems | Structured outputs, JSON Schema, tool definitions, Zod validation |
| State machines (navigation, forms) | Agent orchestration is mostly state machines |
| Device constraints (memory, battery, thermals) | On-device inference, quantization, model size trade-offs |
| Product sense and user empathy | Knowing what to build with AI, and how users will actually experience failure |
| Native bridges (JSI, Turbo Modules) | Integrating native ML runtimes (Core ML, ExecuTorch, llama.cpp) into apps |
The biggest gap in many AI teams is not model knowledge. It’s people who can turn a capability demo into a product that real users trust. That gap is your opening.
1.6 What you’ll need to add
To be honest about the gaps:
- Python fluency. The AI ecosystem’s lingua franca. You don’t need to abandon TypeScript (the TS AI ecosystem is strong), but research, training, evals, and most tooling live in Python. (Chapter 4.)
- A working mental model of how LLMs work. Not to train them, but to predict their behavior and failure modes. (Chapters 2 and 3.)
- Empirical, experimental habits. Frontend work gives fast deterministic feedback: change CSS, see the result. AI work gives noisy, statistical feedback: change a prompt, and 3% of 500 test cases get better while 1% get worse. You must learn to measure. (Chapter 8.)
- Backend and data comfort. Databases, vector search, queues, background jobs. Agents live server-side.
- (Optional, for deeper roles) ML fundamentals: linear algebra, probability, training dynamics, PyTorch. (Chapters 3 and 11.)
Key takeaways
- “AI engineer” spans a spectrum from research to product. Applied AI engineering and AI product engineering are the natural entry points for frontend and mobile developers.
- The core job is building reliable systems from unreliable components, using context engineering, tools, evals, and orchestration.
- Your existing skills in async UX, unreliable systems, types, state machines, device constraints, and product sense map directly onto real AI engineering needs.
- The main gaps to close are Python, a mental model of LLMs, empirical measurement habits, and backend/data comfort.
Exercises
- Find five “AI Engineer” job postings at different companies (a frontier lab, a big tech company, a Series B startup, an agency, a non-tech enterprise). Place each on the spectrum in §1.1. What do they actually require?
- List three features in an app you’ve built that could be improved with an LLM. For each, decide which parts belong to Software 1.0, 2.0, and 3.0.
- Write down your honest current comfort level (1–5) with Python, SQL, async backend work, linear algebra, and probability. Revisit after finishing the book.