Nabs.Launchpad.Core.Ai 10.0.228

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nabs.Launchpad.Core.Ai --version 10.0.228
                    
NuGet\Install-Package Nabs.Launchpad.Core.Ai -Version 10.0.228
                    
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="Nabs.Launchpad.Core.Ai" Version="10.0.228" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.Ai" Version="10.0.228" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.Ai" />
                    
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 Nabs.Launchpad.Core.Ai --version 10.0.228
                    
#r "nuget: Nabs.Launchpad.Core.Ai, 10.0.228"
                    
#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 Nabs.Launchpad.Core.Ai@10.0.228
                    
#: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=Nabs.Launchpad.Core.Ai&version=10.0.228
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.Ai&version=10.0.228
                    
Install as a Cake Tool

Nabs.Launchpad.Core.Ai

Core abstractions for building agent-based AI workflows in Launchpad. This package provides definitions for agents, skills, dependency contracts, orchestration metadata, menu command contracts, and a factory extension for creating AIAgent instances from IChatClient implementations.

Purpose

Use this package when you want to:

  • Define reusable cohort agent metadata (CohortAgentDefinition, CohortProducerDefinition<T>, CohortReviewerDefinition)
  • Define orchestration-level dependency and output contracts (CohortOrchestratorAgentDefinition)
  • Validate required artefacts before and after agent workflow execution
  • Create AIAgent instances consistently via IAIClientFactory

Installation

dotnet add package Nabs.Launchpad.Core.Ai

Quick Start

1) Define an agent

using Microsoft.Agents.AI;
using Nabs.Launchpad.Core.Ai;

public sealed class StoryProducerDefinition : CohortProducerDefinition<StoryOutput>
{
    public StoryProducerDefinition()
    {
        AgentName = "Story Producer";
        Instructions = "Generate a short story with title and summary.";
        DeploymentName = "gpt-4.1-mini";
    }

    public override AIFunction[] GetTools() => [];
}

public sealed class StoryOutput
{
    public required string Title { get; init; }
    public required string Summary { get; init; }
}

2) Create an agent instance from a client factory

using Nabs.Launchpad.Core.Ai;

IAIClientFactory clientFactory = GetClientFactory();
var definition = new StoryProducerDefinition();

var agent = clientFactory.CreateAgent(definition);

When ResponseOutputType is configured (for example via CohortProducerDefinition<TResponseType>), the created agent uses a structured JSON response format.

API Overview

Agent definitions

  • CohortAgentDefinition - Base class for agent name, instructions, deployment name, tools, and optional structured output type.
  • CohortProducerDefinition<TResponseType> - Producer agent base type that enables structured output using TResponseType.
  • CohortReviewerDefinition - Reviewer agent base type.
  • CohortSkillDefinition - Record for skill metadata (label, instruction resources, maturity resources, ordering).

Orchestration definitions

  • CohortOrchestratorAgentDefinition - Defines orchestrator metadata, sub-agent definitions, dependency requirements, and output requirements.
  • CohortDependencyDefinition / CohortOutputDefinition - File pattern + cardinality contract entries.
  • CohortDependencyCardinality - Supported cardinalities: ExactlyOne, AtLeastOne, ZeroOrOne.

Dependency resolution

  • ResolveDependencies(string artefactLocation) validates required input artefacts and returns CohortDependencyResolution.
  • ValidateOutputs(string artefactLocation) validates expected output artefacts.
  • CohortDependencyResolutionException contains detailed validation errors.
  • CohortDependencyResolution provides helpers such as GetRequiredSinglePath and GetOptionalSinglePath.

AI client abstraction

  • IAIClientFactory exposes GetChatClient(string modelName).
  • IAIClientFactoryExtensions.CreateAgent(...) creates AIAgent instances with shared configuration behavior.

Additional contracts

  • IArtefact for named artefact descriptors.
  • ITextStreamSink for async streaming text output sinks.
  • IMenuCommand + generic variants for menu-driven command execution contracts returning Ardalis.Result.

Advanced Usage

Define dependency and output contracts for an orchestrator

using Nabs.Launchpad.Core.Ai;

public sealed class DocumentationOrchestratorDefinition : CohortOrchestratorAgentDefinition
{
    public DocumentationOrchestratorDefinition()
    {
        AgentName = "Documentation Orchestrator";
        Description = "Coordinates contributors for README generation.";

        AddSubAgentDefinitionType<StoryProducerDefinition>();

        AddDependency(
            key: "project-file",
            searchPattern: "*.csproj",
            cardinality: CohortDependencyCardinality.ExactlyOne,
            description: "project definition");

        AddOutput(
            key: "readme",
            searchPattern: "README.md",
            cardinality: CohortDependencyCardinality.ExactlyOne,
            description: "package readme");
    }
}

Target Framework

  • .NET 10

Dependencies

  • Microsoft.Agents.AI
  • Ardalis.Result
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 (2)

Showing the top 2 NuGet packages that depend on Nabs.Launchpad.Core.Ai:

Package Downloads
Nabs.Launchpad.Core.Ai.Clients

Package Description

Nabs.Launchpad.Core.Ai.Menu

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.234 0 5/31/2026
10.0.233 0 5/31/2026 10.0.233 is deprecated because it is no longer maintained.
10.0.232 40 5/30/2026 10.0.232 is deprecated because it is no longer maintained.
10.0.230 46 5/30/2026 10.0.230 is deprecated because it is no longer maintained.
10.0.229 40 5/30/2026 10.0.229 is deprecated because it is no longer maintained.
10.0.228 46 5/30/2026 10.0.228 is deprecated because it is no longer maintained.
10.0.226 105 4/26/2026 10.0.226 is deprecated because it is no longer maintained.
10.0.221 115 2/3/2026 10.0.221 is deprecated because it is no longer maintained.
10.0.220 114 1/14/2026 10.0.220 is deprecated because it is no longer maintained.
10.0.219 124 1/5/2026 10.0.219 is deprecated because it is no longer maintained.
10.0.218 118 1/4/2026 10.0.218 is deprecated because it is no longer maintained.
10.0.217 144 1/4/2026 10.0.217 is deprecated because it is no longer maintained.
10.0.216 160 1/4/2026 10.0.216 is deprecated because it is no longer maintained.
10.0.215 143 1/4/2026 10.0.215 is deprecated because it is no longer maintained.
10.0.214 140 1/1/2026 10.0.214 is deprecated because it is no longer maintained.
10.0.213 187 1/1/2026 10.0.213 is deprecated because it is no longer maintained.
10.0.212 140 1/1/2026 10.0.212 is deprecated because it is no longer maintained.
10.0.211 146 12/31/2025 10.0.211 is deprecated because it is no longer maintained.
10.0.210 143 12/30/2025 10.0.210 is deprecated because it is no longer maintained.
10.0.209 139 12/30/2025 10.0.209 is deprecated because it is no longer maintained.
Loading failed