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 | Pure discovery, validation, and PKA logic with no network side effects | 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 | Go |
aid-rs | Rust parser and discovery library, with optional PKA handshake support | Rust |
aid-dotnet | .NET parser, discovery, PKA, and .well-known support | .NET |
aid-java | Java parser, discovery, PKA, and .well-known support | 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.