# NessGate
> The open, neutral compatibility resolver for the agentic web. Give it a domain and NessGate reads the machine-readable resources that domain publishes at the standard discovery locations, and returns one normalized answer with a link back to each source. It reads on demand, stores no discovered domain or resource data, and makes no ownership or safety claim. No accounts, no API keys, open CORS.
## Resolve
- Resolve a domain: `GET https://nessgate.com/discover/{domain}` → `{"domain", "provenance", "note", "outcome", "discovered", "resources", "checked"}`. `discovered` lists which mechanisms the domain publishes and where; `resources` is the normalized union of what those documents contain, each record carrying `source` (which mechanism it came from) and `sourceUrl` (the document it was read from — authoritative; follow it to verify against the domain). `type` is an open label — do not assume a closed set. `checked` lists every mechanism probed, so an empty `discovered` is still a successful `200` observation. `400` for an invalid domain, `429` if rate-limited. Answers are computed on demand and cached at the edge for up to 10 minutes.
- Explore a domain (evidence-based): `GET https://nessgate.com/explore/{domain}` → everything `/discover` returns, plus bounded delegated discovery (follows the explicit machine-readable pointers a domain declares — llms.txt index links, ARD/api-catalog entries — following the explicit declaration chain to arbitrary depth within strict request/byte/host/time budgets with loop detection, cross-host only where the publisher named the target) and attributed MCP-Registry federation. Every `/discover` and `/explore` response carries an honest `outcome` label: `found`, `none-found` (checks completed, absence confirmed — clean 404s count as answers), `blocked` (the site refused the checks — absence unknown), or `incomplete` (/explore only: budgets cut the walk short); `blockedProbes` discloses refusal counts. With `?verify=1` each resource additionally carries `reachability` (`ok` — answered a safe probe, never a claim operations succeed — / `auth-required` / `rate-limited` / `blocked` — anti-bot protection reliably identified; NessGate never evades — / `not-found` / `unreachable` / `unknown`), `checkedAt`, and an `evidence` object (status + signal name only; response content is never stored). Each record adds an `evidence` class (`publisher-hosted`/`publisher-declared`/`namespace-verified`/`candidate`/`same-domain-host`) and a `provenance` chain. With `?org=1` (Organization Discovery) it additionally probes a bounded set of plausible same-registrable-domain hosts (homepage-linked subdomains with developer/doc-facing labels first + a conventional shortlist incl. docs./developers./cloud., max 6 hosts; `orgChecked` lists hosts probed, `orgBlocked` lists hosts that refused, and a cross-registrable homepage redirect is reported as `homepageRedirect`) and reports only verified resources as `same-domain-host` — same registrable domain; the organizational relationship is not independently verified. With `?related=1` (Related Discovery) it returns a separate `related[]` layer of cross-registrable-domain entries: `publisher-declared-related` (the queried domain serves a purpose-built declaration naming the site — hyperlinks never qualify), `registry-verified-related` (a domain-verifying registry names the specific host, attributed), or `infrastructure-correlated-candidate` (caller candidates with a cited technical signal); technical signals are corroborating only and never mean "official" or "same organization". Strictly bounded, stateless; no crawling, no AI, no ownership claim. `/discover` is unchanged.
- Mechanisms read (across four channels — well-known paths, an ARD ``, an ARD robots.txt `Agentmap:` directive, and a DNS TXT record): `llms.txt`, ARD / `ai-catalog.json` (`/.well-known/ard.json`), A2A agent card (`/.well-known/agent-card.json`), RFC 9727 api-catalog (`/.well-known/api-catalog`), `ai-info.json`, OpenAPI (`/openapi.json`, plus `/openapi.yaml`/`.yml` detected via the document's own top-level marker), Open Resource Discovery, AWP manifest, RFC 6415 host-meta, Agent Network Protocol (`/.well-known/agent-descriptions`), Universal Commerce Protocol (`/.well-known/ucp`), AID (a TXT record at `_agent.`: `v=aid1;u=…` — this is the AID draft, not the separate IETF DNS-AID SVCB draft at `_agents.`), and GB/Z 185.4 agent descriptions (China's 智能体互联 "ACS", recognized by content at the agent-description location — no GB/Z-specific path is guessed; GB/Z 185.5 gateway discovery is an opt-in, library-only feature and is never auto-discovered). NessGate reads these; it does not define or replace them.
- Connection readiness (opt-in): `GET https://nessgate.com/explore/{domain}?readiness=1` → everything `/explore` returns, plus a `readiness` block on each connectable resource, assessed from the service's OWN published metadata: `ready` (connectable, no credentials), `credentials-required` (endpoint/transport/auth-method + its metadata all known — supply your own secret, which never touches NessGate), `incomplete` (a connection element the protocol itself defines is not published — `missing[]` names each), or `broken` (the declared location answered but contradicts the declaration: 404/410/5xx or an unparseable document — claimed only on positive evidence, never on denials or network failures). Resolves OpenAPI `servers`+`securitySchemes`, A2A cards, and the MCP OAuth metadata chain (RFC 9728 → RFC 8414). Read-only, bounded, SSRF-guarded, no scores. `ready` requires protocol-level evidence appropriate to the transport — a valid MCP initialize result, or for stateless MCP servers (protocol revision 2026-07-28, which removed initialize) the revision's required `server/discover` response — never HTTP success alone. A2A cards are read in all three schema generations (v1 `supportedInterfaces[].protocolBinding` with per-interface `protocolVersion`, 0.3.x `preferredTransport`, legacy `transport`). A declared document larger than the bounded readiness read is reported `incomplete` (`verified: 'oversized'`), never `broken` — truncation by the reader is not evidence about the service. If the MCP Registry cannot be checked, the response discloses `federatedUnavailable: ["mcp-registry"]` rather than letting absence look like checked-and-empty.
- Connection plan: `POST https://nessgate.com/connect/{domain}` with `{"client":{"supports":[{"protocol","versions?","transports?","auth?"}],"prefer?":[]}}` → matches the client's declared capabilities against what the domain publishes (deterministic intersection, no scores) and returns one outcome — `ready` / `credentials-required` / `incomplete` / `broken` / `no-compatible-method` — with a connection plan (endpoint, transport, version, auth metadata) and its provenance. Client capabilities are input only (nothing stored); the client connects directly. Shares the `/explore` rate limit.
- MCP server: `https://nessgate.com/mcp` (Model Context Protocol, Streamable HTTP transport, no auth) exposing three read-only tools: `discover_domain` (same answer as `/discover`), `connect_domain` (same as `POST /connect`), and `check_readiness` (same as `/explore?readiness=1`).
- Run it yourself: the dependency-free `@nessgate/resolver` library (npm) or `https://nessgate.com/resolver.mjs` fetches the target domain directly, with no dependency on nessgate.com. The library also supports opt-in MCP-Registry federation (`registry: true`, records labeled `namespace-verified`, failures disclosed as `federatedUnavailable`) and declared-pointer delegation (`delegate: true`, bounded, records labeled `publisher-declared` with provenance and depth).
- Self-test (publishers, CI): `npx @nessgate/resolver yourdomain.com` (bin `nessgate-ready`) runs the open readiness predicate client-side — 3 observations, strict (disagreement = `unstable` = fail), exit 0 when a connectable path is unanimously usable, otherwise non-zero with the exact missing field. Nothing is reported anywhere; the check stays on your machine.
- API contract and stability guarantees: https://nessgate.com/spec · OpenAPI: https://nessgate.com/openapi.json
## About the data
Resources live on each domain's own infrastructure (or its subdomains) and follow no required schema — read them directly from the resolved URLs (`sourceUrl`). NessGate reports what a domain serves and links back to it; it never stores, analyzes, rehosts, ranks, or vouches for that content. There is nothing to register with NessGate: publish the standard files on your own domain and NessGate (and any AI agent) reads them directly.
## Docs
- [The State of AI Discovery — September 2026](https://nessgate.com/blog/state-of-ai-discovery-september-2026) — sourced data report on discovery-mechanism adoption
- [What is ARD?](https://nessgate.com/blog/what-is-ard-ai-catalog-json) — plain-English ard.json guide
- [API documentation](https://nessgate.com/api)
- [Guide: make your domain AI-discoverable](https://nessgate.com/guide)
- [About / principles](https://nessgate.com/about)
- Contact: contact@nessgate.com