Skip to content
Blog
AI EngineeringCareerIndustry

What Does an AI Engineer Actually Do?

Follow a support assistant from a wrong answer to a tested fix. See how applied AI, ML platforms, and research engineering divide the work.

12 min read
On this page

AI engineering turns models into software people can use. Depending on the team, the job can mean shipping a product feature, operating a training or serving platform, or building experiments for researchers. The engineer writes the surrounding code and checks whether the resulting system actually solves the task.

Consider a fictional support incident. An assistant tells a customer that cancellation requires 60 days' notice, but the current policy says 30. Availability and latency dashboards are green. Customers still receive the wrong answer.

Before rewriting a prompt, inspect one request. Did the current policy reach the model? Did the answer match that evidence? Did the customer see the checked response? Each "no" points to different code. Tracing that chain, fixing the fault, and preventing its return is a useful picture of the job.

The title alone won't tell you which part you would own. The U.S. Bureau of Labor Statistics describes related work in its software developer, data scientist, and computer research scientist profiles; those occupations overlap with the work discussed here but are not interchangeable with an employer's AI-engineer title.[1][2][3]

Read the job behind the title

In 2023, swyx used "AI engineer" for software built on foundation models, general-purpose models reused across products, distinct from training those models.[4] The distinction remains useful, but teams now use the title for several kinds of ownership.

Three job descriptions checked on October 10, 2026 illustrate the spread. They are examples from frontier labs, not a representative survey of the job market. Openings and responsibilities can change.

OpenAI's Applied AI Engineer, API Platform, Digital Natives role combines customer-facing architecture, hands-on prototypes, evaluations, integrations, and production launch. Workshops and customer relationships are part of this particular job, not just implementation.[5]

Anthropic's Research Engineer, RL Engineering role owns reinforcement-learning (RL) training systems across orchestration, environments, training, inference, and evaluation. The posting combines operating those systems with studying training behavior at scale and working with researchers on new methods. Profiling and debugging distributed runs support that work.[6]

Anthropic's Research Engineer, Machine Learning (Reinforcement Learning) role combines novel methods, environments, evaluations, scaling, and research direction.[7]

Both Anthropic postings mix systems and research. One emphasizes ownership of the RL training system; the other explicitly includes shaping research direction. Ask what artifact you would own and how the team would evaluate it, rather than inferring a clean boundary from the title.

Role familyPrimary artifactWork that often dominatesNot implied by title
Applied AI or product AI engineerUser-facing model-backed workflowProduct integration, retrieval, tool use, evaluations, experiments, and operationsTraining a foundation model
Machine-learning or platform engineerRepeatable train, deploy, or serve pathData and training pipelines, serving, performance, reliability, and monitoringOwning the user interface
Research engineerExperimental result backed by working codeImplementing methods, building environments and evaluations, scaling runs, and analyzing failuresBeing first author on every research claim
Research scientistSupported research claim or new methodHypotheses, experiment design, interpretation, and publicationOwning production infrastructure end to end
Data scientistAnalysis, predictive model, or decision evidenceData preparation, statistics, experimentation, modeling, and communicationOperating a model-backed product service

These are common emphases, not exclusive assignments. A small team may combine several rows. In an interview, ask what you would deliver in the first three months, who uses it, how success is measured, and who handles failures after launch. A job that mainly helps customers integrate an API can look very different from one that owns an internal training cluster.

Follow one request to its release

Applied AI starts with a user task, not a model name. For the support assistant, the contract might require an answer grounded in the user's permitted policy documents, claim-level citations, an abstention when evidence is missing, and a .

An abstention states that the available evidence doesn't support an answer. It keeps a missing policy from becoming a guessed policy.

The contract can also define a response schema: the expected output fields and their types. Application code checks that shape before using the response.

The model is one stage inside that contract. The surrounding work is easier to see when each failure has an owner:

WorkstreamConcrete artifactFailure that exposes it
Task and evaluation contractSupported inputs, expected outputs, refusal rules, and fixed evaluation casesTeam can't say whether one answer is correct
Context and dataParsed sources, versioned index, access policy, and retrieval testsCorrect or permitted evidence never reaches the model
Tool boundarySchemas, authorization, , approval, and audit eventsModel proposes an invalid or duplicate side effect
Model boundaryVersioned prompt and model config, response schema, timeout, and fallbackOutput can't be parsed, or behavior changes silently
Release evidenceBaseline-versus-candidate report, failed rows, and targetDemo improves while an important slice regresses
OperationsJoined traces, latency, errors, usage, and costTeam sees a bad answer but can't locate its failing stage

Evidence before generation

(RAG) supplies selected external evidence at request time. For this assistant, every policy passage needs a source, version, and access scope. Splitting documents into passages is called .

Search design depends on the documents. can find semantic matches; lexical methods such as score term matches.[8][9] Neither guarantees an exact identifier survives tokenization or that a highly ranked policy is current. An exact-ID lookup may be simpler for a known plan code. Add hybrid search or a when measured retrieval failures justify the extra stage.

Three illustrative policy records are checked for caller account A. A-v2 is current, says 30 days, and is included. A-v1 says 60 days but is superseded, so it is excluded. B-v4 is current and says zero days but belongs to account B, so it is excluded. Only A-v2 enters the model context.
Relevance is not permission or freshness. The application checks both. The model receives A-v2, not whichever record happens to sound most similar.

Enforce document permissions before sending evidence to the model or another service not authorized to see it. Check them again when a link or tool reads the source. A filter after generation is too late to prevent disclosure through the model request. Scope alone is also insufficient: A-v1 is allowed but stale. The Document QA capstone builds the ingestion, retrieval, citation, and abstention path.

Trusted tools and actions

A model can propose a tool call, but application code decides whether to execute it. That code uses the authenticated caller's identity, validates arguments, checks authorization, applies , and records the result. A model-supplied account ID is not permission to act on that account.

If the assistant may open a billing ticket, the runtime must also handle duplicate submissions and ambiguous timeouts. A local request log can't by itself prevent a remote ticket from being created twice; the downstream service needs an idempotency contract or a way to reconcile the result. Function Calling & Tool Use develops these boundaries through read authorization, write approval, retries, and trajectory evaluation.

Model and serving choices

A hosted API keeps accelerator scheduling outside the product team's boundary, but the application still owns model configuration, timeouts, usage, fallbacks, privacy, and release checks. Self-hosting adds batching, routing, memory, deployment, and cache management.

The stores attention data from previous tokens. organizes that cache in blocks to reduce wasted when request lengths vary.[10][11]

Diagnosis also guides adaptation. If the correct policy never arrives, investigate the data path. If fields are malformed, test , while still handling refusals and incomplete responses; schema compliance doesn't establish truth.[12] A persistent behavior gap with representative training and evaluation data may justify (LoRA) or another tuning method.[13][14] These are hypotheses to test, not a rule that every failure requires a larger model or a training run.

Inference: TTFT, TPS & KV Cache explains the serving path. LoRA & Parameter-Efficient Tuning covers the training and memory tradeoffs after a measured behavior gap makes tuning reasonable.

Evaluation and release

Evaluation starts before release. It defines what the team is trying to preserve while prompts, retrieval, tools, models, and infrastructure change.

Use direct assertions for schema validity, permitted source IDs, tool arguments, and labeled abstention cases. A citation's presence can be checked mechanically; whether it supports the claim may require human review or a model-based judge checked against human labels. Public benchmarks such as Massive Multitask Language Understanding (MMLU), HumanEval, and describe behavior under their own datasets and protocols. They don't replace cases from your product.[15][16][17]

Release rule: Compare baseline and candidate on the same versioned cases. Inspect failed rows and before accepting an aggregate score.

The LLM Benchmarks & Limitations lesson turns these checks into a release decision with reproducible evidence.

Trace the failing layer

Return to the 60-day answer. Reconstruct the request: caller access scope, search query, returned source IDs and versions, final context, model response, validation result, and rendered output. Avoid copying sensitive request contents into unrestricted logs.

Read the trace in order. Stop at the first failed condition, repair that layer, then replay the whole path to check for another fault.

Trace conditionIf it fails, inspectRegression evidence
Current permitted policy A-v2 reaches contextIngestion, effective-version filters, retrieval, and rerankingA-v2 enters; stale A-v1 and forbidden B-v4 don't
The answer is supported by A-v2Response contract, abstention, and model choiceThe answer says 30 days and cites A-v2
The user sees the validated responseParser, cache, persisted state, and renderingThe displayed answer remains 30 days for this account
All conditions hold but the case is still labeled wrongEvaluation label and product expectationThe policy owner confirms the expected behavior

If A-v2 never entered context, inspect ingestion, version selection, filters, retrieval, and any reranking. A prompt can't supply the missing source, although it can make the assistant abstain or request another lookup instead of guessing.

If the right policy did enter context but the answer contradicts it, inspect the response contract, abstention behavior, and model choice. Hold the evidence packet steady while comparing generation changes.

If validation passed but the customer saw different text, inspect parsing, caching, state, and rendering. The model can be correct while an ordinary application layer is wrong.

For this fictional incident, suppose the trace contains A-v1 and no A-v2. An illustrative day's work might look like this:

WorkResult to inspect
Confirm the intended policy with its ownerA-v2 is effective for this account; 30 days is the expected answer
Reproduce the bad lookup locallyA-v1 still qualifies because the query omits the effective-version condition
Write the failing case and repair the queryA-v2 is included; A-v1 and another account's policy are excluded
Run the retrieval and answer evaluationsInspect failures, abstentions, latency, and unchanged-account cases, not only the original request
Review and release the patchSave the tested revisions, monitor the affected slice, and retain a known-good rollback path

That's a query fix, a test, a review, and a rollout. No new model was needed. A different trace could lead to a prompt experiment, an API integration fix, or an investigation with the model provider. During an active incident, contain harm first: a safe fallback or rollback may be necessary before the full repair is ready.

Choose work you want to own

One way to plan growth is to widen the responsibility you can handle. Start with a bounded path: a retrieval endpoint, a tool contract, an , or a serving change. Make it reproducible and explain a failure you diagnosed.

Then connect those pieces end to end. Choose trade-offs across quality, latency, cost, permissions, and rollback, and explain them to the people who use or operate the system.

Broader roles may set shared interfaces, reliability budgets, evaluation practice, or serving architecture across teams. This is a way to assess scope, not a universal leveling ladder. Ask the employer how its levels map to actual responsibility.

Match study to artifact

Choose a study path that matches the work you want to show. These routes suggest practice projects, not hiring guarantees; prerequisites still matter.

TargetCurriculum pathEvidence to finish with
Applied AIFirst AI App End-to-End → File Ingestion for AI → Function Calling & Tool Use → LLM Benchmarks & LimitationsDeployed workflow with traces, , failure handling, and rollback
Machine-learning or platform engineeringPyTorch Training Loops → Dataset Pipelines and Data Quality → Model Versioning & Deployment → Inference: TTFT, TPS & KV CacheReproducible train-or-serve path with reliability and performance evidence
Research engineeringThe Transformer Architecture End-to-End → Distributed Training: FSDP & ZeRO → Capstone: Reproducible ML StudyBaseline, implementation, controlled experiments, uncertainty, and artifacts
Data science moving toward AI systemsProbability for Machine Learning → Experiment Design and A/B Testing → PyTorch Training LoopsAnalysis or model tied to honest validation and a decision

Framework names will change. The durable skills are task definition, data and permission boundaries, model behavior, evaluation, systems performance, and evidence-backed communication.

For a step-by-step transition plan, continue to How to Become an AI Engineer from Zero in 2026. For project packaging and interview evidence, use AI Engineer Portfolio Projects for Interviews.

Share this article
References

Software Developers, Quality Assurance Analysts, and Testers

U.S. Bureau of Labor Statistics · 2025

https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm

Data Scientists

U.S. Bureau of Labor Statistics · 2025

https://www.bls.gov/ooh/math/data-scientists.htm

Computer and Information Research Scientists

U.S. Bureau of Labor Statistics · 2025

https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm

The Rise of the AI Engineer.

swyx · 2023

https://www.latent.space/p/ai-engineer

Applied AI Engineer, API Platform, Digital Natives

OpenAI · 2026

https://openai.com/careers/applied-ai-engineer-api-platform-digital-natives-san-francisco/

Research Engineer, RL Engineering

Anthropic Careers · 2026

https://job-boards.greenhouse.io/anthropic/jobs/4952051008

Research Engineer, Machine Learning (Reinforcement Learning)

Anthropic Careers · 2026

https://job-boards.greenhouse.io/anthropic/jobs/4613568008

Dense Passage Retrieval for Open-Domain Question Answering.

Karpukhin, V., et al. · 2020 · EMNLP 2020

https://arxiv.org/abs/2004.04906

The Probabilistic Relevance Framework: BM25 and Beyond.

Robertson, S., & Zaragoza, H. · 2009 · Foundations and Trends in Information Retrieval

https://doi.org/10.1561/1500000019

Efficient Memory Management for Large Language Model Serving with PagedAttention

Kwon, W., et al. · 2023 · SOSP 2023

https://arxiv.org/abs/2309.06180

vLLM: Easy, Fast, and Cheap LLM Serving with PagedAttention

vLLM Team · 2024

https://github.com/vllm-project/vllm

Structured outputs

OpenAI · 2024

https://developers.openai.com/api/docs/guides/structured-outputs

LoRA: Low-Rank Adaptation of Large Language Models.

Hu, E. J., et al. · 2021 · ICLR

https://arxiv.org/abs/2106.09685

QLoRA: Efficient Finetuning of Quantized LLMs

Dettmers, T., et al. · 2023 · NeurIPS

https://arxiv.org/abs/2305.14314

Measuring Massive Multitask Language Understanding (MMLU).

Hendrycks, D., et al. · 2021 · ICLR 2021

https://arxiv.org/abs/2009.03300

Evaluating Large Language Models Trained on Code (HumanEval).

Chen, M., et al. · 2021 · arXiv preprint

https://arxiv.org/abs/2107.03374

SWE-bench: Can Language Models Resolve Real-World GitHub Issues?.

Jimenez, C. E., et al. · 2024 · ICLR 2024

https://arxiv.org/abs/2310.06770