AAIA.Shared.Contracts 2.0.0

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

AAIA.Shared.Contracts

NuGet Build License: MIT

Public shared contracts, interfaces and DTOs for building AAIA modules and plugins.

What is AAIA?

AAIA is a modular AI operating environment for local and assisted automation.
Modules extend the AAIAS server. Plugins extend AAIA client capabilities.

Installation

dotnet add package AAIA.Shared.Contracts

Or in your .csproj:

<PackageReference Include="AAIA.Shared.Contracts" Version="2.0.0" />

What's included

Namespace Contents
Aaia.Shared.Contracts.Modules IAaiaModule, IWorkOrderSimulator, ModuleInfoDto
AAIA.Shared.Contracts.Extensions Extension manifest DTOs, permission models, validation
AAIA.Shared.Contracts.Marketplace Marketplace feed DTOs
AAIA.Shared.Contracts.Licensing License DTOs
AAIA.Shared.Contracts.Dev IDevDiagnosticsBus, NullDevDiagnosticsBus, diagnostics events
AAIA.Shared.Contracts.Common AaiaApiResponse, AaiaApiError
AAIA.Shared.Contracts.Platform OS, architecture, device kind enums

Building a module

Implement IAaiaModule:

using Aaia.Shared.Contracts.Modules;

public sealed class MyModule : IAaiaModule
{
    public string Id          => "my-module";
    public string DisplayName => "My Module";
    public string Version     => "1.0.0";
    public string Description => "Does something useful.";

    public void AddServices(IServiceCollection services)
    {
        services.AddScoped<MyService>();
    }

    public void MapRoutes(WebApplication app)
    {
        app.MapGet("/api/modules/my-module/hello", () => "Hello from MyModule");
    }
}

Add a manifest (aaia-extension.json):

{
  "id":          "com.example.my-module",
  "displayName": "My Module",
  "version":     "1.0.0",
  "host":        "AAIAS",
  "kind":        "Module",
  "assembly":    "MyModule.dll",
  "permissions": [],
  "supportedPlatforms": ["all"]
}

Security rules

  • Modules must declare all required permissions in aaia-extension.json
  • No direct database access — all writes go through AAIAS
  • No shell execution without explicit permission declaration
  • No undeclared network targets

License

MIT — see LICENSE

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net8.0

    • No dependencies.

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
2.0.0 130 6/10/2026