AgentCore.Application
0.8.0
dotnet add package AgentCore.Application --version 0.8.0
NuGet\Install-Package AgentCore.Application -Version 0.8.0
<PackageReference Include="AgentCore.Application" Version="0.8.0" />
<PackageVersion Include="AgentCore.Application" Version="0.8.0" />
<PackageReference Include="AgentCore.Application" />
paket add AgentCore.Application --version 0.8.0
#r "nuget: AgentCore.Application, 0.8.0"
#:package AgentCore.Application@0.8.0
#addin nuget:?package=AgentCore.Application&version=0.8.0
#tool nuget:?package=AgentCore.Application&version=0.8.0
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 | Versions 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. |
-
net10.0
- AgentCore.Domain (>= 0.8.0)
- JsonLogic (>= 6.1.0)
- JsonPointer.Net (>= 7.0.2)
- JsonSchema.Net (>= 9.4.0)
- Microsoft.Agents.AI (>= 1.21.0)
- Microsoft.Agents.AI.Tools.Shell (>= 1.21.0-preview.260911.1)
- Microsoft.Agents.AI.Workflows (>= 1.21.0)
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.10.0)
- Microsoft.Extensions.AI.Evaluation (>= 10.10.0)
- Microsoft.Extensions.AI.Evaluation.Quality (>= 10.10.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.VectorData.Abstractions (>= 10.10.0)
- Stateless (>= 5.20.1)
- YamlDotNet (>= 18.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AgentCore.Application:
| Package | Downloads |
|---|---|
|
AgentCore.Infrastructure
Outbound adapters: OpenAI, Qdrant, Telnyx call control, Postgres, B2. |
|
|
AgentCore.AspNetCore
Inbound adapters as Map* extensions: Conversation Relay, webhooks, Responses. |
GitHub repositories
This package is not used by any popular GitHub repositories.