# AGENTS.md

## Overview

This is Basil Mitsubishi's AI-agent discovery surface — a machine-readable companion to
Basil Mitsubishi's main website, not a software project. There is no source code, build
step, or codebase at this host for a coding agent to work in. If you're a coding
agent that's been asked to integrate with Basil Mitsubishi's data, or a general-purpose
agent that reached this file while crawling, the sections below are what you need.

## Installation

There is nothing to install. This is a hosted service, not a package — point any
HTTP client at `https://agent.basilmitsubishi.com` and start calling the endpoints below directly.

## Configuration

No configuration is required to read data — every endpoint works with no credential
at all. If your framework expects to authenticate anyway, see
[Authentication](#authentication) below for the one real, optional flow this
platform supports.

## Usage

```http
GET https://agent.basilmitsubishi.com/api/v1/basil-mitsubishi/business
```

```json
{ "@context": "https://schema.org", "@type": "AutoDealer", "name": "Basil Mitsubishi", "..." : "..." }
```

See [Data access](#data-access) below for the full list of real, callable endpoints.

## What's here

- Business info, live vehicle inventory, and customer testimonials as structured
  JSON-LD (Schema.org) — see [Data access](#data-access) below.
- An MCP (Model Context Protocol) server exposing the same data as callable tools.
- An A2A (Agent2Agent) agent card for agent-to-agent interoperability.
- Optional OAuth 2.0 endpoints for agents that expect to authenticate — every
  endpoint below already works without one.

## Data access

- `GET https://agent.basilmitsubishi.com/api/v1/basil-mitsubishi/business` — contact info, address, hours, ratings
- `GET https://agent.basilmitsubishi.com/api/v1/basil-mitsubishi/vehicles` — live inventory
- `GET https://agent.basilmitsubishi.com/api/v1/basil-mitsubishi/testimonials` — customer reviews
- `GET https://agent.basilmitsubishi.com/llms.txt` — a plain-text index of this business, aimed at LLMs
- `GET https://agent.basilmitsubishi.com/sitemap.md` — a structured map of every discovery endpoint

## Protocols

- `GET https://agent.basilmitsubishi.com/.well-known/mcp/server-card.json` — MCP server details
- `GET https://agent.basilmitsubishi.com/.well-known/agent-card.json` — A2A agent card
- `GET https://agent.basilmitsubishi.com/.well-known/agent-skills/index.json` — loadable agent skill files
- `GET https://agent.basilmitsubishi.com/.well-known/api-catalog` — RFC 9727 API catalog

## Authentication

See [`https://agent.basilmitsubishi.com/auth.md`](https://agent.basilmitsubishi.com/auth.md) for the full walkthrough. In short:
authentication is optional everywhere — no request below requires a credential to
succeed.

## Conventions

- All data is served as JSON-LD (Schema.org) unless noted otherwise.
- Every endpoint sets `Access-Control-Allow-Origin: *` — no CORS proxy needed.
- Responses are cached (`Cache-Control: public, s-maxage=3600`) — safe to poll
  periodically rather than on every request.
