SDKs and Packages
Package map for AID SDKs, tooling, and the web workbench.
SDKs and Packages
AID keeps the public package names stable across the v2 transition. New records should use aid2; clients keep aid1 compatibility during the migration window.
Packages
| Package | Purpose | Language |
|---|---|---|
@agentcommunity/aid | Main discovery SDK for Node.js and browser clients | TypeScript |
@agentcommunity/aid-engine | Core diagnostics, validation, record generation, and PKA logic; runCheck performs explicit DNS/HTTP checks | TypeScript |
@agentcommunity/aid-doctor | CLI for record generation, validation, diagnostics, and PKA helpers | Node.js |
aid-discovery | Python discovery library | Python |
aid-go | Go discovery library; source-only until module repo/tags are published | Go |
aid-rs | Rust parser and discovery library; source-only until crate publication is resolved | Rust |
aid-dotnet | .NET parser, discovery, PKA, and .well-known support; source-only until NuGet publication is ready | .NET |
aid-java | Java parser, discovery, PKA, and .well-known support; source-only until Maven publication is ready | Java |
| Web Workbench | Browser generator and resolver for AID records | Web |
Shared Contract
Constants across SDKs are generated from protocol/constants.yml. After protocol constant changes, run:
pnpm gen
Generated outputs include the canonical TypeScript spec module, web mirror, and example records used by the workbench and showcase Terraform.