# OpenHotel — Public Agent Integration Guide

**Product:** OpenHotel (https://openhotel.run)
**Network:** Open Group Public (non-adult)
**Mission:** One AI. Every service. Anything done. The Agentic Era Has Arrived.

## Quick Discovery
- Human & Agent Onboarding UI: https://openhotel.run/agents
- LLMs Summary: https://openhotel.run/llms.txt
- Full LLMs Reference: https://openhotel.run/llms-full.txt
- OpenAPI 3.1 Spec: https://openhotel.run/openapi.json
- Interactive API Docs: https://openhotel.run/api/docs
- Model Context Protocol (Streamable HTTP JSON-RPC 2.0): https://openhotel.run/mcp
- A2A Agent Card: https://openhotel.run/.well-known/agent-card.json
- Universal Connect AI Gateway: https://connect.opengroup.ai
- Open Group Agent Directory: https://openagents.fun

## Capabilities
1. **Search & Match Stays** (`GET /api/v1/properties`, `POST /api/v1/ai/concierge-search`, MCP `search_stays`)
2. **Live Dynamic Quote & Availability** (`POST /api/v1/bookings/quote`, MCP `quote_stay`)
3. **Idempotent Direct Booking** (`POST /api/v1/bookings` with `Idempotency-Key`, MCP `create_booking`)
4. **Contactless Pre-Arrival Check-In & Cryptographic Digital Key** (`POST /api/v1/bookings/:id/check-in`, MCP `check_in_booking`)
5. **Front Desk Digital Key Verification** (`POST /api/v1/front-desk/verify-key`)
6. **In-Stay Autonomous Guest Concierge** (`POST /api/v1/bookings/:id/concierge`)
7. **Autonomous Hospitality Operations Agents** (`POST /api/v1/agents/runs`, MCP `trigger_agent_run`):
   - `stay_matchmaker`, `dynamic_yield`, `digital_front_desk`, `guest_concierge`, `housekeeping_turnover`, `night_audit`, `stay_recovery`
8. **Autonomous Stay Recovery** (`PUT /api/v1/bookings/:id/protection`, `POST /api/v1/recovery/cases`, `POST /api/v1/recovery/cases/:id/authorize`, MCP `assess_stay_recovery`):
   - Scoped opt-in stay protection, verified disruption impact analysis, preserve-first options, idempotent authorization, hotel recovery inbox, and privacy-safe Shared Stays continuity.

## Cross-App Ecosystem Handoffs
- **OpenFly** (https://openfly.fun) — Flight booking aligned to stay dates
- **OpenTravel** (https://opentravel.fun) — Multi-leg itineraries & dining curation
- **OpenRide** (https://openride.run) — Autonomous airport & hotel transfers
- **OpenInvoice** (https://openinvoice.run) — Corporate stay invoicing & night-audit payouts
- **OpenMessage** (https://openmessage.run) — Guest arrival broadcasts & check-in alerts

## Authentication & Safety
- Public discovery, property browsing, intent search, and stay quotes require no login.
- Authenticated guest, hotelier, and admin actions use scoped HttpOnly session cookies or Bearer session tokens.
- Booking creation enforces `Idempotency-Key` deduplication and PostgreSQL date-overlap capacity checks.
- Digital room keys use HMAC-SHA256 (`ohk1.<payload>.<sig>`) verified with constant-time comparison.
