NuSpec.AIHome
Free & Open Source · .NET · Offline

Token-optimized AI context
for your NuGet packages

Up to 94% fewer tokens than decompiling the DLL. Runs entirely offline at pack time. No API key, no account, no cost.

Real token savings

Compared against ILSpy-decompiled source — the context an AI would otherwise need. Token counts approximate (chars ÷ 4).

Newtonsoft.Json127 public types · 1,198 members
Source for the AIBytes≈ Tokensvs. decompilation
ILSpy-decompiled .dll1,863,427~466,000baseline
package-map.json328,155~82,000−82%
package-map.yaml239,209~60,000−87%
package-map.compact.json195,481~49,000−90%
package-map.ultra106,418~27,000−94%
Microsoft.EntityFrameworkCore 8.0.10Much larger public surface
Source for the AIBytes≈ Tokensvs. decompilation
ILSpy-decompiled .dll9,574,757~2,394,000baseline
package-map.json4,262,664~1,066,000−55%
package-map.yaml3,535,139~884,000−63%
package-map.compact.json3,244,493~811,000−66%
package-map.ultra2,483,495~621,000−74%
−94%
tokens vs decompilation (Newtonsoft.Json, ultra)
−74%
tokens vs decompilation (EF Core 8, ultra)
100%
offline — no network calls at pack time

Simple Setup

Three steps. No account. No network calls at pack time.

01

Install NuSpec.AI

<PackageReference
  Include="NuSpec.AI"
  Version="*"
  PrivateAssets="all" />
02

Choose your output format

<PropertyGroup>
  <NuSpecAiFormats>ultra</NuSpecAiFormats>
  <!-- json | yaml | compact | ultra | all -->
</PropertyGroup>
03

Run dotnet pack

dotnet pack
# → ai/package-map.ultra generated
# → up to 94% fewer tokens vs decompilation

Start shipping smarter packages today

Free and open source. No account required.