I came across a post by Igor Brasil with "the 18 types of artificial intelligence engineering": prompt, context, RAGTechnique that retrieves relevant passages from a document base and hands them to the model with the question, so it answers from sources, not memory alone., MCPOpen protocol that standardizes how AI apps connect to external tools and data: a server exposes actions and the agent discovers and calls them., agents, harnessStructure around the model in an agent: the run loop, tools, permissions, hooks and checks that turn answers into reliable work., guardrails, evalsAutomated tests for AI systems: a set of cases with expected answers, run on every change, to measure whether results got better or worse. and so on (Igor Brasil, in Portuguese). The list is useful as vocabulary, and the author himself warns that the names form a "teaching map". But someone new to the field might walk away thinking they have to pick one of eighteen careers.
You don't. I work as a fullstack developer and have built, in personal and client projects, RAG with pgvector, an MCP server, agents with tools and answer evaluation. All of that fits in the same role. In this article I organize the map: what the real roles are, how the 18 types group together, what the classic areas of AI are and who built each one.

What AI Engineering Is
The best short definition comes from Chip Huyen, author of AI Engineering (O'Reilly, 2025). For her, AI engineering grew out of machine learning engineering, but it is "less about model development and more about adapting and evaluating models". And she adds: ML knowledge is no longer a must-have to build AI applications (The Pragmatic Engineer).
The term became popular in 2023 with "The Rise of the AI Engineer", from swyx's Latent Space newsletter. The central idea is an imaginary line, the "APIContract that defines how one program asks another for data or actions: which endpoints to call, what to send and what comes back. On the web, usually HTTP with JSON. line": on one side are the people who train and host models; on the other, those who build products using ready-made models, through an API or open source. The line is permeable, since an AI engineer can do fine-tuningFurther training of an existing model on your own examples to adjust style, format or specialty. It changes the model's weights, unlike just editing the prompt., but it helps separate the work (Latent Space).
roadmap.sh, one of the most used career guides among developers, uses the same split: the AI engineer uses pre-trained models and existing tools, unlike researchers and ML engineers, who create new models (roadmap.sh). The roadmap is in the tools catalog.
The Roles the Market Recognizes
| Role | What it does day to day | Side of the "API line" |
|---|---|---|
| Data engineering | collects, cleans, versions and delivers data for training, analysis and RAG | before the model |
| Machine learning engineering | turns a problem into a trained and validated model | trains the model |
| AI engineering | integrates ready-made models into products: prompt, context, RAG, tools, agents, evaluation | uses the model |
| MLOps and platform | automates the lifecycle: deploy, monitoring, cost, retraining | runs the model |
Data scientist and AI researcher are neighboring roles. The first extracts answers from data with statistics and ML. The second creates new techniques and models.
The 18 Types of AI Engineering in 6 Families
When you put the 18 types side by side, several are the same work under another name, or a part of another one. A prompt is a piece of context. MCP is a way to expose tools. Loop and graph are ways to build an agent. I grouped them like this:
| Family | Types from the list | In practice |
|---|---|---|
| 1. Model interaction | prompt, context, memory | what the model receives and what it remembers |
| 2. Knowledge and data | RAG, data | where the information the model uses comes from |
| 3. Models | models | which model, how much it costs, when to tune it |
| 4. Integration | tools, APIs, MCP | how the model acts on other systems |
| 5. Orchestration and agents | agents, harness, loop, graph, workflow | who decides the next step |
| 6. Quality, security and operations | guardrails, evaluation, LLMOps, MLOps | how to know it works and keep it working |
1. Model Interaction: Prompt, Context and Memory
Prompt engineering is writing the instruction: goal, examples, response format. In 2025 it got a bigger name. Tobi Lütke, CEO of Shopify, said he prefers "context engineeringPractice of choosing what goes into a model context at each step (instructions, documents, history, tools) so it has what it needs and nothing more.", because it better describes the core skill: giving the model all the context for the task to be plausibly solvable. Andrej Karpathy agreed right away (Simon Willison). Anthropic defines context engineering as the strategies for curating and maintaining the optimal set of tokens during execution, and calls it the "natural progression" of prompt engineering (Anthropic).
Memory is context that survives between conversations: preferences, decisions, a summary of what already happened. The MemGPT paper (2023) proposed treating it like an operating system's memory, moving information between tiers to get around the window limit (arXiv).
To see how much a prompt weighs, Tiktokenizer counts the tokens. To get started, Anthropic's prompt guide and the Prompt Engineering Guide are free.
2. Knowledge and Data: RAG and Data Engineering
RAG (retrieval-augmented generation) is fetching relevant passages from your documents and handing them to the model along with the question. The technique has a clear origin: the paper by Patrick Lewis, Douwe Kiela and colleagues, from 2020 (arXiv). Day to day, it means splitting documents into chunksSplitting documents into smaller pieces before creating embeddings, so search returns only the relevant part and it fits in the model context., generating embeddingsList of numbers that represents the meaning of a text. Similar texts produce nearby lists, which lets you search by meaning, not just matching words., indexing them in a vector databaseDatabase that stores embeddings and quickly finds those closest to a query, the basis of meaning-based search. Examples: pgvector in Postgres, Qdrant, Pinecone. and measuring whether the answer is grounded in the sources.
Underneath every RAG there is data engineering: ingestion, cleaning, quality, versioning. The reference is Fundamentals of Data Engineering, by Joe Reis and Matt Housley (O'Reilly, 2022). The Data Engineering Zoomcamp is free.
3. Models: Choosing, Combining and Tuning
Model engineering decides which model to use for each task, weighing quality, latency and cost, and when it is worth fine-tuning or running a local model. This is where the "API line" gets thinnest.
To compare, Artificial Analysis shows price and performance side by side, OpenRouter gives you access to many models with a single key, and Hugging Face is where the open models live. To run one on your own computer, Ollama, and Can I Run AI tells you whether your machine can handle it.
4. Integration: Tools, APIs and MCP
Tool engineering is turning a system (calendar, database, payments) into something the model can call, with a clear name, description and parameters. API engineering is what it always was: stable interfaces, authentication, idempotency. It is back-end work, and it is where many web developers already arrive ready.
MCP (Model Context Protocol) is an open standard for connecting AI applications to tools and data. Anthropic announced it on November 25, 2024 (Anthropic) and, in December 2025, donated it to the Agentic AIUse of language models that plan, call tools and decide the next step on their own to reach a goal, instead of only answering a question. Foundation, a Linux Foundation fund created together with Block and OpenAI (Anthropic). The official documentation is in the catalog. I told how I use MCP to update a CRM through chat in build your own CRM with AI.
5. Orchestration and Agents: Agent, Harness, Loop, Graph and Workflow
Here is the most useful distinction in the whole article, from Anthropic: workflows are systems where the model and tools follow paths defined in code; agents are systems where the model decides on its own the next step and which tool to use (Anthropic, Building effective agents).
The other names on the list are pieces of that:
- Loop: the think, act, observe cycle. It comes from the ReAct paper, by Shunyu Yao and colleagues (2022) (arXiv). Simon Willison summed it up well: an LLMAI model trained on large amounts of text to predict the next word, which lets it chat, summarize, translate and write code. agent "runs tools in a loop to achieve a goal" (Willison).
- Graph: a way to implement workflows and agents as nodes and edges, popularized by LangGraph, launched in January 2024 (LangChain).
- Harness: everything around the model that helps it work well, such as instructions, tools, session structure and verification. Anthropic uses the term in a post about agents that work for hours (Anthropic).
If your question is when to use an agent and when a fixed flow is enough, I wrote about it in AI agent vs chatbot, n8n or agents in code and skills or agents. To start from scratch, the Hugging Face agents course is free.
6. Quality, Security and Operations: Guardrails, Evaluation, LLMOps and MLOps
Guardrails are the barriers before and after the model: filtering input, validating output, limiting what an agent can do. The number one risk on OWASP's list for LLM applications is prompt injectionAttack where malicious text in an email, website or document carries instructions the model follows as if they came from the user, hijacking its behavior. (OWASP), a term coined by Simon Willison in September 2022 (Willison). The traditional OWASP Top 10 still applies too.
Evaluation (evals) is automated testing for AI: a set of cases, a metric and, often, another model as judge. Hamel Husain wrote in 2024 that unsuccessful AI products almost always share the same root cause: a failure to create robust evaluation systems (Hamel Husain). It is the same reasoning as my guides on front-end testing and back-end testing, applied to answers that are not exact.
MLOps is the oldest discipline in this group. The founding paper is "Hidden Technical Debt in Machine Learning Systems", by D. Sculley and colleagues at Google (2015), which showed how ML systems pile up hidden maintenance costs (NeurIPS). Google describes three maturity levels, from a manual process in a notebook to a pipeline with continuous integration and delivery (Google Cloud). LLMOps is the same idea applied to LLMs: versioning prompts, tracing calls, controlling cost per request.
The Classic Areas of AI
The list of 18 types is about applications built on language models. But AI is much bigger than that, and several areas have decades of history, award-winning people and free material.
| Area | What it does | Who built it | Where to start |
|---|---|---|---|
| Machine learning | training models from data | Geoffrey Hinton (backpropagation, 2024 Nobel Prize in Physics), Andrew Ng | Google's Machine Learning Crash Course |
| Computer vision | understanding images and video | Fei-Fei Li (ImageNet), Yann LeCun (convolutional networks) | Stanford's CS231n |
| Natural language (NLP) | understanding and generating text | Vaswani and colleagues (Transformer, 2017), Jurafsky and Martin | Brasileiras em PLN open book (in Portuguese) |
| Reinforcement learning | learning by trial and reward | Richard Sutton and Andrew Barto (2024 Turing Award) | the authors' book, free |
| Recommender systems | suggesting the next item | Koren, Bell and Volinsky (Netflix Prize) | Google's course |
| Robotics and embedded AI | running models on robots and small devices | Pete Warden and Daniel Situnayake (TinyML), Vijay Janapa Reddi | Harvard's TinyMLedu |
| AI infrastructure | serving models with GPUs, latency and cost | Tri Dao (FlashAttention), the vLLM team | How To Scale Your Model |
| Responsible AI | risk, bias, documentation and law | Margaret Mitchell and Timnit Gebru (model cards) | NIST AI RMF |
I want to highlight two Brazilian references. The Brasileiras em PLN group maintains a free book, written in Portuguese, on natural language processing, now in its 4th edition (Brasileiras em PLN, in Portuguese). And, on regulation, PL 2338/2023, Brazil's AI legal framework, was approved by the Senate, sent to the Chamber of Deputies in March 2025 and, in November 2026, was still awaiting a committee report there (Câmara dos Deputados, in Portuguese). In Europe, the AI Act is already law (EUR-Lex).
The Market: What the Data Shows
- Brazil: AI engineer ranked 1st in LinkedIn's "Jobs on the Rise 2026", which measures role growth between 2023 and July 2025 (IstoÉ Dinheiro, in Portuguese).
- United States: the same role topped LinkedIn's list in 2025 and again in 2026 (Allwork.Space).
- World: in the World Economic Forum's Future of Jobs 2025, AI and machine learning specialists are among the three fastest-growing professions in percentage terms (eTrade for all, republishing the WEF).
- Jobs that ask for AI: Infojobs recorded a 65% increase in 2025 over 2024, according to a survey published by Canaltech, which does not detail the methodology (Canaltech, in Portuguese).
- Education: UFG created Brazil's first bachelor's degree in artificial intelligence in 2019, with classes starting in 2020, and the Ministry of Education (MEC) already recognizes 28 undergraduate programs with AI in the name (Folhapress, via TNH1, in Portuguese). I did not find a program called "Artificial Intelligence Engineering": the name used is bachelor's in AI.
Where to Start
It depends on where you are. The path I see working for people who already code:
- Use AI as a power user. Well-written prompts, good context, knowing when it gets things wrong. That is already family 1.
- Build a small RAG over your own documents, with Postgres and pgvector. You go through families 2 and 3.
- Give the model tools. An API of yours, then an MCP server. Family 4.
- Build an agent with clear limits: few tools, a maximum number of steps, a log of every action. Family 5.
- Write evals before touching the prompt and put guardrails in place before publishing. Family 6.
- Pick a specialization if you want to move beyond the AI engineer role: data, ML, computer vision or security.
If you come from front-end or back-end, the good news is that much of the work is ordinary software engineering: APIs, databases, tests, observability. That is why I think it is an exaggeration to say AI killed the profession. It changed what counts, and I talked about that in the future of vibe coding.
Watch and Read More
- Andrej Karpathy, Neural Networks: Zero to Hero, a free series to understand what runs underneath an LLM.
- Hugging Face, LLM course, free.
- Chip Huyen, The AI Engineering Stack, the first chapter of the book.
- Lilian Weng, LLM Powered Autonomous Agents, the post many people used to understand agents.
- Google, Machine Learning Crash Course.
Frequently Asked Questions
What are the types of AI engineering?
As roles, three main ones: machine learning engineering, AI engineering (AI engineer) and MLOps, with data engineering alongside. Lists with 18 types describe tasks within these roles, which can be grouped into six families: model interaction, knowledge and data, models, integration, orchestration and agents, and quality, security and operations.
What is the difference between an AI engineer and a machine learning engineer?
The ML engineer trains and validates models. The AI engineer builds products on top of ready-made models, with prompt, context, RAG, tools, agents and evaluation. One uses the model, the other creates it.
Do you need math to be an AI engineer?
For an AI engineer, it helps but it is not the foundation. What matters most is software engineering, data and evaluation. For ML engineering and research, statistics, linear algebra and calculus are essential.
Is there an AI engineering degree in Brazil?
There are bachelor's degrees in artificial intelligence, like UFG's, created in 2019, and MEC recognizes 28 undergraduate programs with AI in the name. I did not find a program with the exact name "Artificial Intelligence Engineering".
Is prompt engineering still worth it?
Yes, as part of context engineering. Writing the instruction well is still important, but what changes the result most today is the information you put alongside it.
What should I study first?
If you already code: prompt and context, then RAG, then tools and agents, and evaluation all along. If you don't code, start with programming, because it is what holds up everything else.
References
- Igor Brasil. Os 18 tipos de engenharia de inteligência artificial (2026) (in Portuguese).
- Huyen, C. The AI Engineering Stack, chapter 1 of AI Engineering (O'Reilly, 2025); Brazilian edition Engenharia de IA (Novatec, 2026) (in Portuguese).
- Latent Space. The Rise of the AI Engineer (2023).
- roadmap.sh. AI Engineer Roadmap.
- Anthropic. Building effective agents (2024).
- Anthropic. Effective context engineering for AI agents (2025).
- Anthropic. Effective harnesses for long-running agents (2025).
- Anthropic. Introducing the Model Context Protocol (2024) and donation to the Agentic AI Foundation (2025).
- Willison, S. Context engineering (2025), agent definition (2025) and prompt injection (2022).
- Lewis, P. et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020).
- Yao, S. et al. ReAct (2022).
- Packer, C. et al. MemGPT (2023).
- LangChain. LangGraph (2024).
- OWASP. Top 10 for LLM applications (2025).
- Husain, H. Your AI Product Needs Evals (2024).
- Sculley, D. et al. Hidden Technical Debt in Machine Learning Systems (NeurIPS, 2015).
- Google Cloud. MLOps: continuous delivery and automation pipelines in machine learning.
- Vaswani, A. et al. Attention Is All You Need (2017).
- Mitchell, M. et al. Model Cards for Model Reporting (2018).
- Sutton, R.; Barto, A. Reinforcement Learning: An Introduction (MIT Press, 2018).
- Brasileiras em PLN. Processamento de Linguagem Natural: conceitos, técnicas e aplicações em português (4th ed., 2026) (in Portuguese).
- Câmara dos Deputados. PL 2338/2023 (in Portuguese).
- European Union. Regulation (EU) 2024/1689, AI Act.
- IstoÉ Dinheiro. LinkedIn Jobs on the Rise 2026 (2026) (in Portuguese).
- Folhapress, via TNH1. AI gets undergraduate programs and even rivals medicine in the race for seats (2025) (in Portuguese).