Online course · AI
AI Agents & Agentic AI
Build, secure and evaluate tool-using AI agents in Python, provider-neutral
Created by TrainSkool Trainer
- AI
- Intermediate
- English
- 24 lessons
- 20h 55m
- 7 assessments
- Certificate
Coming soon Launch price ₹1,299
This course is not open for enrolment yet.
About this course
A practical, engineering-first course for developers, data professionals and technical freelancers in India who want to build AI agents that do real work safely. You will start from how large language models actually behave (tokens, context windows, sampling, hallucination), call models from Python through a provider-neutral wrapper, get validated structured JSON, and handle retries, rate limits and cost. You will then build retrieval-augmented generation over a real knowledge base, design tool schemas, write your own agent loop, manage session state, and learn when multi-agent designs help and when they only add cost. Security and evaluation are treated as core skills: prompt injection, least privilege, human approval for actions, DPDP Act 2023 basics, and regression eval suites. One running example ties it together: the support desk of a Pune-based e-commerce seller. Prerequisites: comfortable Python (functions, classes, pip, virtual environments), basic HTTP/JSON, and access to at least one LLM API. Included: text lessons and a slide deck for each of 7 modules, hands-on exercises with expected results, a capstone where you deploy an AI support agent with approval-gated actions, a graded final exam, and a certificate on completion. Format: in-depth illustrated text lessons, a slide deck and in-browser slideshow per module, a course trailer, and a downloadable toolkit (setup guide, cheat sheet, exercise workbook with model solutions, starter files and datasets). Recorded lesson videos are in production. Products and services are named descriptively; their trademarks belong to their owners, and TrainSkool is not affiliated with or endorsed by them. What you will be able to do: - You will be able to estimate token budgets and choose sampling settings per task, and design prompts that avoid unsupported answers. - You will be able to call any LLM API from Python through a provider-neutral wrapper with streaming, retries, backoff and cost logging. - You will be able to extract validated structured JSON with Pydantic and route failures safely to humans. - You will be able to build a RAG pipeline with sound chunking, hybrid search, reranking, citations and measured recall. - You will be able to write an agent loop with well-designed tool schemas, persistent session state and step and budget limits. - You will be able to decide between workflows, single agents and multi-agent designs using evaluation evidence. - You will be able to defend agents against prompt injection with least privilege, server-side checks and human approval. - You will be able to deploy an AI support agent with an approval queue, regression eval suite and per-conversation cost tracking.
What you'll learn
- Estimate token budgets and choose sampling settings per task, and design prompts that avoid unsupported answers
- Call any LLM API from Python through a provider-neutral wrapper with streaming, retries, backoff and cost logging
- Extract validated structured JSON with Pydantic and route failures safely to humans
- Build a RAG pipeline with sound chunking, hybrid search, reranking, citations and measured recall
- Write an agent loop with well-designed tool schemas, persistent session state and step and budget limits
- Decide between workflows, single agents and multi-agent designs using evaluation evidence
- Defend agents against prompt injection with least privilege, server-side checks and human approval
- Deploy an AI support agent with an approval queue, regression eval suite and per-conversation cost tracking
Course content
Chapter 1 · Module 1: LLM Fundamentals
- Video: Tokens, Context Windows and What a Model Actually SeesEvery rupee you spend on a language model, every second a customer waits, and every "the bot forgot my order number" complaint traces back to one unit: the token.10 topics · 39 min
- Code lab: Sampling: Temperature, Determinism and Why Answers VaryThe support desk routes every incoming email into one of five queues.10 topics · 43 min
- Code lab: Limits and Hallucination: Designing Around What Models Get WrongA model generates plausible text. Plausible is not the same as true.17 topics · 48 min
Chapter 2 · Module 2: Python and LLM APIs
- Code lab: Calling a Model From Python With a Provider-Neutral WrapperEvery major provider offers an HTTP API and a Python SDK, and they differ in parameter names, how the system prompt is passed, how tool calls are encoded and what the response looks like.10 topics · 52 min
- Code lab: Streaming Responses for a Responsive Support DeskA reply of 300 tokens can take several seconds to generate.10 topics · 53 min
- Code lab: Structured JSON Output and ValidationAgents are glue between language and software. Software needs structure: an order ID, a category, a boolean.10 topics · 47 min
- Code lab: Retries, Timeouts, Rate Limits and Cost ControlIn production, model APIs fail in ordinary ways: timeouts, rate-limit responses (HTTP 429), temporary server errors (5xx) and outputs that fail validation.16 topics · 52 min
Chapter 3 · Module 3: RAG and Vector Databases
- Code lab: Why Retrieval: The RAG Pattern and Chunking Your Knowledge BaseA model knows nothing about the support desk's 7-day return window, its couriers (Courier B, Courier A, Courier C), or how to care for the KDI-CI-12 cast-iron kadai.12 topics · 49 min
- Code lab: Embeddings and Vector SearchCustomers do not use your policy's words. One writes "My refund has not come", another "paisa wapas nahi aaya", a third types only the SKU "KDI-CI-12".10 topics · 53 min
- Code lab: Retrieval Quality: Filtering, Reranking and Grounded PromptsGetting some chunks back is easy. Getting the right chunk first, getting nothing when nothing is relevant, and making the model use only what you gave it is the real engineering.11 topics · 53 min
- Code lab: Evaluating a RAG System"It looks good on the questions I tried" is how most RAG demos get approved and how most go wrong in production.15 topics · 57 min
Chapter 4 · Module 4: Tool Calling and Agent Frameworks
- Code lab: What Makes Something an Agent: The Agent LoopA chatbot answers. An agent decides what to do next, does it through tools, looks at the result and repeats until the task is done or it should stop.10 topics · 57 min
- Code lab: Designing Tool Schemas the Model Can Use CorrectlyThe model chooses tools and arguments based entirely on the names, descriptions and schemas you write.10 topics · 53 min
- Code lab: Agent Memory, State and Conversation ManagementA shop customer on WhatsApp reports at 10:15 IST that order SK-52210 arrived with a dented lid, sends a photo, and goes quiet.10 topics · 52 min
- Code lab: Frameworks Without Lock-In: Framework-Agnostic Agent DesignThere are many agent frameworks and SDKs: general orchestration libraries, graph-based workflow engines with checkpoints, provider-specific agent SDKs, and the Model Context Protocol (MCP) for…16 topics · 42 min
Chapter 5 · Module 5: Multi-Agent Workflows
- Code lab: Orchestrator and Worker PatternsSooner or later a support desk receives a message that is really three questions in one.10 topics · 59 min
- Code lab: Handoffs, Routing and Shared StateOrchestration keeps one component in charge. Real support desks also need the opposite: passing the conversation on.10 topics · 53 min
- Code lab: When NOT to Use Multiple AgentsMulti-agent diagrams look impressive in a pitch deck: a greeter, an intent detector, an order expert, a policy expert, an empathy writer, a quality checker and a summariser, each with a friendly icon.16 topics · 48 min
Chapter 6 · Module 6: Security and Evaluation
- Code lab: Prompt Injection: The Defining Security Problem of AgentsA language model cannot reliably tell the difference between instructions from you and text that merely looks like instructions.10 topics · 59 min
- Code lab: Least Privilege, Human Approval and Safe ActionsThe shop owner said one thing clearly when the AI desk was proposed: no refund or replacement goes out without a person approving it.10 topics · 53 min
- Code lab: Evaluation Sets and Regression Testing for AgentsAn agent's behaviour changes whenever you edit a prompt, a tool description, a model version, a retrieval threshold or a Python function the tools call.16 topics · 58 min
Chapter 7 · Module 7: Capstone - Deploy an AI Support Agent
- Code lab: Capstone Brief and ArchitectureMost agent projects in Indian companies do not fail because the model is weak.10 topics · 49 min
- Code lab: Step-by-Step Build and DeploymentA support agent that works on your laptop is a prototype.10 topics · 71 min
- Code lab: Deliverables, Grading Rubric and Final ReviewA capstone is graded on what it does, how safely it does it, and how well you can show evidence.10 topics · 55 min
Assessments and certificate
- Module 1 quiz: LLM Fundamentals7 questions · 15 min · pass mark 70%
- Module 2 quiz: Python and LLM APIs8 questions · 15 min · pass mark 70%
- Module 3 quiz: RAG and Vector Databases8 questions · 15 min · pass mark 70%
- Module 4 quiz: Tool Calling and Agent Frameworks8 questions · 15 min · pass mark 70%
- Module 5 quiz: Multi-Agent Workflows8 questions · 15 min · pass mark 70%
- Module 6 quiz: Security and Evaluation8 questions · 15 min · pass mark 70%
- AI Agents & Agentic AI — final assessment20 questions · 40 min · pass mark 70%