StrandsAgents.Core 0.1.11

dotnet add package StrandsAgents.Core --version 0.1.11
                    
NuGet\Install-Package StrandsAgents.Core -Version 0.1.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StrandsAgents.Core" Version="0.1.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StrandsAgents.Core" Version="0.1.11" />
                    
Directory.Packages.props
<PackageReference Include="StrandsAgents.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StrandsAgents.Core --version 0.1.11
                    
#r "nuget: StrandsAgents.Core, 0.1.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StrandsAgents.Core@0.1.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StrandsAgents.Core&version=0.1.11
                    
Install as a Cake Addin
#tool nuget:?package=StrandsAgents.Core&version=0.1.11
                    
Install as a Cake Tool

StrandsAgents.Core

The Strands Agents framework for .NET — model-driven agentic AI built natively in C# 13.

dotnet add package StrandsAgents.Core
dotnet add package StrandsAgents.Models.Bedrock
dotnet add package StrandsAgents.SourceGenerator

Decorate any method with [Tool] — the source generator emits a compile-time ITool wrapper at build time:

using StrandsAgents.Core;
using StrandsAgents.Models.Bedrock;

// Define a tool
public class WeatherTools
{
    [Tool("Returns the current weather for a city")]
    public string GetWeather(string city) => $"Sunny, 22°C in {city}";
}

// Wire up the agent — WeatherTools_GetWeather_Tool is generated at compile time
var agent = new Agent(
    model: new BedrockModel("us-east-1"),
    systemPrompt: "You are a helpful assistant.",
    tools: [new WeatherTools_GetWeather_Tool(new WeatherTools())]
);

// Single invocation
var result = await agent.InvokeAsync("What's the weather in London?");
Console.WriteLine(result.Message);

// Streaming
await foreach (var evt in agent.StreamAsync("Explain recursion"))
    if (evt is TextDeltaEvent delta)
        Console.Write(delta.Delta);

Full documentation and samples: github.com/apncodes/strands.net

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on StrandsAgents.Core:

Package Downloads
StrandsAgents.Tools

Built-in tools for Strands Agents .NET — HTTP request, file read/write, calculator, and MCP (Model Context Protocol) tool provider for connecting any MCP server via stdio or SSE.

StrandsAgents.Models.Bedrock

Amazon Bedrock model provider for Strands Agents .NET — Converse and ConverseStream API, cross-region inference profiles, Guardrails, and all Bedrock-hosted model families including Claude, Nova, and Llama.

StrandsAgents.Runtime

Amazon Bedrock AgentCore Runtime hosting for Strands Agents .NET — MapAgentCoreEndpoints(), managed Memory, Code Interpreter, Browser, and Gateway tool integrations. Your agent code is unchanged.

StrandsAgents.Extensions.DI

ASP.NET Core and Worker Service DI extensions for Strands Agents .NET — AddBedrockModel(), AddStrandsAgent(), AddStrandsToolProvider<T>(), session management, and Lambda hosting wiring.

StrandsAgents.MultiAgent

Multi-agent orchestration for Strands Agents .NET — pipeline, parallel fan-out, graph with conditional routing, agent-as-tool, and A2A protocol for cross-process cross-language agent communication.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.11 144 5/20/2026
0.1.10 185 5/15/2026
0.1.9 140 5/15/2026
0.1.8 217 5/14/2026
0.1.7 143 5/12/2026
0.1.6 144 5/12/2026
0.1.5 239 5/9/2026
0.1.4 223 5/9/2026