@agentcommunity/aid-conformance
v1.2.0
Published
Conformance fixtures and runner for Agent Identity & Discovery (AID)
Maintainers
Readme
@agentcommunity/aid-conformance
Agent Identity & Discovery
DNS for agents
AID as the public address book for the agentic web.
It's a simple, open standard that uses the internet's own directory—DNS—to answer one question: "Given a domain, where is its AI agent, and how do I know it's the real one?"
No more hunting through API docs. No more manual configuration. It's the zero-friction layer for a world of interconnected agents.
Built by the team at agentcommunity.org.
- Website: aid.agentcommunity.org
- Docs: docs.agentcommunity.org/aid
- GitHub: github.com/agent-community/agent-interface-discovery
Exposes the shared test-fixtures/golden.json via a typed export (includes v1.1 fields like docs/dep and pka/kid) and provides a simple Node runner to execute the fixtures against a parser.
Install
pnpm add -D @agentcommunity/aid-conformance
# or
npm i -D @agentcommunity/aid-conformanceUsage (Node / TypeScript)
import { fixtures, type GoldenFixture } from '@agentcommunity/aid-conformance';
import { parse } from '@agentcommunity/aid';
for (const c of fixtures.records) {
const record = parse(c.raw);
// assert deep equality with c.expected
}To use from other language repos, consume the published package tarball as a dev artifact or copy the JSON path after installation:
- The JSON is reused from the repo at
test-fixtures/golden.jsonand is included in the published bundle (no duplication in source).
CLI
Run the built-in runner with the shared fixtures (default) or a custom file path:
# default fixtures
npx aid-conformance
# custom fixture
npx aid-conformance ./some-fixture.jsonExit code is non-zero if any case fails. Output includes a concise summary.
v1.1 Notes
- Fixtures now contain records exercising v1.1 additions:
docs(https URL),dep(ISO 8601 Z)pka/kidpresence (parsing only — handshake is out of scope for fixtures)
Development
- Build:
pnpm build - Test:
pnpm test - Lint:
pnpm lint
License
MIT © Agent Community
