Aspeckd.Core 0.1.8

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

Aspeckd.Core

Core abstractions for aspeckd — the .NET library that surfaces agent-readable spec endpoints alongside your ASP.NET Core API.

NuGet CI

Building an application, not a class library? You most likely want Aspeckd instead — 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).


Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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