Aspeckd.Core
0.1.8
dotnet add package Aspeckd.Core --version 0.1.8
NuGet\Install-Package Aspeckd.Core -Version 0.1.8
<PackageReference Include="Aspeckd.Core" Version="0.1.8" />
<PackageVersion Include="Aspeckd.Core" Version="0.1.8" />
<PackageReference Include="Aspeckd.Core" />
paket add Aspeckd.Core --version 0.1.8
#r "nuget: Aspeckd.Core, 0.1.8"
#:package Aspeckd.Core@0.1.8
#addin nuget:?package=Aspeckd.Core&version=0.1.8
#tool nuget:?package=Aspeckd.Core&version=0.1.8
Aspeckd.Core
Core abstractions for aspeckd — the .NET library that surfaces agent-readable spec endpoints alongside your ASP.NET Core API.
Building an application, not a class library? You most likely want
Aspeckdinstead — it includes this package and the ASP.NET Core integration in one step.
When to use this package
Use Aspeckd.Core when you need the aspeckd attributes, models, or configuration types in a class library (or any project) that must not take a direct Microsoft.AspNetCore.App framework reference.
dotnet add package Aspeckd.Core
What's included
Companion attributes
Three attributes let you control how each endpoint appears in the agent spec:
[AgentDescription]
Provides an agent-focused description for an endpoint. Use it instead of (or alongside) WithSummary() / WithDescription().
[AgentDescription("Returns the current weather for the given city.")]
public IResult GetWeather(string city) { ... }
[AgentName]
Overrides the display name used for an endpoint in the spec index. When omitted, aspeckd auto-generates a name from the HTTP method and route template (e.g. GET /api/weather/{city}).
[AgentName("GetWeather")]
[AgentDescription("Returns the current weather for the given city.")]
public IResult GetWeather(string city) { ... }
[AgentExclude]
Suppresses an endpoint from the agent spec entirely. Useful for internal or administrative endpoints that agents should not discover.
[AgentExclude]
public IResult Ping() => Results.Ok();
AspeckdOptions
Configuration type used when registering the Aspeckd integration package. Can be referenced from any project that depends on Aspeckd.Core.
| Property | Type | Default | Description |
|---|---|---|---|
BasePath |
string |
"/agents" |
The route prefix under which all agent spec endpoints are served. |
Title |
string? |
null |
Title shown in the agent spec index. |
Description |
string? |
null |
Optional description shown at the top of the agent spec index. |
UseOpenApiMetadataFallback |
bool |
false |
When true, falls back to WithSummary() / WithDescription() / WithName() when aspeckd-specific attributes are absent. |
IAgentSpecProvider
Interface for a custom agent spec provider. Implement this if you need full control over how the spec is built (e.g. to aggregate specs from multiple services).
Links
- GitHub repository
- Full documentation & contributing guide
Aspeckdpackage — ASP.NET Core integration (most apps want this)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Aspeckd.Core:
| Package | Downloads |
|---|---|
|
Aspeckd
ASP.NET Core integration for Aspeckd. Registers the agent spec endpoints and discovers API metadata via IApiDescriptionGroupCollectionProvider. TFM-specific and Microsoft.OpenApi-version-specific logic lives here, keeping Aspeckd.Core evergreen. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.8 | 150 | 3/26/2026 |
| 0.0.0-alpha.0.19 | 54 | 3/26/2026 |
| 0.0.0-alpha.0.17 | 61 | 3/26/2026 |