Back to browse
GitHub Repository

Machine-readable agent conduct rules for restaurants. A /.well-known/restarules.json discovery model.

0 starsJavaScript

RestaRules – A robots.txt for how AI agents interact with restaurants

by selfradiance·Mar 12, 2026·2 points·0 comments

AI Analysis

●●●BangerZero to OneBig Brain

Robots.txt for AI restaurant agents addressing real regulatory compliance needs.

Strengths
  • Genuinely novel standard for emerging AI voice agent reservation problem
  • Includes JSON Schema, validation SDK, CLI checker, and browser voice demo
  • Addresses actual regulations — NY anti-bot laws and EU AI Act disclosure requirements
Weaknesses
  • Adoption depends on industry buy-in from both restaurants and agent builders
  • No enforcement mechanism — relies on voluntary agent compliance
Category
Target Audience

Restaurant owners and AI agent developers

Similar To

robots.txt · schema.org · OpenAPI Specification

Post Description

RestaRules is an open standard that lets restaurants publish machine-readable conduct rules for AI agents. Any agent — voice, booking, concierge — checks a /.well-known/agent-venue-rules.json file before acting. The rules cover things like: must the AI disclose it's not human? Which channels are allowed (phone, web, SMS)? What's the party size limit before a human gets involved? Are deposits required? What are the retry limits? Think of it as robots.txt, but instead of "don't crawl this page," it's "don't book a table for 12 without calling the host stand first." Why now: AI voice agents are already calling restaurants. NY and Philadelphia passed anti-bot reservation laws. The EU AI Act (August 2026) requires AI-to-human disclosure. Restaurants have zero standardized way to set boundaries. The repo includes a v0.2 JSON Schema, a validation SDK, a CLI checker, a reference agent, and a browser voice demo where you can hear an agent fetch live rules and obey them. Live demo: https://selfradiance.github.io/restarules/demo/voice/ Live rules file: https://selfradiance.github.io/restarules/.well-known/agent-... Built solo with no prior coding experience using AI coding agents (Claude Code). Happy to answer questions about the standard or the process.

Similar Projects

Machine-readable CV portfolio (llms.txt, capabilities.json)

This is someone treating a CV as structured data rather than a PDF: resume.json, evidence.json, availability.json, agent-card.json and a curated llms.txt are all exposed plus schema.org JSON-LD. Nice touches include GitHub Actions that validate links and push an IndexNow update on every commit — practical engineering to get content noticed by crawlers and agents. It’s a focused, well-implemented experiment, but its usefulness depends on broader adoption or tooling that consumes these bespoke conventions.

Niche GemBig Brain
vassilbek
203mo ago