IntelligenceX 0.1.1

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

IntelligenceX

IntelligenceX is the reusable .NET SDK behind IntelligenceX applications and integrations. It includes:

  • Codex app-server and provider-neutral AI clients
  • GitHub notification and repository monitoring APIs
  • AI usage, model, cost, and provider-limit telemetry
  • tool identity, domain presentation, selection metadata, and reporting models

The package does not install the IntelligenceX desktop applications and does not bring in SQLite or Windows UI dependencies. It provides assets for .NET Standard 2.0, .NET Framework 4.7.2, .NET 8, and .NET 10.

dotnet add package IntelligenceX

Native Copilot

Copilot uses the same IntelligenceXClient as ChatGPT, with direct HTTPS and no Copilot CLI, native runtime, or extra provider package:

using IntelligenceX.OpenAI;

using var client = await IntelligenceXClient.ConnectAsync(new IntelligenceXClientOptions {
    TransportKind = OpenAITransportKind.CopilotNative,
    DefaultModel = "gpt-5.4"
});
var models = await client.ListModelsAsync();
var turn = await client.ChatAsync("Summarize the supplied text.");
Console.WriteLine(EasyChatResult.FromTurn(turn).Text);

Set COPILOT_GITHUB_TOKEN to a GitHub credential authorized for Copilot, or supply CopilotOptions.GitHubToken, TokenProvider, or an explicit AuthStore. Select a model returned by the account's model catalog. The SDK routes Responses and Chat Completions models through the shared streaming, tool-call, image, schema, usage, and local-history contracts.

For interactive applications, configure the host's registered GitHubClientId and call LoginCopilotAsync with a callback that displays the user code and verification URL. Storage is opt-in; expiring stored credentials renew through that registered app. Authentication and inference entitlement are separate checks.

The transport implements the Copilot client protocol, which is not a versioned public GitHub REST inference API. Model availability and protocol support can change. It rejects unsupported requests and does not install or fall back to a CLI. See the provider guide and migration for options and replacements for the retired Copilot clients.

GitHub notification example

using IntelligenceX.Telemetry.GitHub;

using var inbox = new GitHubNotificationService(githubToken);
GitHubNotificationSnapshot snapshot = await inbox.FetchAsync(
    new GitHubNotificationQuery { Limit = 20 });

foreach (GitHubNotificationThread thread in snapshot.Threads) {
    Console.WriteLine($"{thread.RepositoryNameWithOwner}: {thread.Title}");
}

For persistent SQLite-backed telemetry and GitHub monitoring stores on .NET 8 or .NET 10, add IntelligenceX.Storage.SQLite.

Documentation and source are available in the IntelligenceX repository.

Bounded image and structured-output treatment

TreatmentRequest can carry text/JSON and inline image bytes without giving the provider a local file path. For an already connected IntelligenceXClient and a caller-authorized PNG payload:

using IntelligenceX.Json;
using IntelligenceX.Treatment;

static Task<TreatmentResult> ReadImageAsync(
    IntelligenceX.OpenAI.IntelligenceXClient client, byte[] png,
    CancellationToken cancellationToken = default) {
    return new OpenAIChatTreatmentProvider(client).RunAsync(new TreatmentRequest {
        Prompt = "Read the reference printed in this image. Use null when unreadable.",
        Inputs = new[] {
            new TreatmentInputArtifact { Id = "source", MediaType = "image/png", ImageBytes = png }
        },
        OutputSchema = new TreatmentOutputSchema {
            JsonSchema = JsonLite.Parse("""
                {"type":"object","properties":{"reference":{"type":["string","null"]}},"required":["reference"],"additionalProperties":false}
                """).AsObject(),
            Strict = true
        },
        EnforceOutputSchema = true,
        MaxInlineImageBytes = 4 * 1024 * 1024,
        MaxResponseBytes = 256 * 1024,
        Ephemeral = true,
        InlineLocalInputFiles = false,
        ImageGeneration = new TreatmentImageOptions { Enabled = false }
    }, cancellationToken);
}

The Native and OpenAI-compatible HTTP transports map enforced schemas to their respective response formats. Other transports must explicitly support the contract; unsupported ephemeral execution is rejected. EnforceOutputSchema = false preserves prompted JSON behavior. Always validate the returned structure and source support in the consumer: generation constraints do not establish factual correctness.

MaxResponseBytes bounds the response wire stream, including SSE framing, before full buffering. JsonLite.Parse rejects nesting beyond 128 containers across all target frameworks, before recursive parsing of provider envelopes or candidate content. Ephemeral starts a fresh conversation and removes local SDK thread state after the request settles; it does not establish remote retention policy. MaxInlineImageBytes applies to aggregate encoded image bytes, while the caller remains responsible for decoding and pixel limits.

For sensitive native requests, configure OpenAINativeOptions.AllowSensitiveDiagnostics = false, disable telemetry as appropriate, and use EnableModelFallback = false when switching models would violate the chosen profile. Compatible HTTP clients can set AllowAutoRedirect = false and UseProxy = false for an explicitly local loopback route. These options preserve existing defaults for other consumers. AllowNetwork controls provider-side tool policy, not whether hosted inference sends supplied content over the network.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on IntelligenceX:

Package Downloads
IntelligenceX.Storage.SQLite

SQLite-backed storage and diagnostics implementations for IntelligenceX.

OfficeIMO.AI.IntelligenceX

IntelligenceX execution adapter for provider-neutral OfficeIMO document AI operations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 6 9/8/2026
0.1.0 111 8/30/2026