Nabs.Launchpad.Core.Ai.Tools
10.1.2
Prefix Reserved
dotnet add package Nabs.Launchpad.Core.Ai.Tools --version 10.1.2
NuGet\Install-Package Nabs.Launchpad.Core.Ai.Tools -Version 10.1.2
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.Tools" Version="10.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.Ai.Tools" Version="10.1.2" />
<PackageReference Include="Nabs.Launchpad.Core.Ai.Tools" />
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.Tools --version 10.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nabs.Launchpad.Core.Ai.Tools, 10.1.2"
#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.Tools@10.1.2
#: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.Tools&version=10.1.2
#tool nuget:?package=Nabs.Launchpad.Core.Ai.Tools&version=10.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nabs.Launchpad.Core.Ai.Tools
Nabs.Launchpad.Core.Ai.Tools provides reusable, agent-friendly tool functions for safe file operations, repository analysis, and centralized cohort execution progress events.
Installation
dotnet add package Nabs.Launchpad.Core.Ai.Tools
The Problem
// 1) File tools are implemented ad-hoc with no consistent safety checks.
var fullPath = Path.Combine(root, userInputPath); // path traversal risk
// 2) Agent execution has no shared progress stream.
// Each workflow logs differently, making CLI and observers inconsistent.
// 3) Repository inventory logic is duplicated in scripts and utilities.
// No standard JSON summary/report contract for automation.
// 4) Tool failures are only visible as exceptions.
// Hard to detect started/completed/failed states in orchestration pipelines.
Features
- File-system AI tools for read, write, append, and list operations.
- Path safety enforcement to keep operations inside the configured artefact root.
- Repository scanning tool with extension grouping, summary metrics, and JSON reports.
- Centralized cohort progress events via subscribe/publish APIs for workflow instrumentation.
- Execution context flow using async-local context for artefact-aware tool execution.
Usage
using Microsoft.Extensions.AI;
using Nabs.Launchpad.Core.Ai.Tools;
AIFunction[] tools =
[
.. FileSystemTools.GetAllTools(),
.. Nabs.Launchpad.Core.Ai.Tools.GitHub.RepoAnalysisTools.GetAllTools()
];
using Nabs.Launchpad.Core.Ai.Tools;
using var contextScope = CohortExecutionContextAccessor.Push(
new CohortExecutionContext(ArtefactLocation: @"C:\Dev\MyRepo"));
var writeResult = FileSystemTools.WriteArtefactFile("notes/summary.md", "Initial summary");
var appendResult = FileSystemTools.AppendToArtefactFile("notes/summary.md", "More details");
var listResult = FileSystemTools.ListArtefactFiles("notes", recursive: true, maxResults: 100);
using Nabs.Launchpad.Core.Ai.Tools;
using var subscription = CohortExecutionProgress.Subscribe(evt =>
{
Console.WriteLine($"[{evt.TimestampUtc:u}] {evt.Kind} {evt.SkillName} {evt.Details}");
});
var result = FileSystemTools.ReadFile(@"C:\Dev\MyRepo", "README.md");
Configuration
- Use
CohortExecutionContextAccessor.Push(...)to set the current artefact root for*ArtefactFiletool methods. - Use direct methods (
ReadFile,WriteFile,AppendToFile,ListFiles) when you want to provide the artefact location explicitly. ListFilesdefaults tomaxResults: 500and clamps to a maximum of2000.RepoAnalysisTools.ScanFolder(...)writes reports toScanned<FolderName>underoutputBaseDir(defaults toC:\Dev).- Optionally pass a
blacklistPathin gitignore format for additional scan exclusions.
Project Structure
FileSystemTools.cs- AI-callable file read/write/append/list tools with path-boundary enforcement.GitHub/RepoAnalysisTools.cs- folder inventory tool producing summary and grouped JSON reports.CohortExecutionProgress.cs- centralized event stream for workflow and tool progress.CohortExecutionContext*.cs- async-local execution context for artefact-scoped tool behavior.GitHub/Filtering,GitHub/Scanning,GitHub/Reporting,GitHub/Models- scanning pipeline components and report models.
License
Copyright (c) Net Advantage Business Solutions.
| Product | Versions 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.
-
net10.0
- Microsoft.Agents.AI (>= 1.23.0)
- Microsoft.Agents.AI.Workflows (>= 1.23.0)
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 |
|---|---|---|
| 10.1.2 | 48 | 9/30/2026 |
| 10.1.1 | 97 | 9/23/2026 |
| 10.1.0 | 85 | 9/23/2026 |
| 10.0.290 | 75 | 9/22/2026 |
| 10.0.289 | 78 | 9/22/2026 |
| 10.0.288 | 90 | 9/22/2026 |
| 10.0.287 | 100 | 9/21/2026 |
| 10.0.286 | 85 | 9/18/2026 |
| 10.0.285 | 83 | 9/18/2026 |
| 10.0.273 | 101 | 9/6/2026 |
| 10.0.272 | 89 | 9/5/2026 |
| 10.0.270 | 88 | 9/5/2026 |
| 10.0.269 | 101 | 9/5/2026 |
| 10.0.255 | 112 | 7/26/2026 |
| 10.0.250 | 115 | 6/23/2026 |
| 10.0.249 | 115 | 6/6/2026 |
| 10.0.248 | 110 | 6/6/2026 |
| 10.0.247 | 102 | 6/6/2026 |
| 10.0.246 | 107 | 6/6/2026 |
| 10.0.242 | 108 | 6/4/2026 |