ControlAgentNet.Tools.Greeting 0.1.1

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

ControlAgentNet.Tools.Greeting

<p align="center"> <img src="https://img.shields.io/github/license/ControlAgentNet/ControlAgentNet.Tools.Greeting" alt="License"> <img src="https://img.shields.io/github/actions/workflow/status/ControlAgentNet/ControlAgentNet.Tools.Greeting/ci.yml?branch=main" alt="CI"> <img src="https://img.shields.io/nuget/v/ControlAgentNet.Tools.Greeting" alt="NuGet Version"> </p>

Simple greeting tool package for ControlAgentNet agents.

What This Repository Contains

This repository publishes the ControlAgentNet.Tools.Greeting package and includes a small sample application.

What It Does

This package adds a lightweight greeting tool to a ControlAgentNet host.

Use it when you want:

  • a minimal example of packaging tools for ControlAgentNet
  • a simple greeting capability that can be exposed to the runtime
  • a reference implementation for custom tool modules

This repository does not include the base runtime itself. You still need the base packages from ControlAgentNet.Agents.

Installation

dotnet add package ControlAgentNet.Agents
dotnet add package ControlAgentNet.Tools.Greeting

Usage

using ControlAgentNet.Agents;
using ControlAgentNet.Tools.Greeting;

builder.Services.AddControlAgentAgent(builder.Configuration, builder.Environment, configureAgent: options =>
{
    options.Id = "my-agent";
    options.Name = "My Agent";
    options.Instructions = "Use the greeting tool when a friendly greeting is needed.";
})
    .AddGreetingTools();

Build

dotnet restore ControlAgentNet.Tools.Greeting.slnx
dotnet build ControlAgentNet.Tools.Greeting.slnx -c Release
dotnet test ControlAgentNet.Tools.Greeting.slnx -c Release --no-build
dotnet pack ControlAgentNet.Tools.Greeting.slnx -c Release -o artifacts/nuget

Sample

The repository includes samples/HelloWorld.Greeting to demonstrate the package with a local inline engine consuming the registered greeting tool.

Versioning

  • local builds: 0.1.1-dev
  • pull requests: 0.1.1-preview.<run_number>
  • pushes to main: 0.1.1-alpha.<run_number>
  • tags like v0.1.1: exact stable package version 0.1.1

See VERSIONING.md for the release flow.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 112 4/14/2026