Skip to content
AI from Scratch
EN

The roles: who does what in AI

Job titles in this sector are a mess. The same posting called "AI Engineer" can ask for anything from assembling prompts to writing CUDA kernels. This document sorts it out by what you actually do every day, not by what the posting calls it.

And at the end of each role, which parts of this project prepare you for it.


Quick view

RoleBuildsMostly works withTrains models?
AI Developerproducts that use modelsAPIs, prompts, RAG, agentsno
AI EngineerAI systems in productionopen models, fine-tuning, servingfine-tunes, does not pre-train
ML Engineerlearning pipelinesdata, training, deploymentyes
Data Scientistanalysis and predictive modelstabular data, statisticsclassical models
Researcher (applied scientist)new methodspapers, experimentsyes, from scratch
MLOps / platformthe infrastructureKubernetes, GPUs, observabilityno, makes them possible

AI Developer

Also called: AI Developer, LLM Application Developer, GenAI Developer.

What you actually do

You build products that use models somebody else trained. The model is a component, like a database.

A typical day: design the prompt for a new feature, wire up document retrieval, work out why the model returns malformed JSON, measure how much each query costs, and integrate all of it into the application.

What you need to know

EssentialUsefulNot needed
Programming well (Python, TypeScript)Vector databasesTraining models
How an LLM works insideFine-tuning with LoRAAdvanced calculus and algebra
Prompting, chat templatesAutomated evaluationCUDA, distributed systems
RAG and tool useLocal modelsResearch
Costs, latency, rate limitsObservability

The mistake that defines the bad ones in this job

Treating the model as a magic black box. Someone who understands what a token is, why the context window is a hard limit and where hallucinations come from builds products that work. Someone who does not builds demos that fall over in production.

That is exactly where this project leaves you.

What to study here

docs/01 (the complete journey) · docs/05 (failures and limits) · stage 12 (RAG and tools) · docs/13 (agents) · stage 11 (the server)


AI Engineer

Also called: AI Engineer, LLM Engineer, Applied AI Engineer.

What you actually do

The rung above: you do not just consume models, you adapt and serve them.

A typical day: prepare an instruction dataset, launch a LoRA fine-tune, compare variants against an evaluation suite you wrote yourself, quantize the result so it fits the GPU you actually have, and get it serving with vLLM while measuring tokens per second.

What you need to know

EssentialUsefulNot needed
Everything the developer needsRLHF, DPOPre-training from scratch
Real PyTorchDistillationWriting kernels
Fine-tuning: SFT, LoRA, QLoRAAdvanced quantizationPublishing papers
Serving: vLLM, TensorRT-LLMMultimodal models
Quantization and memory budgeting
Evaluating: designing your own tests

The skill that really separates people

Knowing how to evaluate. Anybody can launch a fine-tune. Very few people can say whether it improved anything, and fewer still can design a test that isolates one specific capability with a chance baseline.

It is literally what etapas/13_evaluacion/prueba_concordancia.py does, and the reason that in stage 06 the GPT and the MLP come out tied on mean loss and 100% against 50% apart on the specific test.

What to study here

Stages 06 to 10 in full · docs/04 (hardware and scale) · stage 13 (evaluation) · stage 06.4 (the PyTorch bridge)


Machine Learning Engineer

Also called: ML Engineer, MLE.

What you actually do

The oldest and broadest role: the whole life cycle of a model, and not just language ones. Recommenders, fraud detection, vision, time series.

A typical day: investigate why the production model has lost accuracy (clue: the input data has changed), retrain on fresh data, compare against the current one, set up the gradual rollout, and automate it so you are not doing it by hand again next month.

What you need to know

EssentialUsefulNot needed
Real mathematicsReinforcement learningCutting-edge research
Data engineering (SQL, Spark)Distributed systems
Training and debugging for realInference optimization
Feature engineeringCausality
MLOps: versioning, reproducibility
Statistics and experimental design

What nobody tells you

70% of the job is the data. Cleaning it, understanding it, discovering that the column that predicts best gets filled in after the event you are trying to predict (data leakage, the most expensive failure in the trade).

The model is the easy part and the fun part. It is also the shortest.

What to study here

Stages 00, 03, 04, 07 (the real fundamentals) · docs/03 (mathematics) · docs/12 (distributed) · and above all etapas/07_entrenamiento/03_sobreajuste.py


Data Scientist

Works mostly with tabular data and business questions. Gradient boosting (XGBoost, LightGBM) beats neural networks on tables most of the time, and that is still true in 2025.

The key difference from the MLE: the data scientist answers questions; the ML engineer builds systems. One delivers a report or a notebook; the other, a service that works at 3 in the morning.

What helps here: docs/03 (mathematics), stage 07 (overfitting, validation), docs/05 (why metrics mislead).


Researcher / Applied Scientist

Invents new methods. Usually requires a PhD, not for the title but for the practice: reading a hundred papers, designing experiments that isolate one variable, and writing so that others can reproduce it.

Reality: there are few positions and they are highly competitive. Most of AI's value today is generated by people applying existing methods, not inventing them.

What helps here: all of it, but as a starting point. The next step is the original papers listed in docs/09-historia.md.


MLOps / Platform Engineer

Builds the infrastructure everybody else works on: GPU clusters, data pipelines, model registries, observability, deployments with no downtime.

It is a systems engineering role, not an AI one. But somebody who understands what happens inside the model designs far better infrastructure: they know why the KV cache is the scarce resource and why batching requests is nearly free.

What helps here: docs/04 (hardware), docs/12 (distributed), stage 08 (inference, KV cache, quantization), stage 11 (serving).


On "Prompt Engineer"

It was a real job in 2023. Today it is disappearing as a standalone role — and it is worth understanding why:

  1. Models obey far better: less craft is needed.
  2. Writing prompts is a skill within other jobs, not a job.
  3. The hard part was never the prompt: it is evaluating whether the change improved anything.

What has survived, under another name, is designing evaluation systems. Nobody automates that.


How to choose

If you enjoy...Look towards
building products people useAI Developer
squeezing models and measuring everythingAI Engineer
mathematics and dirty dataML Engineer
answering business questionsData Scientist
understanding why it worksResearcher
nothing ever falling overMLOps

The most realistic route today

AI Developer  →  AI Engineer  →  ML Engineer
  (months)        (1-2 years)     (2-4 years)

Starting at the end — wanting to pre-train models without ever having put anything into production — is the most common and most frustrating mistake.

What this project really gives you

It does not turn you into any of these roles. It gives you something more concrete and more scarce: you know what happens inside.

In interviews, and at work, the difference between somebody who has written an autograd and somebody who has read about autograd shows up on the first follow-up question. And in production it shows up when something fails and somebody has to understand why.


Next: 15-herramientas.md