ValidationEngine.Agent 1.0.0

dotnet tool install --global ValidationEngine.Agent --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ValidationEngine.Agent --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ValidationEngine.Agent&version=1.0.0
                    
nuke :add-package ValidationEngine.Agent --version 1.0.0
                    

ValidationEngine.Agent

AI-assisted manual review add-on for the ValidationEngine standards validation suite, distributed as the validation-engine-agent .NET global tool.

What It Is

An optional .NET global tool add-on to validation-engine that delegates judgment-based rule evaluation to a configured AI provider. It is not required to run the core engine, and installing it adds capability without any code changes to the core tool.

What It Does

Deterministic rule checks can't evaluate judgment-based standards (readability, intent, "does this comment actually explain why"). validation-engine-agent closes that gap by sending manual-only rules from the standards corpus to a configured AI provider for evaluation, and reporting findings back through the same ValidationReport contract the core engine uses.

It is normally invoked automatically by validation-engine as a sibling process, but can also be run standalone against any repository with a valid appsettings.json.

Its Modularity

ValidationEngine.Agent references ValidationEngine and ValidationEngine.Models, and uses ValidationEngine.Reporting's default renderers as a composition-root convenience (any consumer is free to supply its own). It is launched by the core engine as an external process, not a compile-time dependency in the other direction, so it can be installed, updated, or omitted independently of validation-engine itself.

How It Works

  1. Reads appsettings.json from the target repository root and resolves any active AI providers.
  2. For each manual-only rule in the standards corpus, sends the relevant context to an active Validation-purpose provider and interprets the response as a finding.
  3. Optionally attaches rationale from an active Explain-purpose provider to findings already produced by a Validation provider.
  4. Reports findings back through the shared ValidationReport contract, either to its own invoker or merged into a run started by validation-engine.

Installing

dotnet tool install --global ValidationEngine.Agent

Configuration (required)

The Agent requires an appsettings.json file at the root of the repository being validated, and ships a template alongside the tool (in the package output next to the executable) with an empty Providers array as a starting point — copy it to the target repository root and fill in your provider details. The file itself must exist; having an active provider inside it is not required — a repository can keep the template's empty Providers array to explicitly opt out.

{
  "ValidationAgent": {
	"Providers": [
	  {
		"Name": "AzureOpenAI-Validation",
		"Type": "AzureOpenAI",
		"Purpose": "Validation",
		"IsActive": true,
		"Endpoint": "https://<your-resource>.openai.azure.com/",
		"DeploymentName": "<your-deployment-name>",
		"ApiVersion": "2024-10-21"
	  },
	  {
		"Name": "AzureOpenAI-Explain",
		"Type": "AzureOpenAI",
		"Purpose": "Explain",
		"IsActive": true,
		"Endpoint": "https://<your-resource>.openai.azure.com/",
		"DeploymentName": "<your-deployment-name>",
		"ApiVersion": "2024-10-21"
	  }
	]
  }
}

Notes:

  • Providers is an array — zero, one, or many entries can be active at once (IsActive: true), even across multiple purposes. There is no single "ActiveProvider" selector.
  • Purpose must be Validation or Explain (see ValidationEngine.Agent.AgentPurpose). Validation providers evaluate manual-only rules; Explain providers optionally attach rationale to findings already produced by a Validation provider.
  • Type must currently be AzureOpenAI (see ValidationEngine.Agent.Constants.ProviderTypes).
  • Secrets (API keys) are never stored in appsettings.json. Each active provider resolves its key from an environment variable named after the provider's Name (e.g. AzureOpenAI-Validation).
  • If the file is missing entirely, the Agent reports an engine error. If the file exists but no provider resolves to active, manual-only rules are reported as AGT-001 ("not evaluated") instead of being silently skipped.

License

MIT — see LICENSE.

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.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 102 9/6/2026