![]() |
VOOZH | about |
dotnet add package StrandsAgents.MultiAgent --version 0.1.11
NuGet\Install-Package StrandsAgents.MultiAgent -Version 0.1.11
<PackageReference Include="StrandsAgents.MultiAgent" Version="0.1.11" />
<PackageVersion Include="StrandsAgents.MultiAgent" Version="0.1.11" />Directory.Packages.props
<PackageReference Include="StrandsAgents.MultiAgent" />Project file
paket add StrandsAgents.MultiAgent --version 0.1.11
#r "nuget: StrandsAgents.MultiAgent, 0.1.11"
#:package StrandsAgents.MultiAgent@0.1.11
#addin nuget:?package=StrandsAgents.MultiAgent&version=0.1.11Install as a Cake Addin
#tool nuget:?package=StrandsAgents.MultiAgent&version=0.1.11Install as a Cake Tool
Multi-agent orchestration for Strands Agents .NET.
dotnet add package StrandsAgents.MultiAgent
using StrandsAgents.MultiAgent;
// Sequential pipeline — each stage receives the previous output as its prompt
var pipeline = new PipelineOrchestrator([researchAgent, writerAgent, reviewerAgent]);
var result = await pipeline.InvokeAsync("Write a report on quantum computing");
// Parallel fan-out — Task.WhenAll over all agents
var results = await new ParallelOrchestrator([agent1, agent2, agent3])
.RunAsync("Analyse this from your specialist perspective");
// Swarm — dynamic agent-driven handoff chain with real-time event streaming
var swarm = new SwarmOrchestrator(
[
new SwarmAgentNode("researcher", researchAgent, "Gathers facts and sources"),
new SwarmAgentNode("writer", writerAgent, "Drafts the article"),
new SwarmAgentNode("editor", editorAgent, "Reviews and polishes"),
],
routingModel: model,
entryPoint: "researcher");
// RunAsync — returns SwarmResult when complete
var result = await swarm.RunAsync("Write an article about quantum computing");
// StreamAsync — IAsyncEnumerable<SwarmEvent> for real-time observation
await foreach (var evt in swarm.StreamAsync("Write an article about quantum computing"))
{
switch (evt)
{
case AgentStartedEvent e: Console.WriteLine($"[{e.Iteration}] {e.AgentId}"); break;
case AgentTextDeltaEvent e: Console.Write(e.Delta); break;
case HandoffEvent e: Console.WriteLine($"→ {e.ToAgentId}"); break;
case SwarmCompletedEvent e: Console.WriteLine($"Done: {e.Status}"); break;
}
}
// Graph routing — LLM decides the next node
var graph = new GraphBuilder()
.AddNode("triage", triageAgent)
.AddNode("billing", billingAgent)
.AddNode("technical", techAgent)
.AddConditionalEdge("triage", r => r.Message.Contains("billing") ? "billing" : "technical")
.Build();
// A2A — call a remote agent over HTTP (cross-framework, cross-language)
using var remote = new A2AAgent(new Uri("http://python-service/agent"));
var result = await remote.InvokeAsync("Research this topic");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on StrandsAgents.MultiAgent:
| Package | Downloads |
|---|---|
|
Strands.MultiAgent
Deprecated. This package has been renamed to StrandsAgents.MultiAgent. Please update your PackageReference. The old name will stop receiving updates after November 2025. |
This package is not used by any popular GitHub repositories.