StrandsAgents.Core 0.1.5

dotnet add package StrandsAgents.Core --version 0.1.5
                    
NuGet\Install-Package StrandsAgents.Core -Version 0.1.5
                    
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.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StrandsAgents.Core" Version="0.1.5" />
                    
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.5
                    
#r "nuget: StrandsAgents.Core, 0.1.5"
                    
#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.5
                    
#: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.5
                    
Install as a Cake Addin
#tool nuget:?package=StrandsAgents.Core&version=0.1.5
                    
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
Strands.Core

Deprecated. This package has been renamed to StrandsAgents.Core. Please update your PackageReference. The old name will stop receiving updates after November 2025.

StrandsAgents.Tools

Built-in tools for Strands Agents .NET agents — HTTP requests, file operations, MCP server integration, and more. Drop-in tools for common agentic tasks.

StrandsAgents.Models.Bedrock

Amazon Bedrock model provider for Strands Agents .NET. Use Claude, Nova, Llama and other Bedrock models with the Strands agent framework. Includes retry, streaming, and structured output support.

StrandsAgents.Extensions.DI

Microsoft.Extensions.DependencyInjection integration for Strands Agents .NET. Register agents, models, and tools with AddBedrockModel() and AddStrandsAgent() for use in ASP.NET, Worker Services, Lambda, and any .NET host.

StrandsAgents.MultiAgent

Multi-agent orchestration for Strands Agents .NET. Graph-based pipelines, agent-as-tool composition, parallel execution, and A2A protocol support for cross-framework agent networks.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.5 45 5/9/2026
0.1.4 65 5/9/2026