### Preview documentation locally with MkDocs Source: https://github.com/ards-project/ard-docs/blob/main/README.md Creates a virtual environment, installs documentation dependencies, and starts the MkDocs development server for local preview. ```bash python -m venv .venv-docs .venv-docs/bin/pip install -r requirements-docs.txt .venv-docs/bin/mkdocs serve ``` -------------------------------- ### Install GitHub Copilot skill by copying to ~/.copilot/skills/ Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/github-copilot.md Copies the github-copilot skill into the personal Copilot skills directory (~/.copilot/skills/). Copilot also scans ~/.claude/skills/ and .claude/skills/, so skills installed for Claude are picked up automatically. ```bash cp -r connectors/skills/github-copilot ~/.copilot/skills/ ``` -------------------------------- ### Manually install Agent Finder skill Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/claude.md Manually copies the Agent Finder skill folder into the personal skills directory. Use .claude/skills/ for project-level installation. ```shell cp -r connectors/skills/agentfinder ~/.claude/skills/ ``` -------------------------------- ### Install Agent Finder skill via plugin marketplace Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/claude.md Installs the Agent Finder skill as a Claude Code plugin from the connectors marketplace. Run these two commands in order. ```shell /plugin marketplace add ards-project/connectors /plugin install agentfinder@ard-connectors ``` -------------------------------- ### Search and browse registry with curl and jq Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Two Registry role examples: a POST to `/api/ard/search` for semantic search with a filter and page size, and a GET to `/api/ard/agents` to browse all asset types. Both endpoints require a JWT bearer token and are access-scoped; results are ARD `catalogEntry`s plus a `score` (0–100) and `source`. ```bash # Semantic search over the catalog curl -sS -X POST https://your-registry.example.com/api/ard/search \ -H "Authorization: Bearer $TOKEN" \ -H "content-type: application/json" \ -d '{"query":{"text":"financial data tools","filter":{"type":["mcp_server"],"tags":["finance"]}},"pageSize":10}' \ | jq -r '.results[] | "\(.displayName)\t\(.score)"' ``` ```bash # Browse all asset types (MCP servers + A2A agents + skills) curl -sS -X GET "https://your-registry.example.com/api/ard/agents?orderBy=identifier" \ -H "Authorization: Bearer $TOKEN" \ | jq -r '.items[].displayName' ``` -------------------------------- ### Install and use Hugging Face CLI `hf discover` Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Install the Hugging Face CLI and use the `hf discover` command to search for Skills, ML Applications, and MCP Servers. The `--json --kind mcp` flag filters results to MCP servers, `--registry-url` targets other ARD-compliant registries, and `navigate` explores a federated catalog from a website. ```bash # Install the Hugging Face CLI tool: uv tool install huggingface_hub # Search for resources to train a model hf discover search "Fine tune a language model" # Find MCP Servers to generate an image hf discover search "Generate an image" --json --kind mcp # Search other registries hf discover search "Purchase aeroplane tickets" --registry-url # Navigate a federated catalog from a website hf discover navigate "Research biomedical datasets" ``` -------------------------------- ### GET https://ora.ai/api/ard/attestation/{product} Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Verifies a product's agent-readiness scorecard attestation. ```APIDOC ## GET https://ora.ai/api/ard/attestation/{product} ### Description Retrieves the agent-readiness scorecard attestation for a specific product, signed as a detached Ed25519 JWS and verifiable against the JWKS at ora.ai/.well-known/jwks.json. ### Method GET ### Endpoint https://ora.ai/api/ard/attestation/{product} ### Parameters #### Path Parameters - **product** (string) - Required - The product identifier (e.g., `resend.com`). ### Response #### Success Response (200) - **subject** (string) - The subject of the attestation. - **score** (number) - The agent-readiness score. - **grade** (string) - The grade assigned. - **issuer** (string) - The issuer of the attestation. #### Response Example ```json { "subject": "...", "score": 0.0, "grade": "...", "issuer": "..." } ``` ``` -------------------------------- ### Run the ANS Finder demo stack Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Clones the ANS repository and starts the demo stack (registry on :18080, transparency log on :18081, finder on :18082), then registers an MCP agent and drives it to ACTIVE. The Finder polls the registry's event feed every 2 seconds in the demo and indexes the agent; a Swagger UI serves the Finder's ARD contract at http://localhost:18082/docs. ```bash git clone https://github.com/agentnameservice/ans && cd ans scripts/demo/start.sh # builds + starts the registry :18080, transparency log :18081, finder :18082 scripts/demo/register.sh --v2 translator.example.com # register an MCP agent and drive it to ACTIVE ``` -------------------------------- ### GET /.well-known/ai-catalog.json Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Retrieves the catalog manifest for the Publisher role. It renders a conformant, anonymous `/.well-known/ai-catalog.json` from the registry's records, listing only public and enabled assets. Each entry carries a domain-anchored URN (`urn:air:::`), the IANA media type for its kind, and an `https` `trustManifest`. ```APIDOC ## GET /.well-known/ai-catalog.json ### Description Retrieves the catalog manifest for the Publisher role. It renders a conformant, anonymous `/.well-known/ai-catalog.json` from the registry's records, listing only public and enabled assets. Each entry carries a domain-anchored URN (`urn:air:::`), the IANA media type for its kind, and an `https` `trustManifest`. ### Method GET ### Endpoint `/.well-known/ai-catalog.json` ### Response #### Success Response (200) - **specVersion** (string) - The ARD specification version. - **host** (object) - Contains `displayName` for the registry host. #### Response Example ```json { "specVersion": "0.91", "host": { "displayName": "Your Registry" } } ``` ``` -------------------------------- ### GET https://ai-catalog.outshift.io/v1/agents Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Discovers agents in the Cisco AI Catalog with filtering by card type. ```APIDOC ## GET https://ai-catalog.outshift.io/v1/agents ### Description Discovers agents in the Cisco AI Catalog, supporting filtering by card type (e.g., A2A agent cards or MCP server cards) and returning results with display names, card URLs, and trust manifest details. ### Method GET ### Endpoint https://ai-catalog.outshift.io/v1/agents ### Parameters #### Query Parameters - **filter** (string) - Optional - Filter expression to select agents by type, e.g., `type=application/a2a-agent-card+json`. ### Response #### Success Response (200) - **results** (array) - List of matching agents. - **displayName** (string) - Display name of the agent. - **data.card_data.url** (string) - URL of the agent card. - **identifier** (string) - Agent identifier (fallback when card URL is not present). - **trustManifest.identity** (string) - Publisher identity from trust manifest. - **trustManifest.identityType** (string) - Type of the identity. #### Response Example ```json { "results": [ { "displayName": "...", "data": { "card_data": { "url": "..." } }, "trustManifest": { "identity": "...", "identityType": "..." } } ] } ``` ``` -------------------------------- ### GET https://ai-catalog.outshift.io/.well-known/ard.json Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Pulls the ARD catalog manifest from the Cisco AI Catalog. ```APIDOC ## GET https://ai-catalog.outshift.io/.well-known/ard.json ### Description Retrieves the ARD catalog manifest for the Cisco AI Catalog, which lists the catalog's entries and supports secure verification through trust manifests. ### Method GET ### Endpoint https://ai-catalog.outshift.io/.well-known/ard.json ### Response #### Success Response (200) - **entries** (array) - List of catalog entries. #### Response Example ```json { "entries": [ { "identifier": "...", "type": "...", "data": {} } ] } ``` ``` -------------------------------- ### GET https://ora.ai/api/ard/agents Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Browses agents in the Ora Directory registry with filtering. ```APIDOC ## GET https://ora.ai/api/ard/agents ### Description Browses agents in the Ora Directory registry, supporting filter expressions and pagination. ### Method GET ### Endpoint https://ora.ai/api/ard/agents ### Parameters #### Query Parameters - **filter** (string) - Optional - Filter expression, e.g., `type = 'application/mcp-server-card+json'`. - **pageSize** (integer) - Optional - Number of results to return. ### Response #### Success Response (200) - **items** (array) - List of matching agents. - **displayName** (string) - Display name of the agent. #### Response Example ```json { "items": [ { "displayName": "..." } ] } ``` ``` -------------------------------- ### GET /api/ard/agents Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Browses all asset types (MCP servers + A2A agents + skills). This endpoint is JWT-required and access-scoped: a caller only sees the assets it is authorized to access. Results are ARD `catalogEntry`s. ```APIDOC ## GET /api/ard/agents ### Description Browses all asset types (MCP servers + A2A agents + skills). This endpoint is JWT-required and access-scoped: a caller only sees the assets it is authorized to access. Results are ARD `catalogEntry`s. ### Method GET ### Endpoint `/api/ard/agents` ### Parameters #### Query Parameters - **orderBy** (string) - Optional - Field to order results by (e.g., `identifier`). ### Response #### Success Response (200) - **items** (array) - List of catalog entries. - **displayName** (string) - Display name of the asset. #### Response Example ```json { "items": [ { "displayName": "Example Agent" } ] } ``` ``` -------------------------------- ### Verify a scorecard from Ora Directory Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Fetches the attestation for a product (resend.com) and extracts subject, score, grade, and issuer. ```bash curl -sS https://ora.ai/api/ard/attestation/resend.com \ | jq '{subject, score, grade, issuer}' ``` -------------------------------- ### Check conformance with conformance-test Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Clones the ARD specification repository and runs the conformance test suite in registry mode against the Finder's ARD endpoint at http://localhost:18082/v1. Validates the Finder's implementation against the project's conformance suite. ```bash git clone https://github.com/ards-project/ard-spec ard-spec/conformance/bin/conformance-test registry http://localhost:18082/v1 ``` -------------------------------- ### POST /search request with query, federation, and pageSize Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_build_a_client.md Send the user's intent to the discovery service's POST /search endpoint. The request includes a query object with text and optional filter, plus root-level federation and pageSize. query.text is required; query.filter values are OR'd within a key and AND'd across keys. federation can be auto, referrals, or none; pageSize defaults to 10 with a max of 100. ```json POST https://your-discovery-service/search { "query": { "text": "book me a flight to Tokyo", "filter": { "type": ["application/mcp-server+json"] } }, "federation": "referrals", "pageSize": 3 } ``` -------------------------------- ### Configure remote MCP connector in .vscode/mcp.json Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/github-copilot.md Adds the GitHub Agent Finder as a remote MCP server in the workspace .vscode/mcp.json. The default endpoint is https://agentfinder.github.com/api/v1/mcp; replace it to use a different discovery service. ```json { "servers": { "agent-finder": { "type": "http", "url": "https://agentfinder.github.com/api/v1/mcp" } } } ``` -------------------------------- ### Fetch catalog manifest with curl and jq Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Fetches the catalog manifest from a self-hosted MCP Gateway Registry instance and extracts the spec version and host display name. The registry currently serves the pre-v0.91 path `/.well-known/ai-catalog.json`; `ard.json` support is pending upstream. ```bash # Against a self-hosted instance curl -sS https://your-registry.example.com/.well-known/ai-catalog.json \ | jq '.specVersion, .host.displayName' ``` -------------------------------- ### Configure Gemini CLI MCP server in settings.json Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/gemini.md Add the Agent Finder MCP server to your Gemini CLI settings.json. Use httpUrl for a Streamable-HTTP server, url for SSE, or command/args for a local/stdio server. Restart the CLI to make the search tool available. ```json { "mcpServers": { "agent-finder": { "httpUrl": "https://agentfinder.github.com/api/v1/mcp" } } } ``` -------------------------------- ### Pull the Cisco AI Catalog manifest Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Fetches the ARD manifest from the Cisco AI Catalog and counts the number of entries using jq. ```bash curl -sS https://ai-catalog.outshift.io/.well-known/ard.json | jq '.entries | length' ``` -------------------------------- ### Search and browse the Ora Directory registry Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Two commands: one to search for products by task text, and another to browse MCP servers using the filter expression. ```bash # Find products for a task curl -sS -X POST https://ora.ai/api/ard/search \ -H 'content-type: application/json' \ -d '{"query":{"text":"send transactional email"},"pageSize":5}' \ | jq -r '.results[] | "\(.displayName)\t\(.url)"' ``` ```bash # Browse just the MCP servers in the index curl -sS -G https://ora.ai/api/ard/agents \ --data-urlencode "filter=type = 'application/mcp-server-card+json'" \ --data-urlencode "pageSize=5" \ | jq -r '.items[].displayName' ``` -------------------------------- ### Search discovery service with curl and jq Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_build_a_client.md Searches a discovery service for resources matching a text query and pipes the JSON response through jq to extract displayName, type, url, and score for each result. Use this to find a resource before verifying its trustManifest and connecting over its own mechanism. ```bash curl -s https://your-discovery-service/search \ -H 'content-type: application/json' \ -d '{"query":{"text":"summarize a PDF"},"pageSize":3}' \ | jq '.results[] | {displayName, type, url, score}' ``` -------------------------------- ### Verify an entry against the Transparency Log Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Retrieves the SCITT COSE receipt URI from the first search result's trustManifest.attestations[0].uri. This URI resolves to a receipt on the ANS Transparency Log, enabling cryptographic verification of the agent's registration independently of the Finder. ```bash curl -sS -X POST http://localhost:18082/v1/search \ -H 'content-type: application/json' \ -d '{"query":{"text":"translator"},"pageSize":1}' \ | jq -r '.results[0].trustManifest.attestations[0].uri' ``` -------------------------------- ### Create ard.json manifest template Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_publish.md A copy-pasteable JSON template for the ard.json manifest. The identifier must follow the domain-anchored URN standard `urn:air:::`, and representativeQueries should contain 2-5 natural language queries for semantic search. ```json { "entries": [ { "identifier": "urn:air:acme.com:server:weather", "displayName": "Acme Weather Telemetry Server", "type": "application/mcp-server+json", "url": "https://api.acme.com/mcp/weather.json", "capabilities": ["WeatherTool", "ForecastTool"], "description": "An enterprise weather MCP server providing live telemetry.", "representativeQueries": [ "what is the current wind speed in Chicago", "get the 5-day forecast for Seattle" ] } ] } ``` -------------------------------- ### POST /search Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_build_a_client.md This snippet documents the POST /search endpoint of a discovery service, including request body parameters and response structure. ```APIDOC ## POST /search ### Description Sends the user's intent to a discovery service to find catalog entries. The `text` field carries the natural-language need and `filter` narrows by structured fields, both inside `query`; `federation` and `pageSize` are root-level. ### Method POST ### Endpoint https://your-discovery-service/search ### Parameters #### Request Body - **query** (object) - Required - Contains the search criteria. - **text** (string) - Required - The task in plain language. - **filter** (object) - Optional - Structured constraints (`type`, `tags`, `capabilities`, `publisher`, `trustManifest.*`, …). Within a key, values are OR'd; across keys, AND'd. - **federation** (string) - Optional - `auto` (the service merges upstream results), `referrals` (the service returns other services for you to query yourself), or `none`. - **pageSize** (integer) - Optional - Paging size (default 10, max 100). - **pageToken** (string) - Optional - Paging token. ### Request Example ```json POST https://your-discovery-service/search { "query": { "text": "book me a flight to Tokyo", "filter": { "type": ["application/mcp-server+json"] } }, "federation": "referrals", "pageSize": 3 } ``` ### Response #### Success Response (200) - **results** (array) - Ranked catalog entries. - **identifier** (string) - Unique identifier of the entry. - **displayName** (string) - Display name of the entry. - **type** (string) - Type of the entry. - **url** (string) - URL to the entry's schema/endpoint. - **score** (integer) - Semantic relevance ranking (0–100). - **source** (string) - Source registry URL. - **referrals** (array) - Optional list of other services to query. - **identifier** (string) - Unique identifier of the referral. - **type** (string) - Type of the referral. - **url** (string) - URL of the referral service. #### Response Example ```json { "results": [ { "identifier": "urn:air:acme.com:travel:concierge", "displayName": "Travel Concierge", "type": "application/mcp-server+json", "url": "https://api.acme.com/mcp/travel.json", "score": 95, "source": "https://registry.acme.com/api/v1/" } ], "referrals": [ { "identifier": "urn:air:example.org:registry", "type": "application/ai-registry", "url": "https://finder.example.org/search" } ] } ``` ``` -------------------------------- ### Search the ANS Finder with curl Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Searches the ARD Registry REST interface (POST /v1/search) for agents matching the text 'translator' and extracts identifier, displayName, url, and score from each result. Requires the demo stack to be running. ```bash curl -sS -X POST http://localhost:18082/v1/search \ -H 'content-type: application/json' \ -d '{"query":{"text":"translator"},"pageSize":5}' \ | jq '.results[] | {identifier, displayName, url, score}' ``` -------------------------------- ### Host manifest at well-known path Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_publish.md The URL where the ard.json manifest should be hosted. The server must serve it over HTTPS with Content-Type application/json and CORS header Access-Control-Allow-Origin: *. ```text https:///.well-known/ard.json ``` -------------------------------- ### Discover A2A cards from Cisco AI Catalog Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Queries the Cisco AI Catalog for A2A agent cards and outputs display name and card URL or identifier. ```bash curl -sS 'https://ai-catalog.outshift.io/v1/agents?filter=type%3Dapplication%2Fa2a-agent-card%2Bjson' \ | jq -r '.results[] | "\(.displayName)\t\(.data.card_data.url // .identifier)"' ``` -------------------------------- ### Bridge remote MCP connector for older Claude Desktop Source: https://github.com/ards-project/ard-docs/blob/main/docs/connect/claude.md Configuration for older Claude Desktop to bridge the remote MCP connector using mcp-remote. Place in claude_desktop_config.json. ```json { "mcpServers": { "agent-finder": { "command": "npx", "args": ["-y", "mcp-remote", "https://agentfinder.github.com/api/v1/mcp"] } } } ``` -------------------------------- ### POST https://ora.ai/api/ard/search Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Searches the Ora Directory registry for products and services. ```APIDOC ## POST https://ora.ai/api/ard/search ### Description Searches the Ora Directory registry for products and services matching a query, returning results with display names and URLs. ### Method POST ### Endpoint https://ora.ai/api/ard/search ### Parameters #### Request Body - **query.text** (string) - Required - The search query text. - **pageSize** (integer) - Optional - Number of results to return. ### Request Example ```json { "query": { "text": "send transactional email" }, "pageSize": 5 } ``` ### Response #### Success Response (200) - **results** (array) - List of matching products. - **displayName** (string) - Display name of the product. - **url** (string) - URL of the product. #### Response Example ```json { "results": [ { "displayName": "...", "url": "..." } ] } ``` ``` -------------------------------- ### DNS TXT record for custom manifest location Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_publish.md A DNS TXT record that points to a raw JSON location (e.g., S3 or GitHub Pages) when the standard .well-known path is not available. The value is a URL string. ```text "url=https://custom-bucket.s3.amazonaws.com/ard.json" ``` -------------------------------- ### Search response with results and referrals Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_build_a_client.md The response contains ranked catalog entries, each with identifier, displayName, type, url, score, and source, plus optional referrals. The score (0-100) is a semantic relevance ranking and must not be treated as a trust, compliance, or safety rating. ```json { "results": [ { "identifier": "urn:air:acme.com:travel:concierge", "displayName": "Travel Concierge", "type": "application/mcp-server+json", "url": "https://api.acme.com/mcp/travel.json", "score": 95, "source": "https://registry.acme.com/api/v1/" } ], "referrals": [ { "identifier": "urn:air:example.org:registry", "type": "application/ai-registry", "url": "https://finder.example.org/search" } ] } ``` -------------------------------- ### DNS SRV record for dynamic discovery service Source: https://github.com/ards-project/ard-docs/blob/main/docs/how_to_publish.md An SRV record for dynamic discovery services (POST /search). It specifies the service name, type, port 443, and target host. ```text _search._agents.yourdomain.com ``` -------------------------------- ### Search by card type and extract trust details from Cisco AI Catalog Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Queries the Cisco AI Catalog for MCP server cards and extracts display name, trust manifest identity, identity type, and card URL. ```bash curl -sS 'https://ai-catalog.outshift.io/v1/agents?filter=type%3Dapplication%2Fmcp-server-card%2Bjson' \ | jq -r '.results[] | {displayName, identity: .trustManifest.identity, identityType: .trustManifest.identityType, cardUrl: .data.card_data.url} | @json' ``` -------------------------------- ### POST /api/ard/search Source: https://github.com/ards-project/ard-docs/blob/main/docs/ref_implementations.md Performs semantic search over the catalog. This endpoint is JWT-required and access-scoped: a caller only sees the assets it is authorized to access. Results are ARD `catalogEntry`s plus a `score` (integer 0–100) and `source`. ```APIDOC ## POST /api/ard/search ### Description Performs semantic search over the catalog. This endpoint is JWT-required and access-scoped: a caller only sees the assets it is authorized to access. Results are ARD `catalogEntry`s plus a `score` (integer 0–100) and `source`. ### Method POST ### Endpoint `/api/ard/search` ### Parameters #### Request Body - **query** (object) - Required - The search query. - **text** (string) - Required - The search text. - **filter** (object) - Optional - Filter criteria. - **type** (array of string) - Optional - Asset types to include (e.g., `mcp_server`). - **tags** (array of string) - Optional - Tags to filter by. - **pageSize** (integer) - Optional - Number of results per page. ### Request Example ```json { "query": { "text": "financial data tools", "filter": { "type": ["mcp_server"], "tags": ["finance"] } }, "pageSize": 10 } ``` ### Response #### Success Response (200) - **results** (array) - List of search results. - **displayName** (string) - Display name of the asset. - **score** (integer) - Relevance score (0–100). #### Response Example ```json { "results": [ { "displayName": "Financial Data Tool", "score": 95 } ] } ``` ```