Microsoft Agent Framework

Lessons are ordered. Start at the top and work your way down, one lesson at a time.

64 lessons 10 topics

Browse topics (10)

Agents

12 lessons
  1. 1 A Guide to OpenAI and Microsoft Agent Framework in .NET Updated 16 Feb 2026
  2. 2 Streaming vs. Non-Streaming with Microsoft Agent Framework in .NET Updated 16 Feb 2026
  3. 3 Response Types in the Microsoft Agent Framework Updated 16 Feb 2026
  4. 4 Message Types in the Microsoft Agent Framework Updated 16 Feb 2026
  5. 5 Producing Structured Output with Agents Updated 16 Feb 2026
  6. 6 MultiModels with Agents Updated 18 Feb 2026
  7. 7 Background Responses in the Microsoft Agent Framework Updated 18 Feb 2026
  8. 8 Observability with OpenTelemetry and .NET Aspire Updated 18 Feb 2026
  9. 9 Durable Agent Pipelines with Microsoft.Agents.AI.DurableTask Updated 10 May 2026
  10. 10 Handoff Orchestration Updated 10 May 2026
  11. 11 Agent Skills Updated 10 Jun 2026
  12. 12 Governing MCP Tool Calls in .NET with the Agent Governance Toolkit Updated 10 Jun 2026

Tools

3 lessons
  1. 13 Function Tools with Microsoft Agent Framework Updated 19 Feb 2026
  2. 14 Human-in-the-Loop Tool Approvals Updated 19 Feb 2026
  3. 15 Hosted MCP Tools with Microsoft Agent Framework Updated 20 Feb 2026

Converstation&Memory

3 lessons
  1. 16 Session Updated 23 Feb 2026
  2. 17 Context Providers Updated 23 Feb 2026
  3. 18 Local Session State Updated 23 Feb 2026

Middleware

8 lessons
  1. 19 Agent Middleware Updated 23 Feb 2026
  2. 20 Adding Middleware to Agents Updated 23 Feb 2026
  3. 21 Chat-Level Middleware Updated 23 Feb 2026
  4. 22 Agent vs Run Scope Updated 23 Feb 2026
  5. 23 Termination and Guardrails Updated 23 Feb 2026
  6. 24 Result Overrides Updated 23 Feb 2026
  7. 25 Exception Handling Updated 23 Feb 2026
  8. 26 Shared State Updated 23 Feb 2026

Workflows

7 lessons
  1. 27 Microsoft Agent Framework Workflows Overview Updated 25 Feb 2026
  2. 28 Microsoft Agent Framework Workflows: Executors Updated 25 Feb 2026
  3. 29 Microsoft Agent Framework Workflows: Edges Updated 25 Feb 2026
  4. 30 Microsoft Agent Framework Workflows: Events Updated 25 Feb 2026
  5. 31 Microsoft Agent Framework: Workflow Builder & Execution Updated 25 Feb 2026
  6. 32 Agents in Workflows Updated 25 Feb 2026
  7. 33 Human-in-the-Loop Workflows Updated 26 Feb 2026

Microsoft.Extensions.AI

20 lessons
  1. 34 IChatClient: GetResponseAsync Updated 27 Feb 2026
  2. 35 IEmbeddingGenerator: Semantic Similarity Search Updated 27 Feb 2026
  3. 36 IChatClient: GetStreamingResponseAsync Updated 27 Feb 2026
  4. 37 IChatClient: Tool Calling Updated 27 Feb 2026
  5. 38 IChatClient: ChatOptions Updated 27 Feb 2026
  6. 39 IChatClient: Cache Responses Updated 27 Feb 2026
  7. 40 IChatClient: Custom Middleware Updated 27 Feb 2026
  8. 41 IChatClient: Functionality Pipelines Updated 27 Feb 2026
  9. 42 IEmbeddingGenerator: Basic Embedding Generation Updated 27 Feb 2026
  10. 43 IEmbeddingGenerator: Caching Pipeline Updated 27 Feb 2026
  11. 44 IEmbeddingGenerator: Custom Middleware Updated 27 Feb 2026
  12. 45 Function Calling with Microsoft.Extensions.AI Updated 28 Feb 2026
  13. 46 Accessing Data in AI Functions Updated 28 Feb 2026
  14. 47 Handle Invalid Tool Input from AI Models Updated 01 Mar 2026
  15. 48 Text-to-Image Generation with IImageGenerator Updated 01 Mar 2026
  16. 49 Text Tokenization with Microsoft.ML.Tokenizers Updated 01 Mar 2026
  17. 50 Calling Tools with MCP (Model Context Protocol) Updated 12 Jul 2026
  18. 51 Reducing Chat History with UseChatReducer Updated 12 Jul 2026
  19. 52 Getting Structured Output from a Chat Model Updated 12 Jul 2026
  20. 53 Hybrid Search in .NET with SQL Server: Combining Vector and Keyword Search Using Reciprocal Rank Fusion (RRF) Updated 12 Jul 2026

Generative AI ( Chapter-1 )

4 lessons
  1. 54 What Is Generative AI Updated 14 Apr 2026
  2. 55 Understanding Tokens in LLMs Updated 14 Apr 2026
  3. 56 Context Window: The LLM's Working Memory Updated 14 Apr 2026
  4. 57 Temperature – What Is It? Updated 14 Apr 2026

Concept ( Chapter-2)

5 lessons
  1. 58 How LLMs Work: From Raw Text to Predictive Generation & Training Updated 20 Apr 2026
  2. 59 Vector Databases Updated 20 Apr 2026
  3. 60 What Are AI Agents? Reasoning, Tools, and Context Updated 20 Apr 2026
  4. 61 What Are Workflows? From Idea to Goal in Agentic Systems Updated 20 Apr 2026
  5. 62 Embeddings: The Language of Meaning for LLMs Updated 20 Apr 2026

DAP

1 lesson
  1. 63 Data API Builder with SQL Server Updated 06 May 2026

ef-core

1 lesson
  1. 64 Vector Search with EF Core and SQL Server 2025: A Practical Guide Updated 10 May 2026