# Patent Claims AI - LLM Agent Integration Guide

> Taiwan Patent & Trademark Agent-Ready Micro-Database. Edge-native on Cloudflare Serverless.

## Overview
Patent Claims AI provides ultra-low latency (<200ms) edge endpoints designed specifically for AI agents, research bots, and legal-tech automation.

## Core Endpoints
- `GET /api/patent/{app_no}`: Retrieve patent metadata and distilled independent claims markdown.
  - Recommended header: `Accept: text/markdown` for token-optimized excerpts.
  - Standard JSON: `Accept: application/json`.
- `GET /api/search?q={query}&limit={limit}`: FTS5 full-text search across titles, applicants, and IPC codes.
- `GET /api/patent/{app_no}/family`: Get patent family and associated priority/divisional applications.
- `POST /api/batch`: Bulk status check for multiple application numbers.
- `POST /api/webhooks/subscribe`: Register webhook alert for status changes in specific IPC classes.
- `GET /api/telemetry/agents`: Telemetry stats of agent queries and activity.

## Agent Specifications
- Manifest: `/.well-known/ai-agents.json`
- Model Context Protocol: `/.well-known/mcp/server-card.json`
- Agent-to-Agent (A2A): `/.well-known/agent-card.json`
- RFC 9309 Catalog: `/.well-known/ai-catalog.json`
