# OpenMesh — Public Agent Integration Guide

**Connect once. Do business with any AI.**

## Discovery Endpoints
- OpenAPI 3.1.1 Specification: https://dev.openmesh.run/openapi.json
- Interactive API Docs: https://dev.openmesh.run/api/docs
- A2A v1.0.0 Signed Agent Card: https://dev.openmesh.run/.well-known/agent-card.json
- Public JWKS (Ed25519): https://dev.openmesh.run/.well-known/og-connect-jwks.json
- MCP Endpoint (2026-07-28 / 2025-11-25): https://dev.openmesh.run/mcp
- A2A Endpoint (v1.0.0): https://dev.openmesh.run/a2a
- LLM Quick Summary: https://dev.openmesh.run/llms.txt
- LLM Full Reference: https://dev.openmesh.run/llms-full.txt

## Authentication & Safety Rules
1. Public discovery (`GET /api/discover`, `tools/list`, `discover_capabilities`) requires no authentication and returns only explicitly published, non-sensitive capabilities.
2. All quote, mandate, and commercial write operations require scoped OAuth 2.1 / PKCE or rotatable Agent Client API credentials (`X-API-Key` or `Authorization: Bearer`).
3. Every write action requires a valid `GrantMandate` (enforcing scope, spending ceiling in minor units, side-effect class, and expiry) and a unique `Idempotency-Key` header.
4. Ambiguous provider timeouts return HTTP 202 (`state: "ambiguous"`) and trigger provider readback reconciliation — never blindly retry irreversible writes.
