AI Agents are rapidly moving from side projects to an integral part of modern application architecture. Building AI Agents in .NET teaches you to develop effective, reliable, and enterprise-ready AI agents using Microsoft Agent Framework. You’ll learn how to design and deliver agents that are testable, observable, and deployable inside existing systems, scaling from local prototypes to production. Working with hands-on code, you’ll define agents, attach tools and memory providers, and orchestrate interactions, all integrated with dependency injection, logging, and middleware.
You’ll work to assemble Robby, a robot car assistant, evolving it from a minimal agent, then deepening our understanding of chat clients and model providers. From there, you’ll build complete agents from scratch, extend them with tools, memory, and Model Context Protocol, and harden them with middleware, observability, and evaluation. Finally, you’ll put Robby into multi-agent scenarios using sequential, concurrent, collaborative, and hierarchical patterns, finishing with custom workflows for long-running, stateful journeys.