Draft · work in progress
Microsoft Agent Framework for .NET Engineers
Agents, tools, MCP, graph workflows, orchestration and observability on the 1.0 GA foundation. Written for engineers who have shipped ASP.NET Core services and are now being asked to put an agent into production.
This book will be wrong within a quarter, and it says so in the introduction. The framework ships on several release trains at once, and names have changed between preview and GA. Every listing transcribed from documentation rather than compiled carries a visible compile before you trust this marker, and the count is published on every build.
Pinned versions
The framework publishes roughly three dozen packages moving in separate release trains. A single version property does not work. This is the snapshot the book is written against.
| Microsoft.Agents.AI · .OpenAI · .Workflows | 1.10.0 stable |
| Workflows.Generators · Workflows.Declarative | 1.10.0 stable |
| Harness · Hyperlight · DurableTask · Foundry.Hosting | 1.6.2 preview |
| ModelContextProtocol | 1.4.0 stable |
| Microsoft.Agents.AI.AzureAI | 1.0.0-rc5 stranded |
Contents
Four parts, all twelve chapters and four appendices drafted — 236 pages. What remains is finishing rather than drafting: two specified experiments not yet run, the screenshots, and the listings still marked compile before you trust this.
I · Foundations
- 1The Landscape
- 2Your First Agent
- 3Tools, MCP and Skills
- 4Memory, Context and State
II · Workflows
- 5Executors and Edges
- 6Durability and Control
- 7Multi-Agent Orchestration
III · Production
- 8Middleware and Observability
- 9Evaluation
- 10Hosting, Durability and A2A
- 11The Agent Harness
IV · Capstone & appendices
- 12Capstone
- APackages and Versions
- BProvider Matrix
- CTroubleshooting
- DScreenshot Manifest
How it is built
The book is LaTeX. Nothing is hand-assembled, so a broken listing cannot reach a release.
Every push and pull request
Compiles the book, fails on unresolved cross-references, and publishes a summary listing the screenshots still outstanding and the listings not yet compiled against the SDK.
Every version tag
Builds the PDF and attaches it to a GitHub Release. Tag
v0.3.0, and the download link above points at it.
Build it yourself
latexmk -pdf main.tex. Optional font packages degrade
gracefully, so a minimal TeX installation is enough.
Corrections wanted
The framework moves faster than the book. If a listing no longer compiles, a package has moved train, or an API has been renamed again, that is worth an issue — it is the most useful contribution this project can receive.