AI Engineering is the fastest-growing tech role in 2026. Companies across India � from Lucknow startups to Bangalore unicorns � are hiring engineers who can build, deploy, and maintain AI-powered products. This 12-month roadmap takes you from absolute beginner to job-ready AI Engineer, covering Python, machine learning, deep learning, LLMs, RAG systems, AI agents, and real-world portfolio projects. Written by Vaibhav Gupta.
What Is an AI Engineer in 2026?
An AI Engineer bridges the gap between data science research and production software. Unlike a data scientist who focuses on analysis and experimentation, an AI Engineer builds the systems that serve models to end users � APIs, pipelines, vector databases, prompt chains, and agent workflows.
Core responsibilities:
- Designing and building LLM-powered applications (RAG, agents, copilots)
- Integrating AI models into production software via APIs and microservices
- Managing vector databases, embedding pipelines, and retrieval systems
- Monitoring model performance, drift, and cost in production
- Collaborating with product teams to translate business needs into AI solutions
Salary expectations: Entry-level AI Engineers in India earn ?6�10 LPA. In Lucknow, expect ?4�7 LPA for junior roles, rising to ?12�20 LPA with 2�3 years of experience. In Bangalore, experienced AI Engineers command ?18�35 LPA. Freelance AI consultants charge ?1,500�5,000 per hour depending on expertise.
Prerequisites Before You Start
You don't need a CS degree. Here's what you do need:
- Basic Python: Variables, loops, functions. If you've never coded, spend 2 weeks on Python basics first.
- High school math: Algebra, basic probability. You'll learn the rest as you go.
- A laptop: Any machine with 8 GB RAM works. Google Colab gives you free GPU access for deep learning.
- Consistency: 2�3 hours daily for 12 months. That's the real prerequisite.
Month 1�2: Python for AI
Python is the lingua franca of AI. These two months build your foundation.
Week 1�4: Core Python
Master data types, control flow, functions, and object-oriented programming. Write code every single day � even if it's just a 30-line script.
# Example: Working with dictionaries and list comprehensions
data = {"Alice": 85, "Bob": 92, "Charlie": 78, "Diana": 95}
# Filter students above 80
high_performers = {name: score for name, score in data.items() if score > 80}
print(high_performers) # {'Alice': 85, 'Bob': 92, 'Diana': 95}
# Calculate average
avg = sum(data.values()) / len(data)
print(f"Class average: {avg:.1f}") # Class average: 87.5
Week 5�8: Practical Python
Learn file handling (CSV, JSON), working with APIs using the requests library, virtual environments with venv, and package management with pip. Build a project that fetches weather data from an API and saves it to a CSV file.
# Example: Fetching data from an API
import requests
import csv
def get_weather(city):
url = f"https://api.openweathermap.org/data/2.5/weather?q={city}&appid=YOUR_KEY"
response = requests.get(url)
return response.json()
weather = get_weather("Lucknow")
print(f"Temperature in Lucknow: {weather['main']['temp']}K")
Key topics: os, json, csv, datetime, re (regex), error handling with try/except, and writing modular code with multiple files.
Month 3: Mathematics for AI
You don't need a math PhD. You need intuition. Focus on three areas:
Linear Algebra
Vectors, matrices, dot products, matrix multiplication, and eigenvalues. These are the building blocks of how neural networks transform data. When you multiply a weight matrix by an input vector, that's linear algebra in action.
# Linear algebra with NumPy
import numpy as np
# Dot product (core of neural network forward pass)
weights = np.array([0.2, 0.8, 0.5])
inputs = np.array([1.0, 0.5, 0.3])
output = np.dot(weights, inputs)
print(f"Weighted sum: {output}") # 0.65
Probability & Statistics
Bayes' theorem, probability distributions, mean/variance/standard deviation, and hypothesis testing. You'll use these constantly when evaluating models and understanding data.
Calculus Basics
Derivatives and partial derivatives. Understand gradient descent conceptually � the model adjusts weights in the direction that reduces error. You don't need to solve integrals by hand.
Month 4: Machine Learning Fundamentals
ML is the foundation of everything that follows. Spend this month understanding how models learn from data.
Supervised Learning
Linear regression, logistic regression, decision trees, random forests, and support vector machines. Learn when to use each algorithm and how to evaluate them.
# Your first ML model with scikit-learn
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score
from sklearn.datasets import load_iris
X, y = load_iris(return_X_y=True)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
model = RandomForestClassifier(n_estimators=100)
model.fit(X_train, y_train)
predictions = model.predict(X_test)
print(f"Accuracy: {accuracy_score(y_test, predictions):.2%}")
Unsupervised Learning
K-means clustering, hierarchical clustering, and PCA (dimensionality reduction). These are essential for customer segmentation, anomaly detection, and data visualization.
Model Evaluation
Train/test splits, cross-validation, confusion matrices, precision, recall, F1-score, and ROC curves. Never trust a model without proper evaluation. Overfitting is the silent killer of ML projects.
Month 5: Deep Learning
Neural networks power everything from image recognition to language models. This month you learn the fundamentals.
Neural Network Basics
Perceptrons, activation functions (ReLU, sigmoid, softmax), forward propagation, backpropagation, and gradient descent. Understand how layers of simple math operations learn complex patterns.
# Simple neural network with TensorFlow
import tensorflow as tf
from tensorflow.keras import layers, models
model = models.Sequential([
layers.Dense(128, activation='relu', input_shape=(784,)),
layers.Dropout(0.2),
layers.Dense(64, activation='relu'),
layers.Dense(10, activation='softmax')
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
CNNs (Convolutional Neural Networks)
Build an image classifier using convolutional layers, pooling, and data augmentation. CNNs are the backbone of computer vision � from medical imaging to self-driving cars.
RNNs & Transformers
Recurrent networks for sequential data (LSTM, GRU), then understand why Transformers replaced them. The attention mechanism is the key innovation behind GPT, Claude, and Gemini.
Frameworks: Learn both TensorFlow/Keras and PyTorch. TensorFlow is more production-ready; PyTorch is more research-friendly. Start with one, then pick up the other.
Month 6: Natural Language Processing
NLP is the heart of modern AI. Every chatbot, search engine, and text generator uses NLP techniques.
Text Processing
Tokenization (splitting text into tokens), stemming, lemmatization, TF-IDF, and bag-of-words. These are classical NLP techniques you still need to understand.
Word Embeddings
Word2Vec, GloVe, and FastText convert words into dense vectors where similar words are close together. This is how machines understand meaning.
Transformers & Hugging Face
The Transformer architecture powers all modern LLMs. Learn to use Hugging Face's transformers library for text classification, named entity recognition, and text generation.
# Sentiment analysis with Hugging Face
from transformers import pipeline
classifier = pipeline("sentiment-analysis")
result = classifier("The AI Engineer roadmap from DSWallah is incredibly helpful!")
print(result)
# [{'label': 'POSITIVE', 'score': 0.9998}]
Month 7: LLMs & Prompt Engineering
Large Language Models are the most impactful AI technology of the decade. This month you learn to work with them effectively.
Understanding LLMs
How GPT-4, Claude, and Gemini work at a high level. Token limits, temperature, top-p sampling, and the difference between base models and instruction-tuned models. Learn the API patterns � OpenAI, Anthropic, and Google all have similar chat completion interfaces.
Prompt Engineering
Master prompt patterns: zero-shot, few-shot, chain-of-thought, role prompting, and structured output. Prompt engineering isn't just writing better prompts � it's understanding how to communicate effectively with AI systems.
# Chain-of-thought prompting example
prompt = """
Analyze the sentiment of this review and explain your reasoning step by step:
"The product arrived late and was damaged, but customer service was excellent
and they offered a full refund."
Step 1: Identify the aspects mentioned
Step 2: Determine sentiment for each aspect
Step 3: Give overall sentiment with confidence score
"""
Evaluation
How to evaluate LLM outputs � BLEU, ROUGE, human evaluation, and LLM-as-judge patterns. Build a prompt evaluation pipeline that tests your prompts against multiple test cases.
Month 8: RAG Systems
Retrieval-Augmented Generation lets LLMs answer questions about your specific data. This is the most in-demand AI engineering skill in 2026.
Vector Databases
Learn to use Pinecone, Weaviate, ChromaDB, or FAISS. Vector databases store embeddings and enable semantic search � finding documents based on meaning, not just keywords.
# Basic RAG pipeline with LangChain
from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings
from langchain.chat_models import ChatOpenAI
from langchain.chains import RetrievalQA
# Create vector store from documents
embeddings = OpenAIEmbeddings()
vectorstore = Chroma.from_documents(documents, embeddings)
# Create QA chain
qa_chain = RetrievalQA.from_chain_type(
llm=ChatOpenAI(model="gpt-4"),
retriever=vectorstore.as_retriever()
)
answer = qa_chain.run("What is the refund policy?")
Embedding Models
Compare OpenAI Ada, Cohere Embed, and open-source models like BGE and E5. Embedding quality directly impacts retrieval quality � garbage in, garbage out.
Chunking Strategies
How you split documents matters enormously. Try fixed-size chunks, recursive splitting, semantic chunking, and overlap strategies. Test different chunk sizes and measure retrieval accuracy.
Advanced RAG
Hybrid search (combining keyword and semantic), reranking, query transformation, and self-RAG. Build a complete RAG application with a FastAPI backend and a simple frontend.
Month 9: AI Agents
AI agents are autonomous systems that use LLMs to make decisions, call tools, and complete multi-step tasks. They're the cutting edge of AI engineering in 2026.
Function Calling & Tool Use
Learn to define tools that LLMs can call � database queries, API requests, file operations. OpenAI, Anthropic, and Google all support function calling natively.
# OpenAI function calling example
import openai
tools = [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a city",
"parameters": {
"type": "object",
"properties": {
"city": {"type": "string", "description": "City name"}
},
"required": ["city"]
}
}
}]
response = openai.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "What's the weather in Lucknow?"}],
tools=tools
)
Multi-Agent Systems
Build systems where multiple specialized agents collaborate � a researcher agent, a coder agent, a reviewer agent. Frameworks like CrewAI and AutoGen make this accessible.
Agentic Frameworks
LangGraph for stateful agent workflows, LlamaIndex for data agents, and Semantic Kernel for enterprise .NET integration. Pick one framework and build a complete agent project.
Month 10: MLOps & Deployment
Building a model is 20% of the work. Getting it to production reliably is the other 80%.
API Development with FastAPI
FastAPI is the standard for serving ML models. Learn to build REST APIs that accept input, run inference, and return predictions.
# FastAPI model serving
from fastapi import FastAPI
from pydantic import BaseModel
import joblib
app = FastAPI()
model = joblib.load("model.pkl")
class PredictionRequest(BaseModel):
features: list[float]
@app.post("/predict")
def predict(request: PredictionRequest):
prediction = model.predict([request.features])
return {"prediction": prediction[0]}
Docker & Containerization
Package your model and API in a Docker container. This ensures it runs the same everywhere � your laptop, a server, or the cloud.
Model Monitoring
Track prediction latency, error rates, data drift, and model degradation. Tools like Evidently AI and WhyLabs help you monitor models in production.
CI/CD for ML
Set up GitHub Actions to automatically test, build, and deploy your model when you push code. MLOps is about treating ML code with the same rigor as traditional software.
Month 11: Portfolio Projects
These five projects demonstrate the full AI Engineer skill set. Deploy each one and document them on GitHub with a README that explains the architecture.
Project 1: RAG Chatbot
Build a chatbot that answers questions from a PDF knowledge base. Use LangChain, ChromaDB, and OpenAI. Deploy with Streamlit. This project alone demonstrates vector databases, embedding models, chunking, and prompt engineering.
Project 2: AI Agent
Create a research agent that searches the web, summarizes findings, and generates a report. Use OpenAI function calling and a multi-step workflow. This shows tool use, planning, and state management.
Project 3: Sentiment Analyzer
Train a sentiment analysis model on product reviews. Compare a fine-tuned BERT model against a zero-shot LLM approach. Deploy as a FastAPI endpoint. This demonstrates classical NLP, fine-tuning, and deployment.
Project 4: Image Classifier
Build a CNN that classifies images (e.g., food items, plant diseases). Use transfer learning with a pre-trained ResNet. Deploy with Docker. This shows computer vision and MLOps skills.
Project 5: Recommendation System
Build a recommendation engine using collaborative filtering and content-based approaches. Compare against a hybrid approach. Deploy with a simple web interface. This demonstrates ML fundamentals and API design.
Month 12: Job Search & Interview Prep
The final month is about landing the job.
Resume & LinkedIn
Highlight your projects with specific metrics. "Built a RAG chatbot that answers questions from 500+ documents with 92% accuracy" is better than "Worked with LangChain." Optimize your LinkedIn with keywords like AI Engineer, LLM, RAG, and Python.
Technical Interviews
Expect questions on: Python coding challenges, ML concepts (overfitting, bias-variance), LLM architecture (attention mechanism, transformers), system design for AI applications, and hands-on coding with APIs.
Portfolio Presentation
Prepare a 5-minute walkthrough for each project. Explain the problem, your approach, the architecture, challenges you faced, and results. Practice this with a friend or mentor.
Salary Expectations in Lucknow & India
AI Engineering salaries vary by city and experience. Here's a realistic breakdown for 2026:
- Lucknow (Entry Level): ?4�7 LPA for freshers with portfolio projects
- Lucknow (2�3 years): ?8�14 LPA with RAG/agent experience
- Remote (India): ?8�18 LPA for remote AI Engineer roles
- Bangalore/Hyderabad: ?12�25 LPA for mid-level, ?25�45 LPA for senior roles
- Freelance: ?1,500�5,000/hour for AI consulting
Lucknow's tech scene is growing rapidly. Companies like JioSaavn, HCL, and numerous startups are hiring AI talent locally. Remote work has also opened up opportunities � your location no longer limits your earning potential.
Tools & Frameworks to Learn
Prioritize these based on job market demand:
- Core: Python, NumPy, Pandas, Matplotlib
- ML: scikit-learn, XGBoost, LightGBM
- Deep Learning: TensorFlow, PyTorch, Keras
- NLP/LLMs: Hugging Face Transformers, OpenAI API, Anthropic SDK
- RAG/Agents: LangChain, LlamaIndex, ChromaDB, Pinecone
- MLOps: FastAPI, Docker, GitHub Actions, MLflow
- Data: SQL, PostgreSQL, Redis
- Frontend (basics): Streamlit, Gradio for demos
Common Mistakes to Avoid
- Tutorial hell: Watching courses without building projects. Code along, then build something on your own.
- Skip the math: You don't need advanced math, but skipping basics hurts you later. Learn enough to understand what you're building.
- Ignoring deployment: A model that isn't deployed isn't a product. Learn Docker and FastAPI early.
- Not building a portfolio: GitHub projects with READMEs are your most powerful job tool. Aim for 5 deployable projects.
- Chasing every new tool: Master the fundamentals first. New tools are built on old concepts.
- Working in isolation: Join communities, attend meetups, find a mentor. Learning alone is slower and harder.
- Ignoring soft skills: Communication, writing, and presentation skills matter as much as technical skills in interviews.
Resources
- Python.org � Official Python documentation and tutorials
- Hugging Face Documentation � Transformers, datasets, and model hub
- Official Python Documentation � Complete Python reference
- scikit-learn User Guide � ML algorithms and best practices
- fast.ai � Free practical deep learning courses
- Microsoft AI Fundamentals � Free AI learning path
- DeepLearning.AI � Andrew Ng's AI courses
- Lilian Weng's Blog � Excellent LLM and agent explanations
- Kaggle � Datasets, notebooks, and competitions
- AI Engineer Roadmap � Visual learning path
This roadmap is your blueprint. The difference between those who succeed and those who don't isn't talent � it's consistency. Start with Month 1 today. Write your first Python script. Build your first project. And remember: every expert was once a beginner who refused to give up.
� Vaibhav Gupta, DSWallah
Frequently Asked Questions
Is this roadmap suitable for beginners in Lucknow?
Yes. Each phase builds from fundamentals. If you're starting from zero, follow the roadmap in order and use our Lucknow live batches for doubt support.
How many months does it take to become job-ready?
With consistent effort, most learners reach junior roles in 6�9 months. The exact time depends on your background and weekly study hours.
Do I need a laptop or can I learn online from Lucknow?
A basic laptop with 8 GB RAM is enough. All classes run live online + offline hybrid, so you can learn from anywhere in Lucknow or UP.
Where can I get mentorship while following this roadmap?
Join a DSWallah batch for IIT-certified mentor guidance, project reviews and placement help � book a free demo via WhatsApp to discuss your plan.