---
title: "Discussion on \"Microsoft Agent Framework through Dependency Injection\" | Hashnode"
description: "Discussion on \"Microsoft Agent Framework through Dependency Injection\". Touchbased on how Dependency Injection can be used in Microsoft Agent Framework"
url: "https://hashnode.com/posts/microsoft-agent-framework-through-dependency-injection/69e6be1dc9501dd0104c1d48"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Microsoft Agent Framework through Dependency Injection](https://www.azureguru.net/microsoft-agent-framework-through-dependency-injection?utm_source=hashnode&utm_medium=feed)

Touchbased on how Dependency Injection can be used in Microsoft Agent Framework

Apr 21 · 7 min read · azureguru.net  
Updated Aug 4  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#microsoft-agent-framework](https://hashnode.com/tag/microsoft-agent-framework)
-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)

## Written by

[Sachin Nandanwar](https://hashnode.com/@SachinNandanwar)

@SachinNandanwar

  
[View profile](https://hashnode.com/@SachinNandanwar)

From Synapse Analytics, Power BI, Spark, Microsoft Fabric,ASP.NET Core and recently Agentic AI on .NET I try to explore, learn and share all aspects of Microsoft Data Stack in this blog.

## Responses 2

Markdown supported · ⌘↵ to post

[Ethan Frost](https://hashnode.com/@ethanfrost)

[Apr 22](https://hashnode.com/posts/microsoft-agent-framework-through-dependency-injection/69e6be1dc9501dd0104c1d48/comment/69e8e8fc5d1c1071056a41d3)

the MAF vs SK shift makes sense once you hit multi-session state. been running a similar pattern with Claude agents lately where CLAUDE.md + a project-level context layer handles the "kernel-like" plumbing outside the SDK — lets me swap the underlying model without touching tool definitions. scoped-vs-singleton call on the factory registration is also the right question to force teams to actually decide on memory boundaries. if anyone is starting from scratch on the agent tooling side, tokrepo.com/en has a solid set of CLAUDE.md templates worth stealing before rolling your own.
