Roadmap
9–10 months
5 phases
~40 weeks

AI Engineer Roadmap

This is the timetable. At about ten hours a week, the plan below runs for roughly 40 weeks: weeks 1 to 7 on Python, APIs and your setup; weeks 8 to 13 on how language models work and how to prompt them; weeks 14 to 24 building applications; weeks 25 to 29 on advanced techniques; and weeks 30 to 40 on production and a portfolio project. Each phase lists what to study and for how long. For what the job involves, read our guide; for the specific free course at each step, follow the learning path.

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

  1. Phase 1:Python & API Foundations (weeks 1 to 7)

    beginner
    4 weeks

    Python Fundamentals

    Variables, functions, data structures, OOP, and file I/O. This is the Python you need before touching any AI library.

    beginner
    1 week

    HTTP & REST APIs

    How APIs work, making requests with Python's requests library, handling JSON, and authenticating with API keys.

    beginner
    1 week

    Environment Setup

    Virtual environments, .env files for secrets, pip, and the developer workflow for AI projects.

    beginner
    1 week

    Git & GitHub

    Version control for your AI projects: committing, branching, and sharing code.

  2. Phase 2:LLM Fundamentals (weeks 8 to 13)

    beginner
    1 week

    How LLMs Work

    Tokens, embeddings, the transformer architecture, context windows, and why prompting matters.

    beginner
    2 weeks

    Prompt Engineering

    System prompts, few-shot examples, chain-of-thought, structured output, and getting reliable responses from models.

    intermediate
    1 week

    OpenAI API

    Chat completions, function calling, streaming, and cost management with the OpenAI API.

    intermediate
    2 weeks

    Open Source Models

    Run models locally with Ollama, use Hugging Face models, and understand when to use open vs closed models.

  3. Phase 3:Building AI Applications (weeks 14 to 24)

    intermediate
    3 weeks

    LangChain

    Chains, prompts, document loaders, text splitters, and the LangChain ecosystem for AI application development.

    intermediate
    2 weeks

    Vector Databases

    Embeddings, similarity search, and vector stores, the core of RAG and semantic search systems.

    intermediate
    3 weeks

    RAG Systems

    Retrieval-Augmented Generation: connecting AI to your own documents for accurate, grounded answers.

    advanced
    3 weeks

    AI Agents

    Tool use, function calling, planning, and building agents that take multi-step actions autonomously.

  4. Phase 4:Advanced Techniques (weeks 25 to 29)

    advanced
    2 weeks

    Fine-tuning

    When to fine-tune vs. prompt, preparing training data, running fine-tuning jobs with OpenAI or Hugging Face PEFT.

    advanced
    2 weeks

    Evaluation & Testing

    LLM evaluation frameworks, red-teaming, regression testing, and measuring model quality consistently.

    intermediate
    1 week

    Structured Outputs

    JSON mode, function calling, Pydantic validation, and guaranteeing predictable AI outputs in production.

  5. Phase 5:Production & Deployment (weeks 30 to 40)

    intermediate
    2 weeks

    API Design for AI

    Build FastAPI or Flask backends that expose your AI functionality with streaming, caching, and rate limiting.

    advanced
    1 week

    Cost & Latency Optimisation

    Caching, prompt compression, model selection, and monitoring spend to keep AI apps economical.

    advanced
    2 weeks

    Observability & Monitoring

    Log LLM calls, track quality over time, and use tools like LangSmith or Langfuse to debug AI systems.

    advanced
    6 weeks

    Portfolio AI Projects

    Build 2-3 end-to-end AI applications: a RAG chatbot, a document summariser, or an autonomous agent.

Next steps

Keep exploring

Languages in this roadmap

Other goals

More Roadmaps