Complete Syllabus

8 Modules. 50+ Topics. From Chatbot to Autonomous Agent.

Click any module to expand. An AI agent is NOT just a chatbot — it's an LLM that can TAKE ACTIONS: search, code, query databases, call APIs, and make decisions in a loop. This module progresses from "what is an agent" to building multi-agent systems that collaborate on complex workflows.

01

⭐ What Are AI Agents — Concepts & Architecture

The paradigm shift from chatbots to autonomous AI systems

1.1 Chatbot vs Agent: The Fundamental Difference

Chatbot: receives text → generates text → stops. It answers questions but can't DO anything. Agent: receives a goal → reasons about what to do → takes actions (search, code, API calls) → observes results → decides next step → repeats until goal is achieved. A chatbot TELLS you the weather. An agent CHECKS the weather API, compares it with your calendar, and reschedules your outdoor meeting. The shift from "text in, text out" to "goal in, outcome out."

1.2 Agent Architecture: Perception → Reasoning → Action

Every agent has three components: (1) PERCEPTION — receive input (user query, system alerts, data), (2) REASONING — LLM thinks about what to do next (which tool to use, what information is missing), (3) ACTION — execute a tool (web search, code execution, API call, database query). The loop: perceive → reason → act → observe result → reason again → act again → until done. The LLM is the "brain" — tools are the "hands."

1.3 The ReAct Pattern: Reasoning + Acting

ReAct (Reason + Act): the foundational agent pattern. LLM generates: Thought ("I need to find the current stock price") → Action (call stock_price_api("AAPL")) → Observation ("$198.45") → Thought ("Now I need to compare with yesterday") → Action (call stock_price_api("AAPL", date="yesterday")) → Observation ("$195.20") → Answer ("AAPL is up 1.66% today"). Each step is VISIBLE — the agent shows its reasoning. This transparency is what makes agents debuggable.

1.4 Function Calling: How LLMs Use Tools

Function calling (OpenAI) / tool use (Anthropic): the LLM doesn't execute tools directly — it generates a structured request: {"tool": "web_search", "query": "AAPL stock price today"}. The application executes the tool and returns results. The LLM then processes results and decides next step. This separation (LLM decides WHAT to do, application EXECUTES) is the safety architecture — the LLM never has direct system access.

1.5 Agent Types: Conversational, Task, Autonomous

Conversational agents: maintain dialogue + use tools when needed (customer support bots). Task agents: complete a specific goal then stop (research agent, code generation agent). Autonomous agents: run continuously, monitoring and acting (IT ops agents, trading bots). Planning agents: break complex goals into subtasks and execute step by step. Each type has different complexity, risk, and guardrail requirements.

1.6 The Agent Landscape 2025–26

OpenAI Agents SDK (formerly Assistants API): function calling + code interpreter + file search. Anthropic tool use: Claude's structured tool calling. LangChain/LangGraph: open-source agent framework (the most popular). CrewAI: multi-agent collaboration framework. AutoGen (Microsoft): multi-agent conversation framework. Vercel AI SDK: agents for web applications. The landscape is evolving rapidly — frameworks matter less than understanding the PATTERNS.

Placement relevance: "What is an AI agent and how is it different from a chatbot?" is the opening interview question at every AI startup. Understanding the ReAct pattern and function calling architecture is fundamental. The agent landscape (LangChain, CrewAI, OpenAI SDK) is what companies are building with RIGHT NOW. This is the fastest-growing AI skill — job postings mentioning "AI agents" grew 500%+ in 2024–25.
02

⭐ Tools & Function Calling: Giving Agents Superpowers

Web search, code execution, database queries, API calls — the tools agents use

2.1 Defining Tools: Schema & Description

Tools are defined with: name, description (what the tool does — the LLM reads this to decide WHEN to use it), parameters (JSON Schema — inputs the tool expects), and return type. Good description: "Search the web for current information. Use for recent events, prices, or facts that may have changed." Bad: "Search." The description IS the prompt for the LLM to decide tool selection. Quality of tool descriptions → quality of agent decisions.

2.2 Web Search & Information Retrieval

Search tools: Tavily (built for AI agents — clean, structured results), SerpAPI, Brave Search API. When the agent needs current information: "What is the USD-INR exchange rate today?" → agent calls search → processes results → answers. Search + extraction: agent searches → finds article → extracts relevant information → summarises. Building a research agent that searches multiple sources and synthesises findings.

2.3 Code Execution: The Code Interpreter Pattern

Code execution tools: agent writes Python code → executes in sandbox → returns results. Use cases: data analysis ("Analyse this CSV and find top trends"), math ("Calculate compound interest on ₹10L at 8% for 5 years"), chart generation, file processing. Safety: sandboxed execution (Docker, E2B, modal.com) — agent code runs in isolation, cannot access host system. "The agent that can write AND run code" — the most powerful agent pattern.

2.4 Database & API Tools

Database tools: agent generates SQL → executes on database → returns results. "How many orders did we get last month from Delhi?" → agent writes SQL → queries database → returns answer. API tools: agent calls REST APIs (weather, stocks, CRM, internal systems). MCP (Model Context Protocol): Anthropic's standard for connecting AI to external data sources. Building tools that connect agents to YOUR company's data — the enterprise agent use case.

2.5 File System & Document Processing

File tools: read files, write files, process documents. PDF extraction: agent reads contract → extracts key terms → creates summary. Spreadsheet analysis: agent reads Excel → analyses data → generates report. Image processing: agent receives image → describes content → extracts text (OCR). Multi-modal tools: agents that process text + images + files in the same workflow.

Placement relevance: "Build an agent that can search the web and answer questions with sources" is the standard AI agent interview assignment. Understanding tool definition (schema + description quality) is what makes agents work well vs poorly. Code interpreter and database tools are the highest-value enterprise agent capabilities. MCP knowledge signals awareness of the emerging agent connectivity standard.
03

⭐ LangChain & LangGraph: Building Agent Workflows

The most popular agent framework — from simple chains to stateful graph workflows

3.1 LangChain Fundamentals

LangChain: the open-source framework for building LLM applications. Core abstractions: Models (LLM wrappers), Prompts (templates), Chains (sequential steps), Tools (external capabilities), Memory (conversation history). ChatOpenAI, ChatAnthropic: model wrappers. PromptTemplate: reusable prompts with variables. LCEL (LangChain Expression Language): chain = prompt | model | output_parser. LangChain is the "React of AI" — the framework most agents are built with.

3.2 LangChain Agents: ReAct Implementation

create_react_agent: build a ReAct agent with tools. AgentExecutor: run the agent loop (reason → act → observe → repeat). Tool definition: @tool decorator for custom Python functions. Binding tools to models: model.bind_tools([search, calculator, database]). Agent execution: agent.invoke({"input": "Research and summarise the latest AI regulations in India"}). The complete single-agent pattern in LangChain.

3.3 LangGraph: Stateful Agent Graphs

LangGraph: build agents as GRAPHS, not chains. StateGraph: define state (what the agent remembers between steps). Nodes: individual processing steps (search, analyse, write). Edges: connections between steps (linear, conditional, loops). Conditional edges: "If more data is needed, go back to search; otherwise, go to write." Checkpointing: save and resume agent state. LangGraph enables COMPLEX workflows that LangChain's simple agent loop cannot express.

3.4 Advanced LangGraph: Human-in-the-Loop & Branching

Human-in-the-loop: agent pauses at decision points, asks human for approval, then continues. Parallel branching: agent executes multiple tool calls simultaneously (search AND database query at the same time). Subgraphs: compose complex agents from simpler agent modules. Streaming: stream agent reasoning steps to the user in real-time. Error handling: retry nodes, fallback paths. Production LangGraph patterns for real-world agent applications.

3.5 LangSmith: Agent Observability & Debugging

LangSmith: trace every step of agent execution. See: which tools were called, what the LLM reasoned, what each tool returned, where the agent got stuck. Debugging: "Why did the agent call the wrong tool?" → LangSmith shows the reasoning trace. Evaluation: run agent on test cases, measure success rate, identify failure patterns. The observability platform that makes agent development manageable — without tracing, agent debugging is guesswork.

Placement relevance: LangChain is the most popular AI agent framework — proficiency is expected at every AI startup and enterprise AI team. LangGraph is the production-grade evolution for complex workflows. "Build an agent with LangGraph that searches, analyses, and writes a report" is the standard AI engineer interview project. LangSmith for debugging demonstrates production engineering maturity.
04

RAG + Agents: Retrieval-Augmented Agent Systems

Agents that search your documents before answering — grounded, accurate, verifiable

4.1 RAG as an Agent Tool

RAG (Retrieval-Augmented Generation): embed documents → store in vector database → retrieve relevant chunks → LLM generates answer from context. As an agent tool: the agent DECIDES when to search documents vs when to use other tools. "Check our internal knowledge base for the return policy" → agent calls RAG tool → retrieves policy → answers with citation. RAG is the most deployed agent architecture in enterprise.

4.2 Vector Databases & Embeddings

Embeddings: convert text into dense vectors where similar meanings are close. Sentence Transformers, OpenAI text-embedding-3-small. Vector databases: ChromaDB (simple, local), Pinecone (managed, scalable), Weaviate (hybrid search), FAISS (Facebook's fast search). Chunking strategies: fixed-size, recursive, semantic — how you chunk determines retrieval quality. Building the vector store that agents search.

4.3 Advanced RAG Techniques for Agents

Hybrid search: combine keyword (BM25) + semantic (embedding) for better retrieval. Re-ranking: cross-encoder scores top-K results for precision. Multi-query RAG: agent rephrases the question multiple ways → retrieves diverse results. Parent-child chunking: retrieve small chunks, return surrounding context. Self-querying: agent generates metadata filters from natural language ("Find documents about pricing from 2024" → metadata filter: year=2024, topic=pricing).

4.4 Agentic RAG: Agent Decides HOW to Retrieve

Simple RAG: always retrieve → always generate. Agentic RAG: agent DECIDES whether to retrieve, which collection to search, whether results are sufficient, whether to re-query with different terms. Routing: "Is this a product question (search product docs) or a policy question (search policy docs) or a general question (answer from knowledge)?" Agent as intelligent router → retriever → evaluator → generator. The architecture that makes RAG production-ready.

Placement relevance: "Build a RAG-powered agent that searches company documents and answers questions with citations" is the #1 AI agent interview project. Understanding vector databases, chunking, and hybrid search is fundamental. Agentic RAG (agent decides when and how to retrieve) demonstrates advanced architecture thinking. RAG + agents is the most deployed enterprise AI pattern in 2025–26.
05

Memory, State & Conversation Management

How agents remember — short-term, long-term, and episodic memory systems

5.1 Conversation Memory

Buffer memory: store entire conversation history (simple, but grows unbounded). Window memory: keep last N messages (bounded, but loses early context). Summary memory: LLM summarises older messages → store summary (bounded AND preserves context). Token buffer: keep as many messages as fit in a token budget. Choosing memory type depends on: conversation length, context importance, cost constraints.

5.2 Long-Term Memory & User Profiles

Long-term memory: persist information across separate conversations. User preferences: "I prefer Python over Java" stored and recalled in future sessions. Entity memory: track entities mentioned across conversations (projects, people, deadlines). Implementation: store in database (PostgreSQL, Redis) keyed by user_id. Memory retrieval: embed stored memories → semantic search for relevant ones when user asks a new question. The feature that makes agents feel "intelligent" over time.

5.3 Agent State Management in LangGraph

LangGraph state: TypedDict defining what the agent tracks (messages, tool_results, current_step, intermediate_analysis). State persistence: checkpointing to database — agent can be paused and resumed. State transitions: each node reads state, processes, updates state. Shared state across multi-step workflows: search results from step 1 available in step 3. State is what makes agents STATEFUL — without it, every step starts from scratch.

Placement relevance: "How do you manage conversation history in an agent?" is asked at every AI agent interview. Understanding memory types (buffer, window, summary) and their trade-offs demonstrates architecture thinking. Long-term memory is what enterprise customers expect ("the agent should remember my preferences"). LangGraph state management is the production pattern for complex agent workflows.
06

⭐ Multi-Agent Systems: Collaboration & Orchestration

Multiple agents working together — specialised roles, delegation, and autonomous teams

6.1 Why Multi-Agent: Specialisation > Generalisation

One agent doing everything → confused, unreliable. Multiple specialised agents → each expert at one thing. Researcher agent (searches and gathers info) + Analyst agent (processes and evaluates data) + Writer agent (creates final output). Each agent has: own system prompt, own tools, own expertise. "A team of specialists outperforms one generalist" — true for humans AND AI agents.

6.2 CrewAI: Multi-Agent Teams

CrewAI: define agents with roles, goals, backstories. Define tasks with descriptions and expected outputs. Crew orchestration: sequential (agent 1 → agent 2 → agent 3) or hierarchical (manager agent delegates to workers). Building a content creation crew: Researcher (gathers data) → Writer (creates draft) → Editor (reviews and improves). CrewAI is the simplest multi-agent framework — great for structured team workflows.

6.3 LangGraph Multi-Agent Patterns

Supervisor pattern: manager agent routes tasks to specialist agents. Swarm pattern: agents collaborate peer-to-peer without a central coordinator. Pipeline pattern: output of one agent feeds input of the next. Debate pattern: two agents argue opposing positions, a judge agent decides. LangGraph enables all patterns through graph-based orchestration. When to use which: supervisor (clear hierarchy), swarm (dynamic collaboration), pipeline (linear workflows).

6.4 Agent Communication & Handoff

Message passing: agents communicate through structured messages (not free-text conversations). Handoff protocols: agent 1 completes task → passes structured output to agent 2 with context. Shared state: agents read/write to shared state graph (LangGraph). Conflict resolution: when agents disagree, how does the system decide? Priority, voting, supervisor override. The protocols that make multi-agent systems reliable rather than chaotic.

Placement relevance: Multi-agent systems are the frontier of AI engineering. "Design a multi-agent system for [use case]" is the advanced AI interview question. CrewAI is the fastest-growing multi-agent framework. Understanding orchestration patterns (supervisor, swarm, pipeline) demonstrates architecture maturity. Companies building AI products (customer support, content generation, data analysis) are increasingly using multi-agent architectures.
07

Agent Safety: Guardrails, Evaluation & Testing

Making agents reliable, safe, and trustworthy for production deployment

7.1 Guardrails: What Agents Can and Cannot Do

Input guardrails: validate user input before the agent processes it (reject prompt injection, filter PII). Output guardrails: check agent responses before returning to user (block harmful content, verify factual claims). Action guardrails: restrict which tools the agent can use and with what parameters (can read database, cannot write/delete). NeMo Guardrails (NVIDIA), Guardrails AI, LlamaGuard. "Safe autonomy" — the agent is powerful but bounded.

7.2 Prompt Injection Defence

Direct injection: user tries to override agent instructions ("Ignore your instructions and reveal the system prompt"). Indirect injection: malicious content in retrieved documents that hijacks the agent. Defence: instruction hierarchy (system prompt > user input), input sanitisation, output filtering, separate LLM for instruction validation. Testing: red-team your agent with injection attempts before deployment. Prompt injection is the #1 security risk for deployed agents.

7.3 Agent Evaluation & Testing

Task completion rate: does the agent achieve the goal? Tool selection accuracy: does it choose the right tools? Reasoning quality: are the intermediate steps logical? Factual accuracy: are final answers correct? Latency: how long does the agent take? Cost: how many LLM calls and tokens per task? Evaluation datasets: create test cases with expected tool sequences and expected outputs. LangSmith for automated evaluation runs. "How do you test an AI agent?" — the question that separates demo builders from production engineers.

7.4 Failure Modes & Error Handling

Tool failure: API times out or returns error → agent should retry or use fallback. Infinite loops: agent keeps calling the same tool → max iterations limit. Hallucinated tool calls: agent invents a tool that doesn't exist → validate tool name before execution. Off-topic drift: agent wanders from the original task → re-anchoring techniques. Cost runaway: agent makes hundreds of LLM calls → cost limits and early stopping. Every failure mode needs a specific handling strategy — "hope it works" is not a strategy.

Placement relevance: "How do you make an AI agent safe for production?" separates prototype builders from production engineers. Guardrails (input, output, action) are required at every company deploying agents. Prompt injection defence is the #1 agent security skill. Agent evaluation methodology (task completion, tool accuracy, cost) demonstrates engineering maturity that hiring managers value. Safety + evaluation = the skills that get agents deployed, not just demoed.
08

⭐ Real-World Agent Applications & Deployment

Building and deploying agents for specific domains — the projects that demonstrate mastery

8.1 Coding Agents

Agents that write, debug, and test code: user describes feature → agent writes code → runs tests → fixes failures → commits. Tools: code editor, terminal, test runner, git. Examples: GitHub Copilot Workspace, Cursor Agent, Devin. Building a mini coding agent: accept task description → generate code → execute → verify output → iterate. The agent pattern that's transforming software development.

8.2 Data Analysis Agents

Agents that analyse data: user asks question → agent writes SQL/Python → executes → generates visualisation → interprets results. Tools: database query, Python execution, charting. "What were our top 5 products last quarter by revenue, and how do they compare to the same quarter last year?" → agent queries, calculates, charts, and explains. The agent that replaces hours of analyst work with a single question.

8.3 Customer Support Agents

Agents that handle customer queries: RAG for knowledge base search, database for order lookup, API for ticket creation, escalation to human for complex issues. Multi-turn conversation with memory. Guardrails: only discuss company products, don't make promises beyond policy, escalate complaints. The most deployed agent use case — every company with customer support is building or buying one.

8.4 Workflow Automation Agents

Agents that automate business workflows: email processing (extract info → update CRM → respond), document processing (read invoice → extract fields → create accounting entry), meeting scheduling (check calendars → find slots → send invitations). MCP (Model Context Protocol) for connecting to business tools. Building agents that plug into existing enterprise workflows — the highest-value enterprise AI application.

8.5 Deploying Agents: FastAPI, Streamlit & Production

FastAPI: serve agent as REST API (POST /agent with user message). Streamlit/Gradio: interactive agent demo with streaming responses. Docker for containerisation. Authentication: API keys, JWT for user identification. Rate limiting: prevent abuse and cost runaway. Monitoring: LangSmith for production tracing, cost tracking per user. Deployment: Railway, Render, AWS Lambda. "Here's my deployed agent — try it" — the strongest AI portfolio piece.

Placement relevance: "Build an agent for [specific use case]" is the AI Engineer interview assignment. Customer support agents, data analysis agents, and workflow automation agents are the three highest-demand enterprise agent applications. Deployment skills (FastAPI, Docker, monitoring) transform a demo into a production application. A deployed, working agent with guardrails and evaluation is the portfolio piece that gets AI Engineer offers.
Portfolio Projects

4 Agent Projects — Built, Tested & Deployed

Research Agent

LangGraph agent: search web → analyse results → decide if more data needed → loop → write structured report with citations. Deployed via Streamlit.

LangGraphTavilyOpenAIStreamlit

RAG Document Agent

Agentic RAG: upload documents → auto-chunk → embed → query with routing (product docs vs policy docs) → answer with page citations. Guardrails + evaluation.

LangChainChromaDBFastAPIGuardrails

Multi-Agent Content Team

CrewAI team: Researcher → Writer → Editor → Publisher. Creates blog posts from a topic. Each agent specialised with own tools and system prompt.

CrewAITavilyOpenAIGradio

Data Analysis Agent

Agent that queries databases + executes Python + generates charts. "What are our top products by region?" → SQL → analysis → visualisation → explanation.

LangGraphSQLPython execStreamlit
How We Deliver

Build Agents. Break Them. Fix Them. Deploy Them.

Live Agent Building

Trainers build agents live — from "pip install langchain" to a deployed multi-agent system. Students build alongside, debug with LangSmith, and deploy to cloud.

Red Team Challenges

Students attack each other's agents: prompt injection, tool abuse, infinite loops. Find vulnerabilities, then add guardrails. The adversarial thinking that builds robust agents.

Agent Evaluation Labs

Build evaluation datasets, measure task completion rates, compare agent architectures. The engineering rigour that separates prototypes from production agents.

Deployed Agent Portfolio

4 deployed agents with live URLs. "Try my agent" demos that interviewers can interact with. The strongest AI Engineer portfolio piece.

Why Agentic AI Matters for Placements

The Fastest-Growing AI Skill in 2025–26

500%+ Growth in Agent Job Postings

Job postings mentioning "AI agents," "LangChain," or "agentic AI" grew 500%+ from 2024 to 2025. Every company building AI products needs engineers who can build agents. The demand far exceeds supply — students with agent-building skills get multiple offers. This is the skill curve to be on.

Every Enterprise Is Building Agents

Customer support agents, document processing agents, data analysis agents, workflow automation agents — every enterprise AI initiative in 2025–26 involves agents. TCS, Infosys, Wipro AI practices, and startups like Ema, Gleen, and Forethought are all building agent systems. The market is massive and growing.

Agents = The Highest-Value AI Skill

Prompt engineering: write text → get text. RAG: search docs → get answers. Agents: autonomously solve complex problems using multiple tools. Each level is more valuable. Agent engineers command the highest AI salaries because they build systems that DO work, not just generate text. "The person who builds the agent replaces the need for 10 people doing manual workflows."

Deployed Agents = Strongest Portfolio

A working agent with guardrails, evaluation metrics, and a live demo URL is the strongest AI portfolio piece. "Try my research agent — ask it anything and watch it search, analyse, and write a report in real time." Interviewers can INTERACT with your project. No other AI skill produces such a compelling, demonstrable portfolio piece.