AgentCore.Hosting 0.8.0

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 36 9/16/2026
0.7.1 83 9/11/2026
0.7.0 82 9/11/2026
0.6.0 90 9/10/2026
0.5.0 92 9/8/2026
0.4.0 96 9/8/2026
0.3.0 104 8/31/2026
0.2.0 98 8/30/2026
0.1.0 93 8/27/2026