AgencyDotNet.Harness.Console 0.1.194-g9adaaec0b7

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

Agency.Harness.Console

Interactive console host for the Agency AI Toolkit — a ready-to-run REPL for conversing with an Agent.

Run the demo in 2 minutes

The fastest way to try the demo: from the src directory, run

.\RunConsole.ps1

This is a friendly interactive script that asks a few questions — your LLM's base URL, model, and API key — then builds and launches the console REPL. Press Enter to accept sensible defaults.

Prerequisites:

  • .NET 10 SDK
  • An OpenAI-compatible LLM endpoint — e.g. a local LM Studio (http://localhost:1234/v1) or Ollama (http://localhost:11434/v1), neither of which need an API key, or any cloud OpenAI-compatible endpoint with a key.

The demo can optionally expose GitHub tools to the agent via the official GitHub MCP server (needs Docker + a GitHub Personal Access Token). This is optional — if Docker or the token isn't present, the console still runs fine, just without those tools.

Install

dotnet add package AgencyDotNet.Harness.Console

Features

  • Multi-turn REPL with Ctrl+C graceful interruption
  • Per-response throughput and token stats
  • Configurable LLM provider (Claude or OpenAI-compatible) via appsettings.json
  • Welcome banner with provider and model information

Usage

// Typical entry point — wire up via HostBuilder
await Host.CreateDefaultBuilder(args)
    .ConfigureServices((ctx, services) =>
    {
        services.AddAgencyAgent();
        services.AddTelemetry();
        services.AddConsoleServices();
    })
    .RunConsoleAsync();

Part of the Agency AI Toolkit — an open-source .NET agentic AI toolkit.

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.194-g9adaaec0b7 55 9/1/2026
0.1.192-gd2744cd928 60 9/1/2026