GitHub - aws/aws-dotnet-ai: Amazon Bedrock AgentCore for .NET is a .NET library for building AI agents that deploy to Amazon Bedrock AgentCore · GitHub
Skip to content

aws/aws-dotnet-ai

AI Integrations on AWS for .NET

build status

Developer Preview — This project is in early preview and under active development. APIs may change between releases. Not recommended for production use.

This repository contains .NET libraries for building AI agents on AWS. Built on top of Microsoft Agent Framework and Amazon Bedrock AgentCore, these packages provide a zero-friction path from local development to production deployment.

Packages

Package NuGet Description
AWS.AgentCore.Hosting nuget Build AI agents that deploy to Amazon Bedrock AgentCore. Provides endpoint mapping, streaming, memory, middleware, NativeAOT support, and a source generator for zero-boilerplate development.
AWS.AgentCore.Testing nuget Local development and testing emulators. Includes a Runtime Emulator, Memory Emulator, and Chat App UI — no AWS account required.

Quick Start

dotnet new web -n MyAgent
cd MyAgent
dotnet add package AWS.AgentCore.Hosting

See the AWS.AgentCore.Hosting README for complete getting-started instructions and code samples.

Sample Applications

Sample Description
AnnotationsSample Source generator with DI, tools, custom ping
StreamingAgent SSE streaming with extension methods
MicrosoftAgentFrameworkSample Agent + function middleware, multiple tools
NativeAotAnnotations NativeAOT with source generator
NativeAotExtensions NativeAOT with extension methods
RemoteMcpAgent MCP tool provider integration
AspireAppHost Local dev experience with Aspire

Getting Help

For feature requests or issues using this library please open an issue in this repository.

Contributing

We welcome community contributions and pull requests. See CONTRIBUTING.md for information on how to submit code.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

About

Amazon Bedrock AgentCore for .NET is a .NET library for building AI agents that deploy to Amazon Bedrock AgentCore

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors