FerriteDocs

Verify agent readiness

Audit your live application's agent surface with /.well-known/agent-readiness, the open agent-score, agent-scan, and agent-conformance CLI tools, the MCP compatibility probe, and Web Bot Auth inspection.

Declaring llms.txt, OpenAPI, MCP, A2A, Poppy, or x402 in source code does not prove that a deployed host serves valid headers, rejects unauthorized calls, or answers live protocol requests. Ferrite provides four verification layers you can run locally and in CI against any origin: an in-app self-audit endpoint, three zero-dependency Node.js agent-readiness scanners, a live MCP and OAuth 2.1 compatibility probe, and Web Bot Auth header inspection.

1. Check the in-app self-audit (/.well-known/agent-readiness)

Every application built with agent-ready exposes a live diagnostic JSON report at GET /.well-known/agent-readiness:

curl -s https://<your-app>/.well-known/agent-readiness | jq .

The report audits your Surface declaration against the package checklist (pass, warn, fail) and names the exact field or hook needed to resolve each gap. Because it inspects your declaration without sending external HTTP requests to your routes, treat it as a fast sanity check and pair it with the live scanners below.

2. Scan a live origin with ferrite-agent-ready

The open-source ferrite-agent-ready toolkit runs real HTTP and MCP requests against any origin (on Ferrite or elsewhere) using Node.js 20+ with zero npm dependencies:

ToolWhat it measures
agent-scoreWeighted 100-point score and letter grade across 14 checks (robots_txt, sitemap, llms_txt, markdown_alternates, structured_errors, api_catalog, openapi_valid, mcp_endpoint, agent_card, webmcp_declared, poppy_discovery, bot_auth_advertised, x402_challenge, idempotency_advertised) plus p50/p95 latency
agent-scanTiered report of 20 checks across Essential (80 pts), Recommended (20 pts), and Bonus (up to 5 pts), plus 6 unscored MCP 2026-07-28 extension rows (mcp_stateless, mcp_skills, mcp_tasks, mcp_files, mcp_apps, mcp_prompts)
agent-conformance20 named scenarios across 6 tiers (READABLE, CALLABLE, PAYABLE, PROTOCOL, STATELESS, RESILIENCE) with bidirectional baseline enforcement (both regressions and stale passing entries exit 1)

Run any scanner from a checkout of ferrite-agent-ready:

node agent-score/agent-score.mjs scan https://example.com --name example
node agent-scan/agent-scan.mjs scan https://example.com --md
node agent-conformance/agent-conformance.mjs scan https://example.com --name example --baseline agent-conformance/baseline.yml

Add --out DIR to write machine-readable .json and Markdown .md reports.

Safe read-only tool allowlists

The scanners never invoke arbitrary MCP tools by default. To score live MCP tool calls, pass --mcp-profile FILE pointing to a served-surface-profile.v1 JSON file that declares the endpoint’s protocol revision and an explicit read_only_tool_allowlist. Without a profile, MCP tool execution checks report unverified and earn no points, while stateless discovery (server/discover, tools/list, skills, and UI resource reads) still runs safely.

3. Probe MCP and OAuth 2.1 compatibility

The open-source ferrite-agent-matrix repository provides a zero-dependency Node.js 22+ probe that verifies Streamable HTTP MCP transport, stateless 2026-07-28 discovery, OAuth 2.1 Protected Resource Metadata, Dynamic Client Registration (RFC 7591), PKCE S256, and Client ID Metadata Documents (CIMD):

node harness/probe-mcp.mjs --endpoint https://mcp.ferrite.cloud/mcp --markdown

Pass --verify-auth with FERRITE_MCP_TOKEN to test an authenticated tool call, or run node harness/run-agent-matrix.mjs --list to inspect the verified client compatibility catalog documented in Agents Ferrite works with.

4. Inspect Web Bot Auth headers

When an incoming request carries Web Bot Auth headers (Signature-Agent, Signature-Input, Signature per draft-meunier-webbotauth / RFC 9421), agent_ready::bot_auth parses the structured fields and classifies the caller without claiming verification it did not perform:

use crate::agent_ready::bot_auth::{self, CallerClass};

let caller = bot_auth::classify(
    headers.get("signature-agent").map(String::as_str),
    headers.get("signature-input").map(String::as_str),
    headers.get("signature").map(String::as_str),
    false, // pass true only when a trusted edge verifier confirmed the signature
);
  • CallerClass::Anonymous when no Signature-Agent header is present.
  • CallerClass::Declared { agent } when headers are present without an upstream cryptographic verdict.
  • CallerClass::Verified { agent } only when a trusted upstream verifier has checked the signature against the agent’s published key directory.

Constrained applications do not fetch remote key directories or verify Web Bot Auth Ed25519 signatures directly. Treat CallerClass::Declared as an unverified claim for logging and analytics, never as an authorization boundary.

Next steps

Ferrite counts page views on this site. Privacy · Terms · Support