You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Community contribution: Squad.Agents.AI - .NET adapter for Microsoft Agent Framework #1205
Squad.Agents.AI is a .NET library that wraps the Squad CLI as a Microsoft.Agents.AI.AIAgent, so .NET apps using the Microsoft Agent Framework (MAF) can use Squad agents alongside other AI participants — workflows, Semantic Kernel chains, or other MAF agents — without shelling out or reimplementing the CLI protocol.
I'd like to contribute this as a community package. The work is done and I'm looking for your signal on whether you'd accept it upstream.
Why this matters
In #1144 I described the gap: when Squad is embedded in a host process (no REPL), the integration surface is manual. This adapter closes that gap for .NET consumers. It handles CLI lifecycle, streaming, session management, and keyed DI registration so the host just calls agent.RunAsync(activity, turnState) and gets structured responses.
What's in the PR
Squad.Agents.AI NuGet package targeting .NET 8 and .NET 9
43 tests, CI green on both ubuntu and windows
DI registration shapes: default services.AddSquadAgent(opts => ...), named via services.AddSquadAgent("agent-name", opts => ...) (binds to ConnectionStrings:squad-{name}), and Microsoft.Extensions.DependencyInjection keyed services via services.AddKeyedSquadAgent("key", opts => ...)
Activity
tamirdresher commentedon Jun 2, 2026
Companion PR opened — see linked PR above. Happy to adapt structure or placement based on your preference.