AgentCore.Infrastructure
0.7.1
dotnet add package AgentCore.Infrastructure --version 0.7.1
NuGet\Install-Package AgentCore.Infrastructure -Version 0.7.1
<PackageReference Include="AgentCore.Infrastructure" Version="0.7.1" />
<PackageVersion Include="AgentCore.Infrastructure" Version="0.7.1" />
<PackageReference Include="AgentCore.Infrastructure" />
paket add AgentCore.Infrastructure --version 0.7.1
#r "nuget: AgentCore.Infrastructure, 0.7.1"
#:package AgentCore.Infrastructure@0.7.1
#addin nuget:?package=AgentCore.Infrastructure&version=0.7.1
#tool nuget:?package=AgentCore.Infrastructure&version=0.7.1
AgentCore
A .NET library for building voice and chat agents. You bring the host; AgentCore brings the turn loop, the vendor seams, and the configuration document that drives them.
Install
dotnet add package AgentCore.Hosting
AgentCore.Hosting brings the rest of the set with it.
Use
var builder = WebApplication.CreateBuilder(args);
builder.AddAgentCoreHost();
var app = builder.Build();
app.MapAgentCoreHost();
app.Run();
AgentCore reads config/example.yaml unless AgentCore__ConfigurationPath names another document.
A document it cannot find is a startup failure, never a silent default.
demo/AgentCore.Demo/config/example.yaml
is the annotated tour of every key.
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, chat completions. |
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.
The demo
demo/ holds a working host and a React
chat UI. Neither is published. It is how you watch the agent work, and the starting point you copy
when writing a UI of your own.
export OPENAI_API_KEY=sk-...
cd demo/AgentCore.Demo && dotnet run --launch-profile demo
The demo profile runs
config/demo.yaml,
the smallest document that holds a real conversation: it needs only an OpenAI key. The example
profile runs the annotated reference instead, which names tools and vendors this repository cannot
give you a key for, and will not start.
Node is required to build the demo's UI.
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.Application (>= 0.7.1)
- AWSSDK.S3 (>= 4.0.102)
- JsonLogic (>= 6.1.0)
- JsonPointer.Net (>= 7.0.2)
- JsonSchema.Net (>= 9.4.0)
- LibGit2Sharp (>= 0.32.0)
- Microsoft.Agents.AI (>= 1.17.0)
- Microsoft.Agents.AI.Workflows (>= 1.17.0)
- Microsoft.Extensions.AI (>= 10.8.3)
- Microsoft.Extensions.AI.Abstractions (>= 10.8.3)
- Microsoft.Extensions.AI.Evaluation (>= 10.8.0)
- Microsoft.Extensions.AI.Evaluation.Quality (>= 10.8.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.8.3)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.2)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.VectorData.Abstractions (>= 10.8.2)
- ModelContextProtocol.Core (>= 2.2.0)
- Npgsql (>= 10.0.3)
- OpenAI (>= 2.12.0)
- OpenTelemetry (>= 1.17.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.17.0)
- Qdrant.Client (>= 1.19.0)
- Stateless (>= 5.20.1)
- YamlDotNet (>= 18.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AgentCore.Infrastructure:
| 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.