Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ans-dns
command
Command ans-dns is a small authoritative DNS server + zone-management CLI for local-dev testing of the full ANS lifecycle end-to-end.
|
Command ans-dns is a small authoritative DNS server + zone-management CLI for local-dev testing of the full ANS lifecycle end-to-end. |
|
ans-finder
command
Command ans-finder runs the ANS Finder — the Agentic Resource Discovery (ARD) service over the ANS reference implementation.
|
Command ans-finder runs the ANS Finder — the Agentic Resource Discovery (ARD) service over the ANS reference implementation. |
|
ans-ra
command
Command ans-ra runs the ANS Registration Authority HTTP server.
|
Command ans-ra runs the ANS Registration Authority HTTP server. |
|
ans-tl
command
Command ans-tl runs the ANS Transparency Log HTTP server.
|
Command ans-tl runs the ANS Transparency Log HTTP server. |
|
ans-verify
command
Command ans-verify is an offline verifier for SCITT COSE receipts served by the ANS Transparency Log.
|
Command ans-verify is an offline verifier for SCITT COSE receipts served by the ANS Transparency Log. |
|
internal
|
|
|
adapter/auth
Package auth provides AuthProvider implementations.
|
Package auth provides AuthProvider implementations. |
|
adapter/cert
Package cert provides certificate-handling adapter implementations: the self-signed identity CA and the BYOC server-certificate validator.
|
Package cert provides certificate-handling adapter implementations: the self-signed identity CA and the BYOC server-certificate validator. |
|
adapter/cert/acmetest
Package acmetest provides an in-process fake RFC 8555 server for exercising the ACME issuer adapter without network access.
|
Package acmetest provides an in-process fake RFC 8555 server for exercising the ACME issuer adapter without network access. |
|
adapter/challenge
Package challenge provides adapters for verifying domain-control challenge artifacts the domain owner has published.
|
Package challenge provides adapters for verifying domain-control challenge artifacts the domain owner has published. |
|
adapter/didresolver
Package didresolver provides the two port.DIDResolver adapters:
|
Package didresolver provides the two port.DIDResolver adapters: |
|
adapter/discovery/ans
Package ans implements the bundled ANS-family port.ProfileEmitter adapters: DNSAIDProfile (the DNS-AID-aligned SVCB shape per RFC 9460 plus the `_ans-badge` TXT extension) and TXTProfile (the original `_ans` TXT shape, supported indefinitely for operators with existing zone-edit tooling).
|
Package ans implements the bundled ANS-family port.ProfileEmitter adapters: DNSAIDProfile (the DNS-AID-aligned SVCB shape per RFC 9460 plus the `_ans-badge` TXT extension) and TXTProfile (the original `_ans` TXT shape, supported indefinitely for operators with existing zone-edit tooling). |
|
adapter/discovery/registry
Package registry holds the immutable composition facade for port.ProfileEmitter implementations.
|
Package registry holds the immutable composition facade for port.ProfileEmitter implementations. |
|
adapter/dns
Package dns provides DNSVerifier implementations.
|
Package dns provides DNSVerifier implementations. |
|
adapter/docsui
Package docsui serves the OpenAPI spec + a Swagger-UI page for the currently-running binary.
|
Package docsui serves the OpenAPI spec + a Swagger-UI page for the currently-running binary. |
|
adapter/eventbus
Package eventbus provides EventBus implementations.
|
Package eventbus provides EventBus implementations. |
|
adapter/keymanager
Package keymanager provides KeyManager implementations.
|
Package keymanager provides KeyManager implementations. |
|
adapter/leiverifier
Package leiverifier provides the two port.LEIControlVerifier adapters behind the lei (vLEI) identifier kind:
|
Package leiverifier provides the two port.LEIControlVerifier adapters behind the lei (vLEI) identifier kind: |
|
adapter/store/sqlite
Package sqlite provides SQLite implementations of the store ports (AgentStore, CertificateStore, EndpointStore, RenewalStore, RevocationStore, ByocCertificateStore) plus an outbox table used by the RA→TL HTTP client for durable event delivery.
|
Package sqlite provides SQLite implementations of the store ports (AgentStore, CertificateStore, EndpointStore, RenewalStore, RevocationStore, ByocCertificateStore) plus an outbox table used by the RA→TL HTTP client for durable event delivery. |
|
adapter/store/sqlitefinder
Package sqlitefinder is the SQLite FTS5-backed implementation of the Finder's index.Catalog port.
|
Package sqlitefinder is the SQLite FTS5-backed implementation of the Finder's index.Catalog port. |
|
adapter/store/sqlitetl
Package sqlitetl is the SQLite-backed EventStorage for ans-tl.
|
Package sqlitetl is the SQLite-backed EventStorage for ans-tl. |
|
adapter/tlclient
Package tlclient is the HTTP client the RA uses to POST signed events to the Transparency Log.
|
Package tlclient is the HTTP client the RA uses to POST signed events to the Transparency Log. |
|
ard
Package ard holds the projection rules shared by every surface that mints ARD (Agentic Resource Discovery) identifiers from registration data.
|
Package ard holds the projection rules shared by every surface that mints ARD (Agentic Resource Discovery) identifiers from registration data. |
|
catalog
Package catalog generates AI Catalog artifacts from a registration aggregate.
|
Package catalog generates AI Catalog artifacts from a registration aggregate. |
|
config
Package config loads and validates runtime configuration for ans-ra and ans-tl from YAML files with environment variable overrides.
|
Package config loads and validates runtime configuration for ans-ra and ans-tl from YAML files with environment variable overrides. |
|
crypto
Package crypto provides shared cryptographic operations used by the RA and TL: X.509 parsing, CSR validation, JWS signing/verification, JSON Canonicalization (RFC 8785), and COSE_Sign1 receipt encoding.
|
Package crypto provides shared cryptographic operations used by the RA and TL: X.509 parsing, CSR validation, JWS signing/verification, JSON Canonicalization (RFC 8785), and COSE_Sign1 receipt encoding. |
|
domain
Package domain contains the pure domain model for the Agent Name Service.
|
Package domain contains the pure domain model for the Agent Name Service. |
|
finder/feed
Package feed defines the consumer-side contract types for the ANS agent-events feed (`GET /v1/agents/events`).
|
Package feed defines the consumer-side contract types for the ANS agent-events feed (`GET /v1/agents/events`). |
|
finder/handler
Package handler is the HTTP adapter for the ANS Finder's discovery surface: POST /v1/search and POST /v1/explore, plus operator health/readiness.
|
Package handler is the HTTP adapter for the ANS Finder's discovery surface: POST /v1/search and POST /v1/explore, plus operator health/readiness. |
|
finder/index
Package index defines the Finder's catalog index port and the query types its search and explore surfaces speak.
|
Package index defines the Finder's catalog index port and the query types its search and explore surfaces speak. |
|
finder/poller
Package poller is the Finder's ingestion loop.
|
Package poller is the Finder's ingestion loop. |
|
finder/project
Package project turns a single ANS feed event (feed.EventItem) into zero or more ARD catalog entries — the Finder's discovery records.
|
Package project turns a single ANS feed event (feed.EventItem) into zero or more ARD catalog entries — the Finder's discovery records. |
|
lognote
Package lognote parses and verifies C2SP-shaped transparency-log checkpoint signed notes (golang.org/x/mod/sumdb/note framing).
|
Package lognote parses and verifies C2SP-shaped transparency-log checkpoint signed notes (golang.org/x/mod/sumdb/note framing). |
|
port
Package port defines the hexagonal-architecture port interfaces that the domain and service layers depend on.
|
Package port defines the hexagonal-architecture port interfaces that the domain and service layers depend on. |
|
ra/handler
Package handler contains the HTTP-facing adapters for the RA V2 API.
|
Package handler contains the HTTP-facing adapters for the RA V2 API. |
|
ra/middleware
Package middleware holds HTTP middleware specific to the RA.
|
Package middleware holds HTTP middleware specific to the RA. |
|
ra/outbox
Package outbox holds the RA's outbox-delivery worker.
|
Package outbox holds the RA's outbox-delivery worker. |
|
ra/service
Package service contains the RA application-layer services.
|
Package service contains the RA application-layer services. |
|
tl/event
Package event defines the V1 Transparency Log event envelope and the canonicalization / leaf-hash rules the TL and its verifiers rely on.
|
Package event defines the V1 Transparency Log event envelope and the canonicalization / leaf-hash rules the TL and its verifiers rely on. |
|
tl/event/identity
Package identity defines the Transparency Log event family for Verified Identities — the "who" behind an agent.
|
Package identity defines the Transparency Log event family for Verified Identities — the "who" behind an agent. |
|
tl/event/v1
Package v1 defines the V1 event envelope served by this ans-tl.
|
Package v1 defines the V1 event envelope served by this ans-tl. |
|
tl/handler
Package handler wires HTTP routes for the Transparency Log API.
|
Package handler wires HTTP routes for the Transparency Log API. |
|
tl/logstore
Package logstore wraps the Tessera transparency-log appender plus its checkpoint signers.
|
Package logstore wraps the Tessera transparency-log appender plus its checkpoint signers. |
|
tl/producerkey
Package producerkey holds the trust store the Transparency Log uses to verify incoming event signatures.
|
Package producerkey holds the trust store the Transparency Log uses to verify incoming event signatures. |
|
tl/receipt
Package receipt implements SCITT-style COSE_Sign1 transparency-log receipts for the ANS TL.
|
Package receipt implements SCITT-style COSE_Sign1 transparency-log receipts for the ANS TL. |
|
tl/service
Package service holds the Transparency Log application-layer services.
|
Package service holds the Transparency Log application-layer services. |
|
scripts
|
|
|
demo/signproof
command
signproof is the demo-side identity-proof tool: it mints keypairs and signs identity verify-control proofs (compact JWS over the RA-served signingInput).
|
signproof is the demo-side identity-proof tool: it mints keypairs and signs identity verify-control proofs (compact JWS over the RA-served signingInput). |
Click to show internal directories.
Click to hide internal directories.