---
title: "Agentic AI Engineering: Build AI Agents from Scratch"
description: "Build AI agents in Python from scratch: tool calling, MCP, RAG, memory, evals, guardrails and deployment in 24 live 1-on-1 classes with a capstone you ship."
slug: agentic-ai-engineering-build-ai-agents-course
canonical: https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/
category: "Advanced AI & Research"
keywords: ["agentic ai course", "ai agent engineering course", "build ai agents from scratch", "ai agents course python", "agentic ai course online", "llm agents course", "model context protocol course", "mcp server tutorial course", "langgraph course", "openai agents sdk course"]
---
# Agentic AI Engineering: Build AI Agents from Scratch

> Build AI agents in Python from scratch: tool calling, MCP, RAG, memory, evals, guardrails and deployment in 24 live 1-on-1 classes with a capstone you ship.

**Level:** Advanced · working engineers, college and graduate students, researchers; comfortable Python required  
**Duration:** 24 live 1-on-1 classes, 1 hour each  
**Commitment:** One live hour per class plus 3-4 hours of build time between classes  
**Certification:** Certificate from Modern Age Coders, awarded on passing the final assessment  
**1-on-1:** ₹4,999/month

## At a glance

- **Who it is for:** Advanced · working engineers, college and graduate students, researchers; comfortable Python required.
- **Prerequisites:** Comfortable Python: functions, classes, virtual environments, pip or uv, reading tracebacks and using git. You do not need machine learning experience; you do need to be able to write and debug a few hundred lines of code
- **Format:** Live, interactive classes with a real engineer, never pre-recorded videos. Live classes run about one hour.
- **Language:** English or Hindi, depending on the batch.
- **Duration:** 24 live 1-on-1 classes, 1 hour each
- **Weekly commitment:** One live hour per class plus 3-4 hours of build time between classes
- **Class size:** Taught 1-on-1 only: every class is a private session with your own mentor.
- **Price:** [See the fees and plans, shown in your currency.](https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/#enroll)
- **Certificate:** Certificate from Modern Age Coders, awarded on passing the final assessment
- **Watch first:** [Free recordings of real classes for ages 13 and up](https://modernagecoders.graphy.com/courses/How-We-Teach-The-Modern-Age-Coders-Methodology-6a1888029a4f81888c408ab9), free with a Google sign-in. These recordings show how we teach, not the exact syllabus of this course.
- **Live demo:** Optional. Enrol directly on this page, or [book a Priority Demo](https://learn.modernagecoders.com/book-demo): a full live class of about 45 to 60 minutes with a mentor reserved for you.
- **Questions:** [WhatsApp +91 91233 66161](https://wa.me/919123366161?text=Hi%2C%20I%20have%20a%20question%20about%20the%20Agentic%20AI%20Engineering%3A%20Build%20AI%20Agents%20from%20Scratch%20course%20before%20enrolling.) or email [connect@modernagecoders.com](mailto:connect@modernagecoders.com?subject=Question%20about%20Agentic%20AI%20Engineering%3A%20Build%20AI%20Agents%20from%20Scratch).

## Agentic AI Engineering: Build, Evaluate and Ship AI Agents in Python

*24 live 1-on-1 classes. Write the agent loop yourself, connect it to real tools over MCP, measure it with evals, defend it against prompt injection and ship it, on your own problem.*

Most agent tutorials start with a framework and stop at a demo. This course starts with the raw model APIs and stops at a deployed agent with an eval suite, because that is the distance between a prototype and something you can put in front of users. In the first phase you call OpenAI, Anthropic and Google models directly, design tools with JSON Schema, write the agent loop by hand in plain Python and make outputs reliable with structured schemas. In the second you build Model Context Protocol servers and clients against the current 2026-07-28 specification, add retrieval and memory, use planning and verifiers, and test whether multiple agents actually beat one. In the third you rebuild your agent in LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google's Agent Development Kit so you can choose a framework on evidence, then build the eval harness, tracing and cost engineering that tell you whether it works. The last phase covers guardrails, prompt-injection defence, deployment, reliability and human oversight, and ends with a capstone you ship and defend. This is code-first and framework-agnostic: it is not a no-code platform course like our Copilot Studio or Gemini Enterprise programmes, and it is not about using coding agents like our Codex and Claude Code course. Here you build the agent. Every class is 1-on-1, so the material is your codebase, your data, your research question and your API budget.

**Learning Path:**

- Phase 1, LLM Foundations and the Agent Loop (Classes 1-6): call LLM APIs directly, design tools, write the agent loop by hand, enforce structured outputs, and ship a first working agent with a regression set.
- Phase 2, MCP, Retrieval, Memory and Planning (Classes 7-12): build MCP servers and clients, add retrieval and memory, use planning and verifiers, and test multi-agent designs against a single agent.
- Phase 3, Frameworks, Evals and Observability (Classes 13-18): port your agent across LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google ADK, build an eval harness and tracing, and cut cost per successful task.
- Phase 4, Safety, Deployment and Capstone (Classes 19-24): add guardrails and injection defences, deploy with tracing and rollback, design human oversight, and defend a shipped capstone with its eval suite.

## Phase 1: LLM Foundations and the Agent Loop

Work directly with provider APIs, master tool calling and structured outputs, and write the agent loop yourself before any framework hides it.

### Week 1

#### Class 1: What an Agent Actually Is, and When You Should Not Build One

**Topics:**

- A working definition: a model running in a loop, choosing tools, observing results and deciding when to stop, versus a fixed workflow where your code decides the steps
- Anthropic's distinction in "Building Effective Agents" (2024) between workflows (prompt chaining, routing, parallelisation, orchestrator-workers, evaluator-optimiser) and agents, and why most production systems are mostly workflow
- The failure modes you are signing up for: compounding errors over long loops, non-determinism, cost that scales with turns, and tool calls with real side effects
- The landscape honestly mapped: raw provider APIs, LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google's Agent Development Kit (ADK), and why this course builds from the API up before touching any of them
- How this course differs from no-code agent builders such as Copilot Studio or Gemini Enterprise Workflow Builder, and from using coding agents like Codex or Claude Code: here you write the agent itself in Python
- Environment setup: Python 3.11 or newer, uv or venv, API keys held in environment variables, a git repository, and a cost cap set on every provider account before the first call
- Choosing your capstone problem: a real task from your job, your research or your product, scoped so success is measurable

**Projects:**

- Write a one-page agent design brief for your capstone: the task, the tools it needs, what a wrong action costs, and the metric that will decide whether it works

**Practice:** Take three AI products you use and classify each one as a workflow, an agent or a hybrid, with the evidence.

**Assessment:** Given five task descriptions, decide which need an agent, which need a workflow and which need a single prompt, and defend each in two sentences.

### Week 2

#### Class 2: LLM APIs Without a Framework: Messages, Tokens, Streaming and Cost

**Topics:**

- The message-based API shape shared across providers: system instructions, user and assistant turns, and why the model is stateless between calls
- Calling OpenAI, Anthropic and Google models directly from Python with their official SDKs, and writing a thin provider-neutral wrapper of your own
- Tokens as the unit of cost and latency: input versus output pricing, context window limits, and counting tokens before you send
- Sampling parameters that matter for agents: temperature, max output tokens, stop conditions, and why low temperature does not make a model deterministic
- Streaming responses, handling rate limits with exponential backoff and jitter, timeouts, and retries that are safe to repeat
- Prompt caching and its effect on the cost of long agent loops that resend the same system prompt and tool list every turn
- Logging every request and response with token counts from day one, because you cannot debug or cost an agent you did not record

**Projects:**

- Build llm_client.py: a provider-neutral client with streaming, retries, timeouts, token and cost accounting per call, and a JSONL request log

**Practice:** Send the same 20 prompts to two providers and compare latency, output tokens and cost from your own log.

**Assessment:** Explain from your log why one call cost three times another with the same user message.

### Week 3

#### Class 3: Tool Calling from First Principles

**Topics:**

- How tool calling works under the hood: you describe functions with JSON Schema, the model returns a structured request to call one, your code executes it and sends the result back
- Writing tool descriptions the model can actually use: names, argument descriptions, enums, examples and the cost of every extra token in a tool list
- Parallel tool calls, forced tool choice, and letting the model decide when no tool is needed
- Validating tool arguments with Pydantic before execution, and returning errors to the model as useful observations rather than crashing
- Toolformer (Schick et al., 2023) as the research background for models that learned when to call tools
- Designing the tool surface: few, well-named, composable tools beat many overlapping ones; read-only tools first, write tools later and gated
- Side effects and idempotency: what happens when the model calls send_email twice

**Projects:**

- Build three real tools for your capstone domain (for example a search, a database lookup and a calculator or code runner), each with a schema, validation and error messages written for the model

**Practice:** Deliberately break each tool (bad arguments, timeouts, empty results) and record how the model recovers.

**Assessment:** Rewrite a poorly described tool so the model picks it correctly in at least 9 of 10 test prompts.

### Week 4

#### Class 4: The Agent Loop, Built by Hand

**Topics:**

- The core loop in about 60 lines of Python: call the model, execute requested tools, append observations, repeat until a final answer or a stop condition
- ReAct (Yao et al., 2022): interleaving reasoning and acting, and how modern native tool calling relates to the original prompt format
- Stop conditions that protect you: maximum turns, token budget, wall-clock limits, and a cost ceiling per run
- Conversation state as a list you own: what goes in, what gets trimmed, and how to keep tool results from flooding the context
- Error handling inside the loop: tool failures, malformed calls, refusals and provider outages
- Tracing each step (prompt, tool call, observation, tokens, latency) into a structured run record you can replay
- Reading a transcript like a debugger: finding the exact turn where the agent went wrong

**Projects:**

- Ship mini_agent.py: a framework-free agent loop running your Class 3 tools, with budgets, error handling and a replayable trace for every run

**Practice:** Run your agent on 15 tasks and label each transcript as success, partial or failure, with the turn where things diverged.

**Assessment:** Live code review: walk the mentor through your loop and handle two injected failures without restarting.

### Week 5

#### Class 5: Structured Outputs and Reliable Parsing

**Topics:**

- Why free text breaks agents: downstream code needs fields, not prose
- Native structured output modes (JSON Schema constrained responses) across providers, and their documented limits on schema features
- Pydantic models as the single source of truth for output schemas, validation and retries on validation failure
- Designing schemas the model fills well: flat over deeply nested, enums over free strings, explicit null handling, and a reasoning field placed before the answer field when it helps
- Extraction, classification and routing as structured-output tasks that often replace an agent entirely
- When structured output fails: truncation, refusals, and schema drift between model versions

**Projects:**

- Build a structured triage step that classifies incoming capstone inputs and routes them, validated by Pydantic, with a measured accuracy on 50 labelled examples

**Practice:** Convert one free-text step of your agent into structured output and measure how many downstream errors disappear.

**Assessment:** Design a schema for a messy real-world document type and justify every field and constraint.

### Week 6

#### Class 6: Phase 1 Gate: Prompts as Code and a First Working Agent

**Topics:**

- System prompts as versioned code: role, task, constraints, tool-use policy, output format and refusal behaviour
- Few-shot examples inside agent prompts and their token cost over many turns
- Prompt regression: a small fixed test set you rerun on every prompt change
- Comparing two models on your own task rather than trusting public leaderboards
- Packaging the agent as an importable module with a CLI entry point and configuration in one place
- Gate review: everything from Classes 1 to 5 mixed into one build

**Projects:**

- Capstone v0: your first end-to-end agent on your real task, with tools, structured outputs, budgets, a trace per run and a 20-case regression set

**Practice:** Run the regression set against two models and two prompt versions and table the results.

**Assessment:** Phase gate: a live build-and-explain session plus a written check on tool calling, loops and structured outputs.

## Phase 2: MCP, Retrieval, Memory and Planning

Build MCP servers and clients against the current specification, add agentic retrieval and memory, use planning and verification, and learn when multiple agents help and when they hurt.

### Week 7

#### Class 7: Model Context Protocol: Building MCP Servers

**Topics:**

- What MCP standardises: a client-server protocol over JSON-RPC that exposes tools, resources and prompts to any compatible host
- The current specification revision, 2026-07-28, and what changed from 2025-11-25: protocol-level sessions and the initialize handshake removed, protocol version and client capabilities carried on every request, and a new server/discover method
- Transports: stdio for local servers and Streamable HTTP for remote ones
- Building a server in Python with the official MCP SDK: typed tools, resources and prompts with clear descriptions
- Explicit server-minted handles passed as tool arguments, now the specification's answer for servers that need state across calls
- Testing a server with the MCP Inspector and from a real host application

**Projects:**

- Wrap your capstone tools as an MCP server with at least three tools and one resource, tested in the MCP Inspector and in an MCP-capable host

**Practice:** Read the 2026-07-28 changelog and list which of its changes affect your server and why.

**Assessment:** Explain, with your own server as the example, what a host, a client and a server each do in MCP.

### Week 8

#### Class 8: MCP Clients, Authorization and Tool Security

**Topics:**

- Writing an MCP client so your own agent loop can discover and call tools from any server
- Authorization for remote servers: the OAuth-based flow in the specification, and the 2026-07-28 requirement that clients validate the iss parameter to prevent mix-up attacks
- The security reality of third-party servers: tool descriptions are untrusted input, tool poisoning, over-broad permissions and credentials in the wrong place
- Least privilege per server, allow-lists of tools, and human confirmation for destructive actions
- Agent2Agent (A2A), now hosted by the Linux Foundation, as the complementary protocol for agent-to-agent delegation, and when you need it versus plain MCP
- Version and capability negotiation, and what to do when a server speaks an older revision

**Projects:**

- Connect your hand-built agent loop to your own MCP server and one public server through a client you wrote, with a tool allow-list and confirmation on any write action

**Practice:** Audit one public MCP server: what it can read, what it can change, and what you would restrict before using it at work.

**Assessment:** Threat-model your MCP setup and present the three highest risks with mitigations.

### Week 9

#### Class 9: Retrieval for Agents: Agentic RAG

**Topics:**

- Retrieval-Augmented Generation (Lewis et al., 2020) and why agents use retrieval as a tool rather than a fixed pre-step
- Chunking strategies, embeddings and vector search, plus keyword (BM25) and hybrid retrieval with reranking
- Choosing a store for your scale: pgvector in Postgres, a local library such as FAISS, or a managed vector database, with the trade-offs stated plainly
- Lost in the Middle (Liu et al., 2023): long contexts are not read evenly, so fewer, better chunks often beat more
- Query rewriting, multi-hop retrieval and letting the agent decide when it has enough evidence
- Citations and grounding checks: every claim traceable to a retrieved passage
- Measuring retrieval separately from generation: recall at k on a labelled question set

**Projects:**

- Add a retrieval tool over your own documents (your codebase, papers, product docs or notes) with hybrid search, reranking and cited answers

**Practice:** Build a 30-question labelled set and measure recall at 5 before and after one retrieval change.

**Assessment:** Diagnose three wrong answers as a retrieval failure or a generation failure, with evidence.

### Week 10

#### Class 10: Memory and Context Engineering

**Topics:**

- Context engineering: deciding exactly what the model sees each turn, because the context window is the agent's only working memory
- Short-term memory: trimming, summarising and compacting long transcripts without losing the facts that matter
- Long-term memory: storing user preferences, task facts and past outcomes, retrieved by relevance rather than replayed in full
- Scratchpads and notes files the agent writes and rereads on long tasks
- Memory as a liability: stale facts, wrong facts that persist, privacy, and giving users a way to inspect and delete what is stored
- Measuring the effect of memory on task success and cost, not just on how impressive the demo feels

**Projects:**

- Give your capstone agent session compaction and a long-term memory store, with an inspect and forget command

**Practice:** Run a long multi-session task with and without memory and compare success, tokens and cost.

**Assessment:** Explain which facts your agent should remember, which it should forget, and who decides.

### Week 11

#### Class 11: Planning, Reflection and Self-Correction

**Topics:**

- Plan-then-execute versus interleaved reasoning, and when an explicit plan helps
- Reflexion (Shinn et al., 2023): verbal self-feedback across attempts, and its limits when the model cannot judge its own output
- Tree of Thoughts (Yao et al., 2023) as a search over reasoning paths, and the cost it adds
- The evaluator-optimiser pattern: a separate check (tests, a validator, a rubric) driving revision
- Using reasoning models and extended thinking settings, and paying for them only where the task needs it
- Verifiers you can trust: code execution, unit tests, schema checks and retrieval checks beat a second opinion from the same model

**Projects:**

- Add a plan step and a verifier-driven retry to your capstone, and measure the change in success rate and cost per task

**Practice:** Find a task where reflection makes results worse and explain why.

**Assessment:** Compare three strategies on your eval set (single pass, plan-then-execute, verify-and-retry) in a table with success, latency and cost.

### Week 12

#### Class 12: Phase 2 Gate: Multi-Agent Systems, and When Not to Use Them

**Topics:**

- Patterns: orchestrator and workers, handoffs between specialists, parallel fan-out, and debate or review setups
- The honest trade-off: multiple agents multiply tokens and failure points, so a single agent with good tools is the default
- Context isolation as the real reason to split: subagents that explore and return a short summary keep the main context clean
- Passing state between agents: shared stores versus messages, and avoiding conflicting writes
- Debugging multi-agent runs with a single trace that spans every agent
- Gate review mixing MCP, retrieval, memory and planning

**Projects:**

- Build a two-agent version of part of your capstone (for example a researcher subagent and a writer) and compare it against your single-agent version on the same eval set

**Practice:** Write a one-page decision record on whether your capstone should stay single-agent, with numbers.

**Assessment:** Phase gate: live debugging of a broken multi-agent trace plus a written check on MCP, RAG, memory and planning.

## Phase 3: Frameworks, Evals and Observability

Compare LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google ADK on your own task, then build the eval harness, tracing and cost engineering that decide whether an agent is ready.

### Week 13

#### Class 13: LangGraph: Agents as Stateful Graphs

**Topics:**

- LangGraph's model: nodes, edges, typed state and conditional routing, and why explicit graphs suit workflows with known structure
- LangGraph 1.0 (October 2025) and its focus on durable execution: checkpointers, resuming after failure, and long-running runs
- Human-in-the-loop with interrupts: pausing for approval and resuming with edited state
- Rebuilding your hand-written loop as a graph and comparing what you gained and what you gave up
- Streaming intermediate steps to a user interface
- When the abstraction gets in the way and dropping back to plain Python is the right call

**Projects:**

- Port your capstone agent to LangGraph with a checkpointer and a human approval interrupt before any write action

**Practice:** Kill a run midway and resume it from the checkpoint.

**Assessment:** Compare your LangGraph and hand-built versions on the same eval set: success, latency, cost and lines of code.

### Week 14

#### Class 14: OpenAI Agents SDK and Claude Agent SDK

**Topics:**

- The OpenAI Agents SDK primitives: agents, tools, handoffs, guardrails, sessions and built-in tracing, on top of the Responses API
- The Claude Agent SDK: the agent harness behind Claude Code exposed as a Python and TypeScript library, with built-in file, shell and search tools, hooks, subagents and custom tools served over in-process MCP
- Permission modes and hooks in the Claude Agent SDK as a control layer for what an agent may do
- Where each SDK ties you to one provider and how to keep your tools portable through MCP
- Building the same small agent in both SDKs and reading their traces side by side
- Checking current behaviour against official docs, because both SDKs release often

**Projects:**

- Rebuild one capstone sub-task in both the OpenAI Agents SDK and the Claude Agent SDK, reusing your MCP server, and write a comparison note

**Practice:** List three things each SDK made easier and one thing each made harder than your hand-built loop.

**Assessment:** Pick the SDK you would ship your capstone on and defend the choice against the mentor's objections.

### Week 15

#### Class 15: Google ADK and Choosing a Framework

**Topics:**

- Google's Agent Development Kit (ADK): LLM agents, workflow agents (sequential, parallel and loop), tools and sessions, and its local developer UI
- Model choice inside ADK: Gemini by default, with other models available through its model integrations
- A2A support in ADK for exposing and calling remote agents
- A decision framework across all four options: control, portability, durability, observability, team skills and lock-in
- Framework-agnostic architecture: your tools behind MCP, your prompts and evals in your repository, the framework as a replaceable runtime
- Reading a framework's source code when its docs and your results disagree

**Projects:**

- Build one capstone sub-task in ADK and produce a four-way framework decision matrix for your own project

**Practice:** Run the same eval set across your hand-built, LangGraph, SDK and ADK versions where they exist.

**Assessment:** Present your framework decision for the capstone in five minutes with evidence, not preference.

### Week 16

#### Class 16: Evals: Measuring Whether an Agent Works

**Topics:**

- Why demos lie: an agent that succeeds on five hand-picked inputs can fail a third of real ones
- Building an eval set from real inputs, edge cases and past failures, with expected outcomes
- Grading methods: exact and programmatic checks first, rubric-based LLM-as-judge second, and checking the judge against human labels
- Trajectory evals: did the agent call the right tools in a sensible order, not just reach the right answer
- Running evals in CI so a prompt or model change cannot quietly regress
- Reporting with honesty: pass rates with sample sizes, variance across repeated runs, and cost per successful task

**Projects:**

- Build an eval harness for your capstone with at least 40 cases, programmatic and judged graders, trajectory checks and a single report command

**Practice:** Label 20 judge decisions by hand and measure how often your LLM judge agrees with you.

**Assessment:** Explain a regression your harness caught and how you fixed it.

### Week 17

#### Class 17: Tracing and Observability

**Topics:**

- Traces and spans for agents: one trace per run, spans for model calls, tool calls and retrieval
- The OpenTelemetry generative AI semantic conventions and why vendor-neutral telemetry matters
- Observability tools such as Langfuse, LangSmith and Arize Phoenix, and what each shows you
- Online metrics: success signals from users, tool error rates, turns per task, latency percentiles and cost per run
- Turning production traces into new eval cases: the loop that makes agents improve
- Privacy in traces: redacting personal data and secrets before they are stored

**Projects:**

- Instrument your capstone with OpenTelemetry-compatible tracing into an observability tool, with a dashboard of success, latency, cost and tool errors

**Practice:** Find the slowest and the most expensive run in your traces and explain both.

**Assessment:** From a set of traces, diagnose the top failure pattern and prove a fix with your eval harness.

### Week 18

#### Class 18: Phase 3 Gate: Cost and Latency Engineering

**Topics:**

- Where the money goes in an agent: repeated context, long tool outputs, retries and over-powered models
- Model routing: a small fast model for easy steps and a stronger one only where evals show it is needed
- Prompt caching, output length limits, tool-result truncation and batching for offline workloads
- Latency: parallel tool calls, streaming to the user, and removing turns rather than speeding them up
- Cost per successful task as the number that matters, not cost per call
- Gate review mixing frameworks, evals and observability

**Projects:**

- Cut the cost per successful task of your capstone by a measured amount without lowering its eval pass rate, and document every change

**Practice:** Build a cost model for your capstone at 100, 1,000 and 10,000 runs a day using your own measured token counts.

**Assessment:** Phase gate: present your before-and-after cost and latency report and answer questions on frameworks and evals.

## Phase 4: Safety, Deployment and Capstone

Guardrails, prompt-injection defence, deployment, reliability and human oversight, finishing with a shipped capstone agent defended with its eval suite.

### Week 19

#### Class 19: Guardrails and Safe Tool Use

**Topics:**

- Input and output guardrails: validation, policy checks and classifiers before and after the model
- Permissions for agents: least privilege, scoped credentials, read-only by default and approval for irreversible actions
- Sandboxing code execution and shell tools in containers or isolated environments
- The OWASP Top 10 for LLM Applications as a checklist, including excessive agency and sensitive information disclosure
- Rate limits, spend limits and kill switches for autonomous runs
- Logging decisions so a human can audit what the agent did and why

**Projects:**

- Add a guardrail layer to your capstone: input checks, output checks, sandboxed execution where relevant, and approval on every irreversible action

**Practice:** Write ten inputs designed to make your agent misbehave and record which guardrail stops each one.

**Assessment:** Walk the mentor through your permission model and justify every write capability the agent keeps.

### Week 20

#### Class 20: Prompt Injection and Adversarial Testing

**Topics:**

- Direct versus indirect prompt injection, from "Not what you've signed up for" (Greshake et al., 2023): instructions hidden in web pages, documents, emails and tool results
- Why no prompt fully solves injection, and the architectural defences that limit damage: separating untrusted data from instructions, restricting what an agent can do after reading untrusted content, and human confirmation
- Data exfiltration paths: links, images, tool arguments and outbound requests
- Red-teaming your own agent: an attack set built from your tools and data sources
- Treating MCP tool descriptions and retrieved documents as untrusted input
- Writing the security section of your capstone documentation

**Projects:**

- Build an injection test suite of at least 20 attacks against your capstone, fix what gets through, and add the suite to your eval harness

**Practice:** Plant an injection in a document your agent retrieves and trace exactly how far it gets.

**Assessment:** Present your capstone threat model and the residual risks you are accepting, with reasons.

### Week 21

#### Class 21: Deploying Agents: APIs, Queues and Long-Running Work

**Topics:**

- Serving an agent behind an API with FastAPI, with streaming responses to a client
- Long-running tasks: background workers, job queues, status endpoints and resumable runs
- Configuration, secrets management and separate keys per environment
- Containerising with Docker and deploying to a cloud platform of your choice
- Versioning prompts, tools and models together so a deployment is reproducible
- Rollouts: shadow runs, canary traffic and rollback when evals or live metrics drop

**Projects:**

- Deploy your capstone as a containerised service with an API, background execution for long tasks, tracing in production and a rollback plan

**Practice:** Run a load test with concurrent requests and record latency, errors and cost.

**Assessment:** Demonstrate a rollback from a deliberately bad prompt release.

### Week 22

#### Class 22: Production Reliability and Human Oversight

**Topics:**

- Graceful degradation when a provider is down: fallbacks to another model, cached answers, or an honest error
- Idempotent tools, retries without duplicate side effects, and recovery after partial runs
- Human-in-the-loop design: what to escalate, how to present it to a reviewer, and measuring reviewer load
- Feedback capture from users and turning it into eval cases
- Model upgrades: rerunning evals before switching versions, because behaviour shifts between releases
- Writing the runbook: what to check when the agent misbehaves at 2 a.m.

**Projects:**

- Add provider fallback, idempotent writes and a human escalation path to your capstone, and write its operations runbook

**Practice:** Simulate a provider outage and a malformed tool response in production and record the behaviour.

**Assessment:** Answer five incident scenarios from your runbook in real time.

### Week 23

#### Class 23: Capstone Build Sprint

**Topics:**

- Closing the gaps your evals, traces and threat model have exposed
- Final eval run with repeated trials and the numbers you will report
- Documentation: architecture diagram, tool inventory, security model, cost model and known limitations
- A clean repository: README, setup instructions, tests, eval command and example traces
- Preparing a demo that shows failures handled, not just successes
- Mentor review of code, evals and documentation before the defence

**Projects:**

- Capstone release candidate: deployed agent, eval suite, injection suite, cost report and full documentation in one repository

**Practice:** Have someone outside the course run your setup instructions from scratch and fix whatever blocks them.

**Assessment:** Pre-defence review: the mentor runs your eval suite and tries to break the deployed agent.

### Week 24

#### Class 24: Capstone Defence and Final Assessment

**Topics:**

- Live defence: architecture, design decisions and the alternatives you rejected
- Results: eval pass rates with sample sizes, cost per successful task, latency and known failure modes
- Security and oversight: threat model, guardrails, injection results and escalation design
- Framework choice and portability: what it would take to move your agent to another stack
- Next steps: what you would build with more time and what you would monitor first in production
- Written final assessment covering the whole course

**Projects:**

- Defend your shipped capstone agent with its eval suite, cost report and security model in a live session

**Practice:** Write a short public-facing case study of your capstone suitable for a portfolio or engineering blog.

**Assessment:** Capstone defence plus written final assessment; this decides the certificate, with a free retest after revision if needed.

## Prerequisites

**Programming:** Comfortable Python: functions, classes, virtual environments, pip or uv, reading tracebacks and using git. You do not need machine learning experience; you do need to be able to write and debug a few hundred lines of code

**Device:** A laptop or desktop (Windows, Mac or Linux) with Python 3.11 or newer. No GPU is needed: the course uses hosted model APIs, and running a small local model is optional

**Accounts:** API keys for at least one of OpenAI, Anthropic or Google AI, with a spending limit set. Your API usage is billed by the provider to you; the course shows you how to keep it small with caching, small models and budgets in code

**Background:** Basic familiarity with HTTP APIs and JSON. Some exposure to LLMs as a user helps. SQL and Docker basics help in later phases and are taught as needed

**Mindset:** Willingness to measure rather than trust a demo: you will write evals, read traces and report failure rates honestly

## Who Is This For

**Software Engineers:** Backend, full-stack and platform engineers asked to add agents to a product who want to understand the loop, the tools and the failure modes rather than copy a framework example

**Ml And Data Engineers:** ML and data engineers moving from model training or analytics into LLM applications, who want retrieval, evals and observability done properly

**College And Graduate Students:** Computer science and engineering students, and graduate students, who want a portfolio project that is deployed and measured, not a notebook demo

**Researchers:** Researchers who want agents for literature review, data pipelines or experiments, and need to know how reliable they are before trusting results. Your research question can be the capstone

**Founders And Technical Leads:** Technical founders and leads deciding whether to build an agent, which framework to bet on, and what it will cost per task

**Advanced Teens:** Strong programmers aged 16 or above may join after the free demo if they meet the Python prerequisites

## Career Paths After Completion

- AI engineer or applied AI engineer roles building LLM features, agents and retrieval systems into products
- Backend or platform engineer with agent infrastructure as a specialism: MCP servers, tool platforms, eval pipelines and observability
- Research engineer or research assistant using agents for literature review, data work and experiment automation, with evals to back the results
- Founding engineer at an early-stage company building agent products, with a shipped capstone as evidence
- A path into our deep learning and AI research engineering courses if you want to go below the API into training and evaluating models

## Course Guarantees

**One On One Only:** This course is taught 1-on-1 only: every class is a private session with a dedicated mentor, built around your codebase, your data and your capstone problem.

**Live Classes:** Live, interactive classes with a real engineer, never pre-recorded videos.

**Structured Curriculum:** A structured 24-class curriculum, from raw API calls to a deployed agent, with a real deliverable in every class.

**Doubt Support:** Doubt support between classes over WhatsApp, so a failing tool call or a broken trace never waits until the next class.

**Certificate:** A certificate you earn by passing the final assessment, with a free retest after revision if needed.

**Free Demo:** A free demo class before you enrol, so you can meet the mentor and judge the depth for yourself.

**Real Assessment:** Classwork every session, a task after every class, phase-gate reviews that mix in earlier topics, and a capstone defended live, plus a written assessment that decides the certificate: real knowledge and real work, with a free retest after revision if needed.

## Additional Learning Resources

**Total Projects Built:** 24 engineering deliverables, one per class, finishing with a deployed capstone agent, its eval suite, injection suite and cost report

**Projects Throughout Course:**

- Phase 1: an agent design brief, a provider-neutral LLM client with cost logging, a validated tool set, a hand-written agent loop with traces, a structured triage step and capstone v0 with a regression set
- Phase 2: an MCP server, an MCP client with tool allow-lists, an agentic retrieval tool with cited answers, session compaction and long-term memory, a verifier-driven planning step and a single versus multi-agent comparison
- Phase 3: the capstone ported to LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google ADK, a framework decision matrix, an eval harness, production tracing and a measured cost reduction
- Phase 4: a guardrail layer, a prompt-injection test suite, a containerised deployment with rollback, provider fallback and a runbook, and the capstone release and live defence
- Total: 24 engineering deliverables, one per class, finishing with a deployed capstone agent, its eval suite, injection suite and cost report

#### Weekly Structure

**Live Classes:** 24 private 1-on-1 classes, 1 hour each, scheduled to suit your time zone

**Hands On Build Work:** 2-3 hours of coding, testing and reading traces between classes

**Project Time:** 1-1.5 hours completing each class deliverable, usually on your own capstone

**Review And Doubts:** 30-60 minutes reviewing feedback and clearing doubts over WhatsApp before the next class

**Homework:** A task after every class, and a phase-gate review at the end of each phase that deliberately folds in earlier topics

#### Certification

**Completion:** Certificate from Modern Age Coders, awarded on passing the final assessment. Fall short and there is focused revision and a free retest: the certificate certifies real learning, not attendance

**Skills Mastered:**

- Direct use of OpenAI, Anthropic and Google model APIs with streaming, retries, caching and cost accounting
- Tool design with JSON Schema and Pydantic, and a hand-written agent loop with budgets and traces
- Structured outputs for extraction, classification and routing
- Model Context Protocol servers and clients on the 2026-07-28 specification, with authorization and tool security
- Agentic retrieval with hybrid search, reranking and citations, plus short- and long-term memory
- Planning, reflection and verifier-driven self-correction, and evidence-based multi-agent decisions
- LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google ADK, compared on your own task
- Eval harnesses with programmatic graders, LLM judges checked against humans, and trajectory evals
- OpenTelemetry-based tracing, cost per successful task and latency engineering
- Guardrails, sandboxing, prompt-injection defence, deployment, fallbacks and human oversight

#### Support Provided

**Dedicated Mentor:** The same mentor for all 24 classes, who knows your codebase, your capstone and your constraints

**Whatsapp Doubts:** Doubt support between classes over WhatsApp

**Code Review:** Line-by-line review of your agent code, evals and traces in class

**Session Recordings:** Class recordings available for revision, so a missed detail is never lost

**Mcp Specification:** https://modelcontextprotocol.io/specification/2026-07-28

**Langgraph Docs:** https://docs.langchain.com/oss/python/langgraph/overview

**Openai Agents Sdk Docs:** https://openai.github.io/openai-agents-python/

**Claude Agent Sdk Docs:** https://code.claude.com/docs/en/agent-sdk/overview

**Google Adk Docs:** https://google.github.io/adk-docs/

**React Paper:** https://arxiv.org/abs/2210.03629

## Why This Course

**The Gap:** Plenty of people can get an agent demo running from a framework quickstart. Far fewer can explain why it failed on a third of real inputs, what it costs per successful task, or what happens when a retrieved document tells it to email your data somewhere. This course teaches the engineering that answers those questions.

**From Scratch First:** You write the agent loop, the tool layer and the eval harness yourself before using any framework. After that, LangGraph and the SDKs stop being magic and become choices you can make on evidence.

**Always Current:** Agent tooling changes monthly: the MCP specification dropped sessions in its 2026-07-28 revision, and the major SDKs release often. The syllabus is checked against official docs and specifications as they change, which is why it is taught live and not recorded.

**One On One:** Good agent engineering depends on your data, your tools, your threat model and your budget. A private mentor reviews your actual code, traces and eval results every class and pushes where your work needs it. That is why this course is taught 1-on-1 only.

## Faqs

**Question:** Who is this agentic AI course for?

**Answer:** Software engineers, ML and data engineers, college and graduate students, researchers and technical founders who can already program in Python and want to build AI agents properly: tool calling, MCP, retrieval, memory, evals, security and deployment. Strong programmers aged 16 or above can join after the free demo if they meet the prerequisites.

**Question:** What do I need to know before starting?

**Answer:** Comfortable Python, git and basic HTTP and JSON. You do not need a machine learning background. If your Python is not there yet, the mentor will tell you honestly in the demo and suggest a course to take first.

**Question:** Do I need a GPU?

**Answer:** No. The course uses hosted model APIs from OpenAI, Anthropic and Google, so any modern laptop works. You pay your chosen provider directly for API usage, and the course teaches you to keep that small with budgets, caching and smaller models. Running a local model is optional.

**Question:** How is this different from your Copilot Studio and Gemini Enterprise courses?

**Answer:** Those courses teach no-code and low-code agent platforms inside Microsoft and Google enterprise products. This course is code-first and framework-agnostic: you write agents in Python from the raw API up, then compare LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google ADK on your own task.

**Question:** How is this different from the Codex and Claude Code course?

**Answer:** The Codex and Claude Code course teaches you to use AI coding agents to build software faster. This course teaches you to build agents yourself: the loop, the tools, the MCP servers, the evals and the guardrails.

**Question:** Is this course 1-on-1 only?

**Answer:** Yes. There are no group batches. Every class is a private session with the same mentor, built around your codebase, your data and your capstone.

**Question:** What will I have built by the end?

**Answer:** A deployed capstone agent on a problem you choose, with an MCP server, retrieval where it fits, an eval suite, a prompt-injection test suite, tracing and a cost report, plus a deliverable from every one of the 24 classes along the way.

**Question:** Which frameworks does the course cover?

**Answer:** You build without a framework first, then rebuild parts of your agent in LangGraph, the OpenAI Agents SDK, the Claude Agent SDK and Google's Agent Development Kit, and choose one for your capstone with a written decision matrix. MCP is taught against the current specification revision, 2026-07-28.

**Question:** Do I get a certificate?

**Answer:** Yes, a certificate from Modern Age Coders awarded on passing the final assessment, which includes the live capstone defence. If you fall short there is focused revision and a free retest.

**Question:** Can I start before I have a capstone idea, or use my own work project?

**Answer:** Both. Class 1 helps you choose a capstone, and many learners use a real task from their job, product or research. You keep full ownership of what you build; just check your employer's rules on using work data with external APIs.

**Question:** Can I watch how you teach before enrolling in this course?

**Answer:** Yes. Full recordings of real, unedited classes for ages 13 and up are free to watch: Free to watch. No payment, no card, just a quick Google sign-in. These recordings show how we teach, not the exact syllabus of this course. Some classes are in English and some in Hindi; everyone follows at their own pace. Watch a class end to end, like you are in it. Sessions are interactive and each moment builds on the last.

**Question:** Can I enroll without a live demo?

**Answer:** Yes. Choose a plan on this page and enrol directly. A demo is optional: if you would like to see a full class with a mentor first, book a Priority Demo, a live class of about 45 to 60 minutes. Questions: WhatsApp +91 91233 66161 or email connect@modernagecoders.com.

## Related Courses

- deep-learning-engineering-course
- ai-research-engineering-course
- ai-research-paper-reading-course

## Straight answers about this course

### Who should take this course?

Advanced · working engineers, college and graduate students, researchers; comfortable Python required. It suits backend, full-stack and platform engineers asked to add agents to a product who want to understand the loop, the tools and the failure modes rather than copy a framework example; ml and data engineers moving from model training or analytics into llm applications, who want retrieval, evals and observability done properly; computer science and engineering students, and graduate students, who want a portfolio project that is deployed and measured, not a notebook demo.

### What will they learn and build?

Most agent tutorials start with a framework and stop at a demo. This course starts with the raw model APIs and stops at a deployed agent with an eval suite, because that is the distance between a prototype and something you can put in front of users.

### How deeply are topics covered?

The course runs 24 live 1-on-1 classes, 1 hour each at One live hour per class plus 3-4 hours of build time between classes, across 4 phases listed week by week in the syllabus below. A structured 24-class curriculum, from raw API calls to a deployed agent, with a real deliverable in every class.

### Who teaches it?

Modern Age Coders mentors, who teach the live classes themselves. You can watch them at work in the free class recordings before you decide.

### How do practice, feedback and assessment work?

Classwork every session, a task after every class, phase-gate reviews that mix in earlier topics, and a capstone defended live, plus a written assessment that decides the certificate: real knowledge and real work, with a free retest after revision if needed. Doubt support between classes over WhatsApp, so a failing tool call or a broken trace never waits until the next class. A certificate you earn by passing the final assessment, with a free retest after revision if needed.

### What does it cost?

One plan, taught 1-on-1 only, billed per month of private classes. [The price is shown in your currency in the plans section](https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/#enroll). Monthly billing, cancel any time.

### When can classes take place?

Live classes are scheduled around your week: as a 1-on-1 student you choose your own slots with your mentor, and international students are scheduled in their own timezone. Ask on WhatsApp for the current availability.

### Can I watch the teaching before deciding?

Yes. [Full recordings of real 13 and up classes](https://modernagecoders.graphy.com/courses/How-We-Teach-The-Modern-Age-Coders-Methodology-6a1888029a4f81888c408ab9) are free to watch, free with a Google sign-in. These recordings show how we teach, not the exact syllabus of this course. Some classes are in English and some in Hindi; everyone follows at their own pace. Watch a class end to end, like you are in it. Sessions are interactive and each moment builds on the last.

### Can I enroll without a live demo?

Yes. Choose a plan on this page and enrol directly; a demo is not required. If you would like to see a full class with a mentor first, [book a Priority Demo](https://learn.modernagecoders.com/book-demo).

### How do I reach you with a question?

[WhatsApp +91 91233 66161](https://wa.me/919123366161?text=Hi%2C%20I%20have%20a%20question%20about%20the%20Agentic%20AI%20Engineering%3A%20Build%20AI%20Agents%20from%20Scratch%20course%20before%20enrolling.), email [connect@modernagecoders.com](mailto:connect@modernagecoders.com?subject=Question%20about%20Agentic%20AI%20Engineering%3A%20Build%20AI%20Agents%20from%20Scratch), or call +91 91233 66161. Tell us the student's age and what they have learned so far, and we will point you to the right plan and batch.

## Our promise

**The world's best learning experience, open to everyone.**

- **World-class instructors:** Every class is taught by an instructor who specialises in that exact field.
- **No compromise on quality:** Every lesson, project and piece of feedback is held to the highest standard.
- **Education for everyone:** Learners aged 6 to 67, from first-time beginners to working professionals, in 25+ countries.

If you want the highest quality, Modern Age Coders is the right choice.

## How enrolment works

1. **Pick a plan.** This course is taught 1-on-1 only: private live classes with your own mentor, about one hour each. Billing is monthly.
2. **Press Enrol and pay.** Fill in the student's name, email and phone, then pay securely: UPI, cards or net banking in India, or a debit or credit card from any other country.
3. **Fix your class timing.** After paying, WhatsApp or call +91 91233 66161 with the student's name and your preferred time. We confirm the batch or 1-on-1 slot and send the class link.
4. **Start learning.** Join your first live class at the time you chose. Your mentor takes it from there.

Want to see a class first? Book a Priority Demo: a live class of about 45 to 60 minutes with a mentor reserved for you. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Billing is monthly and you can cancel any time.

## Contact

- WhatsApp: +91 91233 66161 (https://wa.me/919123366161?text=Hi%2C%20I%20have%20a%20question%20about%20the%20Agentic%20AI%20Engineering%3A%20Build%20AI%20Agents%20from%20Scratch%20course%20before%20enrolling.)
- Email: connect@modernagecoders.com
- Phone: +91 91233 66161

---

## Enroll

- Enroll directly, no demo required (plans in your currency): https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/#enroll
- Book a Priority Demo, optional (a full live class with a mentor reserved for you): https://learn.modernagecoders.com/book-demo
- Course page: https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/
- All courses: https://learn.modernagecoders.com/courses

*Source: https://learn.modernagecoders.com/courses/agentic-ai-engineering-build-ai-agents-course/*
