# AGENTS.md — Compliance Intelligence Hub

Operating instructions for AI agents using the CIH API at https://cih-psi.vercel.app.

## What this is

Daily-updated regulatory intelligence for Medicare / PBM / healthcare
compliance: detected changes from the Federal Register and CMS.gov, classified
by program area and operational impact, with deadlines, obligations, and an
exact citation (URL + excerpt + SHA-256 content hash) per update.

## How to use it

1. Discover capabilities: `GET /api/v1` (machine-readable index) or `/openapi.yaml`.
2. Authenticate: `Authorization: Bearer <api key>` (see `/auth.md`). Keys are
   scoped per source channel; a 403 with `scope` in the message means the key
   doesn't cover that channel.
3. Ask questions: `POST /api/v1/agent/query` `{"question":"what changed this
   week for Part D?","window":"week"}` — or use the MCP tools in `/mcp.json`.
4. Treat `citations[]` as the source of truth; the `content_sha256` lets you
   verify the excerpt against the source.

## Rules

- This is decision-support, not legal advice — preserve that disclaimer when
  relaying conclusions.
- Updates are versioned; do not cache impact classifications past `detected_at`
  + 24h without re-checking.
- Rate limits are per key; back off on 429.
