← All courses

// AIINFRA 300 · Semester 3

Agentic AI & the Model Context Protocol (MCP)

Building, Securing, and Orchestrating Production AI Agents with MCP

This course teaches learners to design, build, and deploy production-grade AI agents using leading provider APIs (OpenAI, Anthropic Claude, AWS Bedrock, Google Vertex, OpenRouter), code-first agent frameworks (LangGraph, CrewAI, OpenAI Agents SDK, Pydantic AI), and the Model Context Protocol (MCP) for standardized tool and context integration. Learners implement multi-agent orchestration, human-in-the-loop workflows, agent evaluation, observability, and guardrails while instrumenting cost, latency, and reliability across providers. The course culminates in a capstone deploying a secure, observable, multi-agent MCP-based system.

Contact hours54 hrs
Credit equivalent3-unit
PrerequisiteAIINFRA 202
Length16 weeks
01 / outcomes

Outcomes

Course objectives

  1. Build agents that call multiple LLM provider APIs (OpenAI, Claude, Bedrock, Vertex, OpenRouter) with cost, latency, and observability instrumentation
  2. Implement core agent patterns including tool calling, ReAct, planning, and memory/state management from first principles
  3. Construct production agents using code-first frameworks such as LangGraph, CrewAI, OpenAI Agents SDK, and Pydantic AI
  4. Design and deploy MCP servers exposing tools and resources with proper authentication and security controls
  5. Orchestrate multi-agent systems with handoffs, human-in-the-loop checkpoints, and evaluate agent performance using observability tooling

Student learning outcomes

  • Build and instrument agents that call OpenAI, Claude, Bedrock, Vertex, and OpenRouter for cost, latency, and reliability.
  • Implement tool calling, ReAct, planning, and memory/state management from first principles.
  • Construct production agents with LangGraph, CrewAI, the OpenAI Agents SDK, and Pydantic AI.
  • Design, secure, and deploy MCP servers that expose tools and resources with proper authentication.
  • Orchestrate multi-agent systems with handoffs and human-in-the-loop checkpoints, evaluated with observability tooling.
02 / schedule

16-week schedule

Wk 01
Agentic AI Foundations and the Provider Landscape
Introduces agentic AI concepts and surveys the provider landscape (OpenAI, Claude, Bedrock, Vertex, OpenRouter) that agents will call.
Wk 02
Tool Calling, ReAct, and Agent Planning Patterns
Covers core agent patterns including tool calling, the ReAct loop, and planning strategies from first principles.
Wk 03
Memory and State Management for Agents
Covers memory and state management techniques that let agents retain context across multi-step interactions.
Wk 04
OpenAI, Claude, and Multi-Provider API Integration
Covers integrating OpenAI and Anthropic Claude APIs into agents alongside multi-provider integration patterns.
Wk 05
AWS Bedrock, Google Vertex AI, and OpenRouter Routing
Covers integrating AWS Bedrock and Google Vertex AI and routing requests through OpenRouter.
Wk 06
Cost, Latency, and Observability Instrumentation
Covers instrumenting agent calls for cost, latency, and observability across providers.
Wk 07
Code-First Agent Frameworks I: LangGraph and Pydantic AI
Introduces building production agents with the code-first LangGraph and Pydantic AI frameworks.
Wk 08
Code-First Agent Frameworks II: CrewAI and OpenAI Agents SDK
Midterm week: covers CrewAI and the OpenAI Agents SDK alongside the course midterm assessment.
Midterm · covers Wks 1–7
Wk 09
MCP Architecture Deep Dive
Provides a deep dive into Model Context Protocol architecture for standardized tool and context integration.
Wk 10
Building MCP Servers: Tools and Resources
Covers building MCP servers that expose tools and resources to agent clients.
Wk 11
MCP Authentication and Tool/Agent Security
Covers MCP authentication mechanisms and security controls for tools and agents.
Wk 12
Multi-Agent Orchestration and Handoffs
Covers orchestrating multi-agent systems, including handoffs between cooperating agents.
Wk 13
Human-in-the-Loop Workflows and Emerging Standards (A2A, AGENTS.md)
Covers human-in-the-loop checkpoints alongside emerging agent standards such as A2A and AGENTS.md.
Wk 14
Agent Evaluation and Observability
Covers evaluating agent performance and instrumenting agents with observability tooling.
Wk 15
Agent Deployment and Guardrails Introduction
Covers deploying agents to production and introduces guardrails for safe agent behavior.
Wk 16
Capstone Project & Course Review
Final capstone week: students deploy a secure, observable, multi-agent MCP-based system and review the course.
Capstone
03 / tools

Tools & frameworks

Provider APIs
OpenAI APIAnthropic Claude APIAWS BedrockGoogle Vertex AIOpenRouter
Agent Frameworks
LangGraphCrewAIOpenAI Agents SDKPydantic AI
MCP Tooling
MCP Python SDKMCP TypeScript SDKMCP InspectorClaude Desktop/Code MCP integration
Languages/Runtimes
Python 3.11+Node.js/TypeScriptuv/pipnpm
Observability
LangSmithLangfuseOpenTelemetryHelicone
Cost/Latency Monitoring
provider usage dashboardstoken counting utilitiescustom logging middleware
Orchestration/Deployment
DockerGitHub ActionsFastAPIngrok/Cloudflare Tunnel
Security
OAuth 2.1environment-based secrets managementAPI key vaults
Dev Environment
VS CodeJupyterPostman/Insomniagit/GitHub

What this course trains you for

Software Developers$179,292 median
Computer Occupations, All Other$138,203 median

CA median wages, 2024–34 projections (EDD/OEWS). See the full labor-market dashboard on the program overview.