AgentCore.AspNetCore 0.8.0

dotnet add package AgentCore.AspNetCore --version 0.8.0
                    
NuGet\Install-Package AgentCore.AspNetCore -Version 0.8.0
                    
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="AgentCore.AspNetCore" Version="0.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AgentCore.AspNetCore" Version="0.8.0" />
                    
Directory.Packages.props
<PackageReference Include="AgentCore.AspNetCore" />
                    
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 AgentCore.AspNetCore --version 0.8.0
                    
#r "nuget: AgentCore.AspNetCore, 0.8.0"
                    
#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 AgentCore.AspNetCore@0.8.0
                    
#: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=AgentCore.AspNetCore&version=0.8.0
                    
Install as a Cake Addin
#tool nuget:?package=AgentCore.AspNetCore&version=0.8.0
                    
Install as a Cake Tool

AgentCore

A .NET library for building voice and chat agents. The agent is a configuration document; the host is two calls.

1. Describe the agent

config/helper.yaml:

apiVersion: agentcore/v1
name: helper

agents:
  defaults:
    model: { ref: reply }
    instructions: |
      You are a helpful assistant. Answer plainly and briefly.
  items:
    - id: helper
      instructions: |
        Answer whatever the person asks.
      tools: []

policy:
  initial: talk
  stages:
    - id: talk
      agent: helper
      terminal: true

providers:
  llm:
    - { kind: openai, model: gpt-5.6-luna, as: reply }
  call: { kind: telnyx-relay }
  speech:
    stt: { kind: telnyx-relay }
    tts: { kind: telnyx-relay }

agents holds the instructions, policy holds the stages, providers binds the vendors. No C# changes to add a stage, a tool, or a model. config/example.yaml is the annotated tour of every key.

2. Wire up the host

using AgentCore.Hosting;

var builder = WebApplication.CreateBuilder(args);
builder.AddAgentCoreHost();

var app = builder.Build();
app.MapAgentCoreHost();
app.Run();

AddAgentCoreHost loads the document (config/example.yaml unless AgentCore__ConfigurationPath names another) and binds every vendor seam. MapAgentCoreHost serves the health check, the OpenAI-compatible Responses endpoint, and the call socket. A document it cannot find is a startup failure, never a silent default.

Install

dotnet add package AgentCore.Hosting

AgentCore.Hosting brings the rest of the set with it.

3. Talk to it

Over the OpenAI-compatible endpoint (/v1/responses), the document above holds this conversation:

User: Hello

Assistant: How can I help you today!

The packages

Package Holds
AgentCore.Domain Pure domain records. Zero dependencies.
AgentCore.Application Orchestration, configuration compilation, and every port interface.
AgentCore.Infrastructure Outbound adapters: OpenAI, Zilliz, Telnyx call control, Postgres, B2, Git.
AgentCore.AspNetCore Inbound adapters as Map* extensions: Telnyx Conversation Relay, Telnyx webhooks, Responses.
AgentCore.Hosting The batteries-included host: every vendor seam bound and every route mapped, in two calls.

They share one version and ship as a set. Mixing versions across them is unsupported.

Licence

MIT

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 (1)

Showing the top 1 NuGet packages that depend on AgentCore.AspNetCore:

Package Downloads
AgentCore.Hosting

The batteries-included host: every vendor seam bound and every route mapped, in two calls.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 0 9/16/2026
0.7.1 60 9/11/2026
0.7.0 64 9/11/2026
0.6.0 65 9/10/2026
0.5.0 99 9/8/2026
0.4.0 97 9/8/2026
0.3.0 111 8/31/2026
0.2.0 106 8/30/2026
0.1.0 109 8/27/2026