“AI engineer” is one of the newest job titles in software, and one of the least clearly defined. This guide sets out what the role involves, which skills matter most and the order to learn them in. It is the outline of AcademAI’s AI Engineer path, and each stage ends with a project you can show.
What an AI engineer does
An AI engineer builds applications on top of large language models and other foundation models. They usually don’t train models from scratch. Instead they decide which model to use, how to give it the right context, how to connect it to tools and data, and, most importantly, how to know whether the result is good enough to ship.
The useful mental model: the model is one component of a system. Most of the work, and most of the reliability, comes from what surrounds it: data pipelines, retrieval, tool integrations, evaluation and monitoring.
Before you start
You need to be comfortable writing and debugging code in one language, usually Python or TypeScript, and with calling web APIs and handling JSON. You do not need a background in machine learning research. Some statistics helps when you reach evaluation, and the path introduces it there.
Stage 1: Models through APIs
Start by calling models directly through an API, or by running an open-weights model locally.
- Send requests, stream responses and handle errors and rate limits.
- Understand tokens, context windows and how cost and latency scale with them.
- Compare a few models on the same task, so that “which model?” becomes a measurement instead of a guess.
Project: a command-line tool that answers questions about a text file, with the model, temperature and cost per request configurable and logged.
Stage 2: Prompting and structured output
Prompting is specification-writing: describing the task, the constraints and the output format precisely enough that the model can follow them.
- Write clear instructions with examples, and separate instructions from data.
- Ask for structured output (JSON matching a schema) and validate it in code.
- Learn function calling, where the model returns a structured request for your code to run.
Project: extract structured fields from a set of invoices or job ads into a validated table, and measure how often the extraction is correct.
Stage 3: Retrieval
Models don’t know your organisation’s documents. Retrieval-augmented generation (RAG), introduced in research by Lewis and colleagues in 2020, gives the model relevant passages at question time.
- Turn documents into chunks and embeddings, and store them in a vector index.
- Retrieve candidate passages, re-rank them and pass the best into the prompt.
- Make the model cite which passage supports each claim.
Project: a question-answering assistant over a public document set, such as a product manual or a set of policies, that cites its sources and says “I don’t know” when retrieval finds nothing relevant.
Stage 4: Tools and agents
An agent is a model that decides which actions to take, calls tools, observes the results and continues until the task is done. The ReAct pattern, which interleaves reasoning steps with actions, is a common starting point.
- Define tools with clear names, descriptions and input schemas.
- Control the loop: step limits, timeouts and what happens when a tool fails.
- Prefer a fixed workflow when the steps are known, and use an open-ended agent only when they aren’t.
Project: an agent that researches a question using a search tool and a calculator, and produces a short, cited report with every tool call logged.
Stage 5: Evaluation
This is the stage that separates demos from products, and the one most tutorials skip. You need to know, with evidence, whether a change made your system better or worse.
- Build a test set of realistic inputs with expected outcomes, including hard and adversarial cases.
- Grade outputs with code where you can, and use model-based grading only where you must, checked against human judgement.
- Test the evaluation itself: a reference solution should pass, and a system that does nothing or takes a shortcut should fail.
- Run the test set on every change, like a regression suite.
The setup around a model can change results dramatically. Hugging Face reports an audit of Terminal-Bench in which changing only the agent harness, with the model held fixed, moved accuracy by up to 29.9 percentage points. Evaluate the whole system, not just the model.
Project: add an evaluation suite to your Stage 3 or Stage 4 project, then use it to show, with numbers, that one specific change improved the system.
Stage 6: Production
Shipping adds concerns that a prototype can ignore.
- Cost and latency: caching, smaller models for easy cases, batching.
- Security: treat model output and retrieved content as untrusted input, and guard against prompt injection when tools can take actions.
- Monitoring: log inputs, outputs and tool calls; sample them for review; alert on failures and cost spikes.
- Privacy: know which data may be sent to which provider.
Project: deploy one of your systems behind a simple web interface with logging, a cost dashboard and the evaluation suite running in continuous integration.
How long it takes
It depends on your starting point and the hours you have. A working developer studying part-time can typically build the six projects over several months. A career switcher who is still learning to program should expect longer, and should treat programming fundamentals as Stage 0.
What to do next
Start with Stage 1 this week: a small tool, a few models and a log of what each request costs. Then follow the stages in order. Each one builds on the last, and your projects will become your portfolio.
AcademAI is publishing free guides for each stage of this path. Join the waitlist to get them as they are released, and to hear first when guided cohorts open.
Prepared with AI assistance and reviewed by an editor before publication. Editorial & AI policy.