What AI Engineers Actually Do: AI vs ML vs Software Engineer
11 min readFree lesson
Explain the AI engineer role, how it differs from ML and software engineering, and map your own experience to the work.
An AI engineer builds products around models that someone else usually trained. The model is one component, and the least predictable one: it can be wrong, slow, expensive, and different next month. Interviewers ask what the job is (directly or through your project stories) because your answer shows whether you see it as writing prompts or as engineering a dependable system around a probabilistic part.
What interviewers are testing
- You can place the role between software engineering and ML engineering without overselling either side.
- You know where the hard work sits: context, evaluation, tool safety, latency and cost, not the model call itself.
- You can map your own experience to that work with specific evidence.
- You read a job by its responsibilities, because the same title means different things at different companies.
Three roles, one product
Take HelpDesk AI, the running case in this course: a support assistant for a B2B SaaS company that answers questions from each customer's help articles and drafts tickets for human agents. Three kinds of engineer could work on it, and each owns a different layer.
| Role | Owns | A question they answer |
|---|---|---|
| Software engineer | Services, data, APIs, uptime | "Can the ticket service take 2,000 writes a second?" |
| AI engineer | Context, prompts, tools, evals, model cost | "Does the assistant answer from the right customer's docs, and how do we know?" |
| ML engineer | Training, fine-tuning, model pipelines | "Can a smaller fine-tuned model match quality at a third of the cost?" |
The borders are permeable. AI engineers fine-tune now and then, and ML engineers ship product code. The useful difference is the default starting point. An AI engineer starts from a model behind an API (hosted or self-hosted) and asks how to make a product dependable with it. An ML engineer starts from data and asks how to make a better model.
What the work looks like day to day
The core loop
Most weeks follow the same loop. Look at real outputs, find a failure pattern, change one thing (context, prompt, tool, model or guardrail), then check the change against a fixed set of cases before it ships. Teams that skip the check step ship regressions that only their users find.
The main work streams
| Work stream | What you build | On HelpDesk AI |
|---|---|---|
| Context and retrieval | Ingestion, chunking, search, permission filters | Index each tenant's articles and filter by tenant at query time |
| Prompts and outputs | Instructions, schemas, validation | Answers as JSON with cited article IDs |
| Tools and agents | Tool definitions, loops, approvals | The assistant drafts a ticket, a human approves it |
| Evaluation | Test sets, graders, release gates | 300 labeled questions run on every prompt change |
| Serving and cost | Routing, caching, streaming, budgets | Simple FAQs go to a smaller model, long answers stream |
| Safety and security | Injection defenses, data boundaries, audit logs | Text inside customer tickets is treated as untrusted input |
The skills matrix
| Skill | How much most AI engineer roles need |
|---|---|
| Backend engineering: APIs, queues, databases | Core |
| Python or TypeScript in production | Core |
| LLM behavior: tokens, context, sampling, failure modes | Core |
| Retrieval and embeddings | Core |
| Evaluation design and basic statistics | Core |
| Product sense and talking to users | Core at startups and in customer-facing roles |
| Fine-tuning and training loops | Depends on the team |
| GPU and inference internals | Platform and serving teams |
How titles vary
Same work, many labels. Read the responsibilities and the interview format before you decide what to prepare.
| Title you may see | What it usually means |
|---|---|
| AI engineer, LLM engineer | Builds model-backed features. Closest to this course |
| Applied AI engineer | Same core skills, often closer to customers or one product area |
| AI product engineer | Full-stack product work where AI features are a large share |
| Forward deployed engineer (FDE) | Works directly with customers to solve their problems on their data and systems |
| ML engineer | Training, fine-tuning and model pipelines, with more math in the loop |
| Research engineer | Builds the infrastructure and experiments research teams run |
| AI platform or inference engineer | Serving, routing, gateways and GPU efficiency for other teams |
One lab's applied AI posting, for example, asks for experience as a forward deployed engineer, product engineer or software engineer, plus production work with prompting, evaluation and MCP. That is an AI engineer profile with customer contact added, whatever the title says.
Quick check
A posting asks for RAG, agent tooling, eval pipelines and shipping features weekly. What should you prepare first?
- Transformer math and distributed training, since every AI role tests the model internals
- Practical coding plus design rounds on retrieval, evals and tool safety
- Prompt templates for common tasks, since the role is mostly prompt writing
- Classic ML theory, since AI engineer is another name for ML engineer
Show the answer
B. The responsibilities describe an AI engineer loop, so design and practical coding carry the weight. Training math fits an ML engineer posting, and "mostly prompts" undersells the role.
Worked example: mapping a background to the role
Priya has five years of backend work on payment services. She built one internal LLM tool, a summarizer for incident reports, and now wants an AI engineer role. Here is how she maps herself.
- She lists the six work streams from the table above.
- She rates her evidence for each one honestly.
- She picks the two gaps that carry the most interview weight.
- She rewrites her strengths in AI terms.
| Work stream | Her evidence | Rating |
|---|---|---|
| Context and retrieval | Summarizer only read the report itself | Weak |
| Prompts and outputs | JSON schema plus a retry when parsing failed | Some |
| Tools and agents | None | None |
| Evaluation | Checked 10 summaries by eye | Weak |
| Serving and cost | Ran services with p99 latency targets and rate limits | Strong, transferable |
| Safety and security | Audit trails, idempotent writes, PII handling | Strong, transferable |
Evaluation and retrieval come up in design rounds and as follow-ups in nearly every round, so those are her first two gaps. Her payments background becomes AI evidence when she frames it well: idempotent writes become "tool calls that can never refund twice", and p99 work becomes "a latency budget for streamed answers".
Her pitch becomes: "I build reliable backend systems, and I have started applying that to LLM features. I shipped an incident summarizer with schema validation, and I'm now adding an eval set and retrieval to it." It is honest, specific, and invites the follow-ups she can answer.
How to answer in the interview
For "What does an AI engineer do?", "Why AI engineering?" or "Tell me about yourself":
- Define the role in one sentence: dependable products around models you mostly do not train.
- Name the hard parts: context, evaluation, tool safety, latency and cost.
- Contrast with ML engineering in one line.
- Give one concrete example from your own work, with a number if you have one.
- Say what you want to do next and why this team fits.
"An AI engineer builds products where a model is a core part, usually a model we call rather than train. The call itself is the easy bit. The work is getting the right context in, making outputs checkable, keeping tools safe, and proving quality with evals before each change. ML engineers improve the model, I improve the system around it. Last year I added an LLM summarizer to our incident tooling. The biggest lesson was that without a fixed test set we could not tell whether a prompt change helped, so I built one with 80 cases. I want to do that work full time on a product with real users."
Practise out loud
“In your own words, what does an AI engineer do, and how is that different from an ML engineer?”
Answer out loud in about 2 minutes. In the PanelReady app you can record it and play it back.
| Weak answer | Strong answer |
|---|---|
| "I write prompts and use agent frameworks." | "I design context, tools and evals so a model feature stays correct as it changes." |
| "AI engineers are basically ML engineers." | "We overlap on evals and fine-tuning, but I start from a model API, not a training run." |
| "The model does most of the work." | "The model is the least predictable part, so most of my design effort goes around it." |
| Lists ten tools | Describes one failure they found and fixed, with a number |
Likely follow-up questions
- How is this different from a backend role with an API call in it? The output is probabilistic and can change without a code change, so you need evals, guardrails and fallbacks a normal dependency does not need.
- When would you fine-tune instead of using prompts or retrieval? When the gap is behavior or format that instructions and examples cannot fix and you have good data. Missing knowledge usually goes to retrieval first (see the Fine-Tuning section).
- What part of the job is hardest? Pick a real one, usually evaluating open-ended output, and explain how you approach it.
- Do you need to understand transformers? Enough to reason about context limits, cost, latency and failure modes. Model-heavy roles go deeper (see LLM Foundations).
- What would you measure in production? Quality on sampled traffic, task success, time to first token and total latency, cost per request or per resolved task, and safety incidents.
Quick recap
- AI engineers build dependable products around models they mostly do not train.
- The hard parts are context, evaluation, tools, latency, cost and safety.
- ML engineers own the model layer and software engineers the services, with permeable borders.
- Titles vary: read the responsibilities and ask about the interview format.
- Map your background to the six work streams and bring specific evidence.
Practise it
- Explain the AI engineer role in 60 seconds, out loud, with one example from your own work. Record it and cut any sentence that carries no information.
- Fill in the work streams table with your own evidence (strong, some, none). You will reuse it in the assignment "Build Your Baseline and Repair Plan".
- Take one real AI engineer job posting and label each responsibility with its work stream.
Show a worked labeling of a job posting
- "Build retrieval over customer documents" maps to Context and retrieval.
- "Define quality metrics and run offline evals" maps to Evaluation.
- "Integrate tools so the assistant can create tickets" maps to Tools and agents.
- "Keep p95 latency under 2 seconds and cost per request in budget" maps to Serving and cost.
- If most lines land in these streams, prepare for an AI engineer loop. If they mention training pipelines or architecture, expect an ML engineer loop.
Sources and further reading
- The Rise of the AI Engineer (Latent Space): the 2023 essay that popularized the title and the "API line" between AI and ML engineers.
- Building A Generative AI Platform (Chip Huyen): a component-by-component map of what gets built around the model.
- What We've Learned From A Year of Building with LLMs: practitioners on why the system matters more than the model.
- Building effective agents (Anthropic): the workflow versus agent distinction and the case for starting simple.
- Applied AI Engineer, Enterprise (Anthropic job posting): a real posting that mixes LLM, eval, MCP and customer skills.
- Forward Deployed Software Engineer (Palantir job posting): how a customer-embedded engineering role is described.