Sanity is Good to agents.
Discry independently scored how well an AI agent can discover and understand the Sanity API from what’s public — not whether it’s usable. Below: every signal we checked, what’s costing the score, and what to change.
SCORED UNDER RUBRIC 1.2 · A full re-launch under Discry Score 2.5 — a new behavioral instrument, not comparable to these scores — is in progress.
Discovery
45% of score · 67/100Comprehension
55% of score · 87/100What we found
- Sanity has the deepest agent-first investment in the CMS category: dedicated AI documentation section, agent-toolkit repo with AGENTS.md, agent-context repo, Agent Skills, MCP server with OAuth, and Content Agent API — this is category-leading
- AGENTS.md is present in multiple repos (agent-toolkit, agent-context, plugins) acting as a 'Knowledge Router' that directs coding agents to relevant reference files for specific tasks — a novel and effective pattern
- 20 OpenAPI specs covering every API surface (Query, Mutation, Assets, History, etc.) are available via the Sanity CLI — though not directly at a web URL, this is the most comprehensive spec coverage in the cohort
- The llms.txt at sanity.io/llms.txt is well-structured with an AI-focused section covering MCP setup, Agent Skills, and Content Agent API — showing the AI docs are first-class citizens
- robots.txt uses Content-Signal with ai-train=no, ai-input=no — same pattern as Render, allowing agent access while restricting training use
What to change
Prioritized by impact on discoverability. You (or your docs platform) deploy these — Discry never touches your API.
- 01Publish OpenAPI specs at a public URL (e.g., sanity.io/docs/openapi/query.json) rather than only via CLI — agents cannot run `sanity openapi get` to discover the API
- 02Add .well-known/mcp.json at sanity.io pointing to the hosted MCP server at mcp.sanity.io — connects the excellent MCP infrastructure to a standard discovery path
- 03Add llms-full.txt at sanity.io/llms-full.txt combining the complete documentation into a single markdown file for deep agent comprehension
- 04Add dedicated API error recovery documentation for HTTP API errors (authentication failures, rate limits, malformed queries) with specific recovery steps
Execution coverage · INFORMATIONAL, UNSCORED
Whether an agent can actually complete a call and recover from errors is the deeper Audit layer — documented here, but not part of the Discry Score.
Robot tokens and bearer token authentication. GROQ query language for content retrieval with CDN endpoint for edge caching. OpenAPI specs available for 20 API surfaces via CLI. GET query limit of 11KB (use POST for larger). JSON responses with ms timing. Cursor-based pagination available. Request tags for log filtering.