Developer Roadmap: AI Engineer 2027 - Step-by-Step Path to Build LLM Apps, RAG and AI Agents
A practical, step-by-step AI engineer roadmap for 2027: what to learn, in what order, which free resources to use, and how to prove each skill with a checkpoint project. It covers LLM APIs, prompt and context engineering, embeddings and RAG, AI agents and MCP, evaluation, open-weight models and fine-tuning, production deployment and AI security. It is written for software developers who want to become AI engineers, and for anyone who wants a clear AI engineering learning path instead of a pile of links.
Last reviewed: December 2026. Model names, prices and SDK versions change monthly, so this roadmap teaches concepts and skills that stay stable and links to official docs for the details. Time estimates assume about 10 hours per week.
Table of Contents
- What an AI Engineer Does in 2027
- The Roadmap Diagram
- How to Use This Roadmap
- Stage 0: Engineering Foundations
- Stage 1: Working with LLM APIs
- Stage 2: Prompt and Context Engineering
- Stage 3: Structured Output and Tool Calling
- Stage 4: Embeddings, Vector Search and RAG
- Stage 5: Evaluation and Observability
- Stage 6: AI Agents and MCP
- Stage 7: How Models Work (ML and Deep Learning Essentials)
- Stage 8: Open-Weight Models, Local Inference and Fine-Tuning
- Stage 9: Production, Cost, Latency and Security
- Stage 10: Multimodal and Voice
- Stage 11: Specialize and Get Hired
- Skills Matrix: Junior, Mid-Level and Senior AI Engineer
- The Tool Landscape (Pick One Per Row)
- Fast Tracks: 30, 90 and 180 Days
- Common Mistakes on the Way
- Reading List That Holds Up
- FAQ
- Where to Go Next
- Contributing
- License
- More free resources
What an AI Engineer Does in 2027
An AI engineer builds software products whose core behavior comes from machine learning models, mostly large language models (LLMs) and other foundation models. Day to day, that means:
- Turning a fuzzy product idea (“answer questions about our docs”, “triage support tickets”, “fix failing tests”) into a system of prompts, retrieval, tools and code.
- Measuring quality with evaluation sets, because model output is non-deterministic and “it looked fine in the demo” is not a test.
- Choosing between hosted models and open-weight models, and between prompting, retrieval and fine-tuning.
- Keeping latency, cost and reliability under control in production.
- Defending against new failure modes: hallucinations, prompt injection, data leakage, runaway agents.
How it differs from neighboring roles:
| Role | Main question | Typical output |
|---|---|---|
| AI engineer | How do we build a reliable product on top of models? | Applications, agents, RAG systems, eval suites |
| ML engineer | How do we train, deploy and monitor models? | Training pipelines, feature stores, model services |
| Data scientist | What does the data say, and what should we do? | Analyses, experiments, predictive models |
| Research engineer or scientist | How do we make models fundamentally better? | New architectures, training methods, papers |
| Software engineer | How do we build reliable software? | Everything else, and the foundation of all of the above |
The roles overlap. This roadmap focuses on the AI engineer path, with enough ML depth (Stage 7) to talk to ML engineers and to fine-tune models when needed.
The Roadmap Diagram
flowchart TD
S0[Stage 0<br/>Engineering foundations<br/>Python, Git, HTTP, SQL, Docker]
S1[Stage 1<br/>LLM APIs<br/>tokens, sampling, streaming, cost]
S2[Stage 2<br/>Prompt and context engineering]
S3[Stage 3<br/>Structured output and tool calling]
S4[Stage 4<br/>Embeddings, vector search, RAG]
S5[Stage 5<br/>Evaluation and observability]
S6[Stage 6<br/>Agents and MCP]
S7[Stage 7<br/>How models work<br/>ML and deep learning essentials]
S8[Stage 8<br/>Open-weight models, local inference, fine-tuning]
S9[Stage 9<br/>Production, cost, latency, security]
S10[Stage 10<br/>Multimodal and voice]
S11[Stage 11<br/>Specialize and get hired]
S0 --> S1 --> S2 --> S3
S3 --> S4
S3 --> S6
S4 --> S5
S6 --> S5
S5 --> S9
S1 --> S7
S7 --> S8
S8 --> S9
S9 --> S10
S9 --> S11
S10 --> S11
Read it as: Stages 0 to 3 are a straight line. After Stage 3, RAG and agents can be learned in either order, and both feed into evaluation. Stage 7 (how models work) can run in parallel from Stage 1 onward, a few hours a week.
How to Use This Roadmap
Each stage has the same parts:
- Why it matters: one paragraph.
- Learn: the concrete concepts, as a checklist.
- Free resources: a short list of the best free material, mostly official docs and well-known free courses.
- Checkpoint project: a small build that proves the skill. Do not skip it.
- Self-test: questions you should be able to answer without notes.
- Time: a rough estimate at about 10 hours per week.
Mark your progress by forking this repository and ticking the checkboxes.
Stage 0: Engineering Foundations
Why it matters: AI engineering is software engineering first. Most production problems in AI apps are ordinary software problems: timeouts, retries, bad data, missing tests.
Learn
- Python: functions, classes, type hints, virtual environments, packaging basics
- Async Python (
asyncio) for concurrent API calls - Git and GitHub: branches, pull requests, reviews
- The terminal and shell scripting basics
- HTTP and JSON: methods, status codes, headers, auth, rate limits
- Building an HTTP API (for example with FastAPI)
- SQL and one relational database
- Docker basics
- Testing with
pytest
Free resources
- The Python Tutorial and asyncio documentation
- Pydantic documentation (data validation you will use everywhere in AI apps)
- FastAPI tutorial
- The Missing Semester of Your CS Education
- Pro Git
- SQLBolt
- Docker: Get started
Checkpoint project: a FastAPI service with two endpoints that stores notes in SQLite, validates input with Pydantic, has tests, and runs in Docker.
Self-test
- What happens when you call 100 HTTP requests sequentially versus with
asyncio.gather? - How would you retry a request that failed with HTTP 429, and what is exponential backoff?
- Why should secrets live in environment variables and not in code?
Time: 0 weeks if you are already a working developer; 8 to 12 weeks otherwise.
Stage 1: Working with LLM APIs
Why it matters: every AI engineering task starts with calling a model well: the right parameters, streaming for good UX, and a clear idea of cost.
Learn
- What tokens are, and how to count them
- Context windows; input versus output tokens
- Chat message roles (system, user, assistant) and multi-turn conversations
- Sampling parameters: temperature, top-p, max tokens, stop sequences
- Streaming responses
- Error handling: rate limits, timeouts, overloaded errors, retries with backoff
- Cost: price per input and output token, and how to estimate a monthly bill
- Prompt caching and batch APIs as cost and latency tools
- Using more than one provider behind a common interface
Free resources
- Provider docs: Claude: Get started, OpenAI API docs: Prompt engineering, Gemini API: Get started
- Tiktokenizer and the OpenAI tokenizer page to see how text becomes tokens
- How to generate text (Hugging Face blog) for greedy, beam, top-k and top-p decoding explained
- Generation strategies (Hugging Face Transformers docs)
- Prompt caching (Claude docs)
- LiteLLM as an example of a multi-provider gateway
Checkpoint project: a command-line chat app that streams responses, keeps conversation history, prints token usage and estimated cost per turn, retries on rate limits, and can switch between two providers or a local model with a flag.
Self-test
- Why does the same prompt give different answers, and when would you set temperature to 0?
- A 10-page document is roughly how many tokens? How did you estimate it?
- Your app sends a 5,000-token system prompt on every request. What are two ways to cut the cost?
Time: 2 weeks.
Stage 2: Prompt and Context Engineering
Why it matters: the quality of a model’s output depends mostly on what you put in its context: instructions, examples, retrieved data, tool results and conversation history. “Context engineering” is the discipline of deciding what goes in, in what order, and what stays out.
Learn
- Clear, specific instructions; role and task framing
- Few-shot examples and how to choose them
- Delimiting inputs (XML tags or Markdown sections) so the model can tell instructions from data
- Asking for reasoning before answers; when it helps and when it only adds tokens
- Prompt chaining: splitting work into steps
- Long-context strategies: ordering, summarization, compaction of history
- Prompt versioning and testing (treat prompts like code)
Free resources
- Prompt engineering overview (Claude docs)
- Prompt engineering (OpenAI docs)
- Effective context engineering for AI agents (Anthropic)
- Prompt Engineering Guide and Learn Prompting
- Anthropic’s interactive prompt engineering courses
- Prompt Engineering (Lilian Weng) for a research-oriented overview
Checkpoint project: a “ticket triage” prompt that turns a raw customer email into category, urgency and a one-line summary. Write 30 test emails with expected labels, then improve the prompt in three versions and record accuracy for each version in a table.
Self-test
- Why are examples in a prompt sometimes harmful?
- How do you stop a model from following instructions that appear inside user-provided text?
- What would you remove first from a context window that is too full?
Time: 2 weeks.
Stage 3: Structured Output and Tool Calling
Why it matters: real applications need machine-readable output and models that can call your code. This is the bridge from chat to software.
Learn
- JSON output with a schema; validating it with Pydantic or Zod
- Native structured output features versus “please reply in JSON”
- Tool (function) calling: tool definitions, the call and result loop, parallel tool calls
- Designing tools: names, descriptions, input schemas and error messages that a model can use
- Constrained decoding for open-weight models
Free resources
- Structured outputs (Claude docs) and Structured model outputs (OpenAI docs)
- Tool use with Claude and Function calling (OpenAI docs)
- Writing effective tools for agents (Anthropic)
- Instructor for structured output with validation and retries
- Outlines for constrained generation with open-weight models
Checkpoint project: an “expense parser” that turns a photo or text of a receipt into a validated JSON object, plus a convert_currency tool the model can call. Log every tool call and its arguments.
Self-test
- What do you do when a model returns JSON that fails validation?
- Why should tool errors be returned to the model as readable messages instead of raising exceptions?
- When is a fixed sequence of calls (a workflow) better than letting the model choose tools?
Time: 1 to 2 weeks.
Stage 4: Embeddings, Vector Search and RAG
Why it matters: retrieval-augmented generation (RAG) is the most common pattern in business AI. It lets a model answer from your data, with citations, without retraining.
Learn
- What embeddings are; cosine similarity
- Choosing an embedding model (quality, dimension, language, cost)
- Chunking strategies: fixed size, by heading, with overlap; keeping metadata
- Vector indexes (HNSW, IVF) and vector databases versus a vector column in Postgres
- Keyword search (BM25) and hybrid search
- Reranking
- Query rewriting and multi-query retrieval
- Citations and “I don’t know” behavior
- Retrieval evaluation: recall@k, MRR; answer evaluation: faithfulness and correctness
Free resources
- Semantic search with FAISS (Hugging Face LLM Course)
- Sentence Transformers documentation
- MTEB Leaderboard for comparing embedding models (check results on your own data too)
- Faiss: The Missing Manual (Pinecone)
- Introducing Contextual Retrieval (Anthropic)
- RAG From Scratch notebooks
- RAG Evaluation (Hugging Face Cookbook)
- pgvector for vector search inside PostgreSQL
Checkpoint project: a “chat with the docs” app for an open-source project’s documentation. Requirements: hybrid search, reranking, citations with links, a refusal when nothing relevant is found, and a 50-question eval set reporting retrieval recall@5 and answer correctness for at least two chunking strategies.
Self-test
- Why might pure vector search miss a query that contains a product code like
ERR-4012? - What is the trade-off between small and large chunks?
- How do you tell whether a wrong answer came from retrieval or from generation?
Time: 3 weeks.
Stage 5: Evaluation and Observability
Why it matters: evaluation is the core skill that separates AI engineers from prompt tinkerers. Without it, every change is a guess.
Learn
- Building eval sets from real usage, edge cases and adversarial cases
- Assertion-based checks (regex, schema, code execution)
- LLM-as-judge, and how to validate a judge against human labels
- Error analysis: reading outputs, grouping failures into categories, fixing the biggest category first
- Regression testing prompts and models in CI
- Tracing: logging every prompt, tool call, retrieval result, latency and token count
- Online metrics: user feedback, task success, escalation rate
- A/B testing prompts or models
Free resources
- AI Evals: Everything You Need to Know (Hamel Husain) and Your AI Product Needs Evals
- What We’ve Learned From A Year of Building with LLMs
- Using LLM-as-a-judge (Hugging Face Cookbook)
- Open-source eval tools: promptfoo, DeepEval, Inspect
- Open-source observability: Langfuse, Phoenix
Checkpoint project: add an eval pipeline to your Stage 4 RAG app: a test file, three scorer types (exact, code-based, LLM judge), a report that compares two prompt versions, and a CI job that fails if quality drops. Add tracing and look at 50 real traces; write down the top three failure categories.
Self-test
- Your LLM judge says the new prompt is 8% better. How do you know whether to trust it?
- What is the difference between offline and online evaluation?
- Why is “average score” sometimes misleading?
Time: 2 to 3 weeks, then forever.
Stage 6: AI Agents and MCP
Why it matters: agents let models take multi-step actions: search, run code, edit files, call APIs. They are powerful and fail in expensive ways, so design matters.
Learn
- Workflows versus agents; common patterns (routing, orchestrator-workers, evaluator-optimizer)
- The agent loop: model call, tool calls, observations, stopping conditions
- Planning, memory and context management for long tasks
- Multi-agent setups and when they are worth the cost
- Human-in-the-loop approval for risky actions
- Sandboxing code execution and file access
- The Model Context Protocol (MCP): servers, clients, tools, resources, prompts, transports
- Evaluating agents: task success rate, cost per task, steps per task
Free resources
- Building effective agents (Anthropic)
- LLM Powered Autonomous Agents (Lilian Weng)
- What is the Model Context Protocol? and Build an MCP server
- Hugging Face Agents Course
- AI Agents for Beginners (Microsoft)
- How to Build an Agent (Amp) and mini-swe-agent to see how small a capable agent loop can be
- Berkeley Agentic AI MOOC for lectures from researchers and practitioners
Checkpoint project: an MCP server that exposes two tools from a real system you use (a notes folder, a bug tracker export, a calendar file), plus a small agent that uses it to complete a multi-step task. Include a step limit, a cost limit, a confirmation step for any write action, and 10 test tasks with success rate reported.
Self-test
- When would you choose a fixed workflow over an agent?
- How can a malicious web page or document hijack an agent, and what are two defenses?
- How do you stop an agent from looping forever?
Time: 3 weeks.
Stage 7: How Models Work (ML and Deep Learning Essentials)
Why it matters: you can build a lot without knowing how models work, but debugging, choosing models, fine-tuning and talking with ML teams all get much easier when you do. Run this stage in parallel, a few hours per week.
Learn
- ML basics: training versus inference, overfitting, train/validation/test splits, metrics
- Neural networks and gradient descent
- Transformers: tokens, embeddings, attention, the residual stream, next-token prediction
- Pre-training, supervised fine-tuning, preference tuning and reinforcement learning
- Why models hallucinate
- Scaling: parameters, data, compute; why bigger is not always better for your task
Free resources
- Machine Learning Crash Course (Google)
- Neural Networks: Zero to Hero
- Practical Deep Learning for Coders (fast.ai)
- The Illustrated Transformer and Transformer Explainer
- Hugging Face LLM Course
- Extrinsic Hallucinations in LLMs (Lilian Weng)
- Understanding Deep Learning (free textbook)
Checkpoint project: train a tiny character-level transformer on a text you like, then write a one-page explanation of what happens to a prompt from tokenization to the next sampled token.
Self-test
- Why does a model trained to predict the next token end up following instructions?
- What is the difference between fine-tuning and RAG, and when would you combine them?
- What does a “7B” model mean, and roughly how much memory does it need at 16-bit and 4-bit precision?
Time: 6 to 8 weeks in parallel with Stages 1 to 6.
Stage 8: Open-Weight Models, Local Inference and Fine-Tuning
Why it matters: open-weight models give you privacy, control, offline use and sometimes much lower cost. Fine-tuning a small model can beat a large general model on a narrow task.
Learn
- Running models locally (Ollama, llama.cpp, MLX on Apple silicon)
- Quantization formats and their quality trade-offs
- Serving with an OpenAI-compatible API (vLLM, SGLang, llama.cpp server)
- When to fine-tune: format and style, narrow tasks, latency and cost, not for adding fresh facts
- Parameter-efficient fine-tuning (LoRA, QLoRA)
- Building a fine-tuning dataset, including synthetic data from a stronger model (check the model’s terms)
- Distillation: teaching a small model to imitate a large one on your task
- Comparing your fine-tuned model to a prompted baseline with your eval suite
Free resources
- Ollama documentation and llama.cpp
- mlx-lm for Apple silicon
- vLLM documentation
- PEFT documentation and TRL
- Unsloth documentation for memory-efficient fine-tuning notebooks
- Hugging Face smol course
- A Visual Guide to Quantization
Checkpoint project: pick your Stage 2 triage task. Fine-tune a small open model with LoRA on 500 to 2,000 examples, quantize it, serve it locally, and compare accuracy, latency and cost per 1,000 requests against a hosted model with your eval set.
Self-test
- Why is fine-tuning a poor way to teach a model new facts that change often?
- What does 4-bit quantization trade away?
- Why is token generation usually limited by memory bandwidth rather than compute?
Time: 3 to 4 weeks.
Stage 9: Production, Cost, Latency and Security
Why it matters: this is where most AI projects fail: the demo worked, but production is slow, expensive, flaky or unsafe.
Learn
- Latency: streaming, smaller models for easy requests (routing), parallel calls, caching
- Cost: token budgets per user, caching, batching, prompt compression
- Reliability: timeouts, retries, fallbacks to another model or provider, graceful degradation
- Guardrails: input and output checks, PII handling, content policies
- Prompt injection (direct and indirect) and the “lethal combination” of private data, untrusted content and the ability to exfiltrate
- Least privilege for tools and agents; secrets management
- Data retention and privacy settings of your model providers
- Monitoring quality drift after model or provider updates
- Red teaming your own app
Free resources
- OWASP Top 10 for LLM Applications (OWASP Gen AI Security Project)
- Simon Willison’s writing on prompt injection
- Building A Generative AI Platform (Chip Huyen)
- Patterns for Building LLM-based Systems and Products (Eugene Yan)
- garak, an LLM vulnerability scanner, and promptfoo for red teaming
- Universal and Transferable Adversarial Attacks on Aligned Language Models to understand why model-level safety is not enough
Checkpoint project: harden your Stage 6 agent: add per-user rate limits and budgets, a fallback model, tracing, an indirect prompt-injection test suite (malicious instructions hidden in documents and tool results), and a short threat model document. Load test it and report p50 and p95 latency and cost per task.
Self-test
- Your RAG app’s p95 latency is 9 seconds. List five things you would check.
- A support agent can read customer emails and send emails. Why is that dangerous, and how would you redesign it?
- Your provider updated the model behind an alias and quality dropped. How would you have caught it?
Time: 3 weeks.
Stage 10: Multimodal and Voice
Why it matters: many valuable products are not text-only: document understanding, image analysis, voice agents.
Learn
- Vision-language models for screenshots, charts, forms and scanned documents
- OCR versus vision models; when to combine them
- Speech-to-text and text-to-speech; streaming audio
- Real-time voice agents: turn-taking, interruptions, latency budgets
- Image generation APIs and their safety and licensing considerations
Free resources
- Multimodal RAG with document retrieval and vision-language models (Hugging Face Cookbook)
- Hugging Face Audio Course
- Pipecat and LiveKit Agents for real-time voice pipelines
- whisper.cpp for local transcription
Checkpoint project: a “receipt and invoice inbox” that accepts photos and PDFs, extracts fields with a vision model, and answers spoken questions about spending through a voice interface. Measure extraction accuracy and voice round-trip latency.
Time: 2 to 3 weeks.
Stage 11: Specialize and Get Hired
Pick one direction and go deep:
| Specialization | Focus | Signature project |
|---|---|---|
| AI product engineer | End-to-end features in a product team | A full-stack AI feature with evals, analytics and a launch write-up |
| Agent engineer | Tool design, long-running agents, sandboxes | A coding or operations agent with a public benchmark result |
| Search and RAG engineer | Retrieval quality at scale | A hybrid search system with measured gains over a baseline |
| Evaluation engineer | Measurement, judges, red teaming | An open-source eval suite for a real use case |
| Inference engineer | Serving, quantization, GPUs | A serving benchmark comparing engines and settings |
| Applied fine-tuning engineer | Data, training, distillation | A small model that matches a large one on a narrow task |
| On-device AI engineer | Mobile and desktop local models | An app that works offline with a local model |
Getting hired
- Three strong projects beat ten tutorials. Each needs a README with the problem, architecture, eval results and limitations.
- Write about what you learned: one post per project, with real numbers.
- Contribute to open-source AI tools (docs fixes, small features, eval cases).
- Prepare for interviews that mix classic coding, system design for AI apps (“design a RAG system for 10 million documents”), and discussion of your eval methodology.
Skills Matrix: Junior, Mid-Level and Senior AI Engineer
| Skill | Junior | Mid-level | Senior |
|---|---|---|---|
| LLM APIs | Calls APIs, handles errors and streaming | Chooses models and parameters with data | Designs multi-model routing and fallback strategies |
| Prompting and context | Writes clear prompts with examples | Versions and tests prompts; manages long context | Designs context strategies for complex agents |
| RAG | Builds a basic pipeline | Hybrid search, reranking, measured retrieval quality | Retrieval architecture at scale, freshness, permissions |
| Evaluation | Writes test cases | Builds eval pipelines and validated judges | Defines quality strategy and metrics for the org |
| Agents | Single tool-calling loop | Multi-step agents with guardrails | Safe autonomous systems with sandboxing and oversight |
| Models | Knows model families and trade-offs | Runs open models; LoRA fine-tuning | Distillation, training data strategy, serving optimization |
| Production | Deploys a service | Monitoring, cost control, caching | Reliability, security reviews, capacity planning |
| Communication | Explains own work | Writes design docs with eval evidence | Aligns product, legal and engineering on AI risk |
The Tool Landscape (Pick One Per Row)
You do not need every tool. Learn one per row well; the concepts transfer.
| Need | Options (examples) | Beginner pick |
|---|---|---|
| Model access | Provider SDKs, multi-provider gateways such as LiteLLM | One provider’s official SDK |
| Local models | Ollama, llama.cpp, MLX, LM Studio | Ollama |
| Serving open models | vLLM, SGLang, llama.cpp server, TGI | vLLM |
| Structured output | Native structured outputs, Instructor, Outlines | Native structured outputs |
| Orchestration | Plain code, LangGraph, LlamaIndex, Pydantic AI, provider agent SDKs | Plain code first |
| Vector storage | pgvector, Qdrant, Chroma, Faiss | pgvector if you already use Postgres |
| Evaluation | promptfoo, DeepEval, Inspect, your own scripts | Your own scripts plus one tool |
| Observability | Langfuse, Phoenix, OpenTelemetry-based tracing | Langfuse or Phoenix (both open source) |
| Fine-tuning | TRL and PEFT, Unsloth, torchtune | Unsloth notebooks |
| Agent tools protocol | MCP | MCP |
Model leaderboards and price comparisons change weekly; sites such as Artificial Analysis track quality, speed and price across providers. Always confirm with your own eval set.
Fast Tracks: 30, 90 and 180 Days
30 days (experienced developer, about 10 h/week)
- Week 1: Stage 1 (APIs, tokens, streaming, cost)
- Week 2: Stages 2 and 3 (prompts, structured output, tools)
- Week 3: Stage 4 (RAG with an eval set)
- Week 4: Stage 5 (evals and tracing) and a polished write-up
90 days
- Month 1: the 30-day track
- Month 2: Stage 6 (agents and MCP) and Stage 9 basics (cost, latency, prompt injection)
- Month 3: Stage 8 (local models, one LoRA fine-tune) and one portfolio project combining everything
180 days
- Months 1 to 3: the 90-day track
- Months 4 and 5: Stage 7 in depth, Stage 10, and a specialization from Stage 11
- Month 6: capstone project, open-source contributions and job applications
Common Mistakes on the Way
- No eval set. Changing prompts based on two or three manual tries. Fix: 30 test cases before the first prompt change.
- Reaching for agents too early. A fixed workflow is cheaper, faster and easier to test. Use agents when the path truly cannot be predicted.
- Fine-tuning to add knowledge. Use retrieval for facts; fine-tune for behavior, format and narrow skills.
- Ignoring cost until the bill arrives. Log tokens per request from day one.
- Trusting retrieved or tool content. Anything a model reads can contain instructions. Treat it as untrusted.
- Framework first, understanding later. Build one thing with plain API calls before adopting an abstraction.
- Chasing every new model. Re-run your eval suite on new models instead of rewriting your app for each release.
- No logs. Without traces of real requests you cannot do error analysis.
Reading List That Holds Up
Free articles and guides that stay useful even as models change:
- Building effective agents (Anthropic)
- Effective context engineering for AI agents (Anthropic)
- What We’ve Learned From A Year of Building with LLMs
- Patterns for Building LLM-based Systems and Products
- Building A Generative AI Platform
- AI Evals: Everything You Need to Know
- A Recipe for Training Neural Networks
- LLM Powered Autonomous Agents
- OWASP Top 10 for LLM Applications
FAQ
How long does it take to become an AI engineer? For an experienced software developer, about 3 to 6 months of steady part-time study and building is enough to be productive on AI features. Starting from zero programming experience, plan on 12 to 24 months, because Stage 0 is a full software engineering education.
Do I need a degree in machine learning or math? Not for most AI engineering roles. You need solid software engineering, a working understanding of how models behave (Stage 7), and strong evaluation skills. Deep math matters more for research and model training roles.
Is Python required? Python is the most common language for AI work, especially for evals, data and fine-tuning. Many AI product teams also use TypeScript. Learning Python is strongly recommended even if your app is in another language.
AI engineer versus ML engineer: what is the difference? AI engineers mostly build products on top of existing foundation models. ML engineers more often train, deploy and monitor custom models. The roles overlap, and many teams use the titles interchangeably.
Do I need a GPU? No for Stages 0 to 6 and 9 (hosted APIs and small local models run on a laptop). For fine-tuning (Stage 8), free notebook GPUs or short cloud rentals are enough for small models.
Which model provider should I learn? Learn the concepts with one, then make your code provider-agnostic. Tokens, context, tool calling, structured output and caching work similarly everywhere.
Is prompt engineering still a skill? Yes, but it has grown into context engineering: deciding what information, tools and history the model sees, and measuring the effect with evals.
What should be in an AI engineer portfolio? Two or three projects with real users or realistic data, each with an eval set, numbers, a clear architecture diagram and an honest limitations section.
Where to Go Next
- Build your Stage 11 signature project and publish the write-up.
- Join an open-source project in the AI tooling ecosystem and fix one issue a month.
- Learn system design for AI applications: caching layers, queues for long-running agent jobs, multi-tenant retrieval with permissions.
- Re-read this roadmap every six months: tools change, but the stages stay.
Contributing
Pull requests are welcome. Please keep entries accurate:
- Resources must be free and from reliable sources (official docs, universities, well-known practitioners).
- Prefer resources that teach lasting concepts over ones tied to a single release.
- Each checkpoint project should be buildable in one or two weeks.
- Open an issue if a link breaks or a resource becomes paid.
License
This roadmap is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.