-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Dusan Milicevic edited this page Apr 17, 2026
·
3 revisions
75 AI agents. 6 supplier adapters. 2,985 tests. One platform for the entire travel distribution stack.
OTAIP is an open-source AI agent orchestration platform purpose-built for the travel industry. It covers the full lifecycle — search, price, book, ticket, change, refund, settle — across GDS, NDC, and Offers & Orders distribution channels.
- A full-service OTA — search across multiple suppliers in parallel, evaluate offers against traveler context, book, take payment, issue tickets, retrieve bookings, void, cancel, exchange, refund. Multi-channel fallback (NDC → GDS → direct) when the primary supplier fails.
- A complete TMC — everything an OTA does, plus traveler profiles with loyalty, SSRs, and document storage; corporate account policies (cabin ceilings, fare limits, advance-purchase thresholds, blocked carriers, negotiated fares); mid-office automation (pre-ticketing validation, queue management); duty of care (locate travelers by airport and time, 20-country destination risk data); corporate reporting; BSP and ARC reconciliation.
-
An airline distribution platform — NDC Offers & Orders retailing (AIDM 24.1
OrderCreate/OrderRetrieve/OrderChange/OrderCancel) coexisting with GDS PNR viaBookingReference. Offer construction with fare rules, taxes, and ancillaries. Ticketing with ETR plus EMD-A and EMD-S. Hooks for dynamic pricing and revenue management. - A hotel booking platform — HAIP adapter, property deduplication (Jaro-Winkler + Levenshtein + Haversine), content normalization (room taxonomy, 11 amenity categories), rate comparison with parity detection, California 24-hour cancellation rule, CRS-to-PMS confirmation verification, virtual card payment routing.
-
A travel AI assistant —
AgentLoopplus pipeline validator with six gates that prevent LLM hallucinations (no fabricated offer IDs, no destination drift mid-flow, no ticketing without approval). Auto-generated Claude MCP tool definitions, OpenAI function-calling schemas, and standalone JSON Schema catalogs, all derived fromAgentContract.
- A BSP/ARC reconciliation system — HOT file parser (EDI X12 plus fixed-width ASCII), IAR parser (X12 / CSV / XML), agency-to-BSP matching with discrepancy detection, commission management (overrides, tiers, effective dates, net remit), ADM dispute tracking with 15-day windows and 5-day warnings, ACM processing.
-
A revenue accounting system — coupon lift (
OPEN→USED), deferred revenue calculation, interline settlement (SIS proration), multi-dimensional financial reporting (9 report types), decimal-safe currency arithmetic viadecimal.js. - An IRROPS response engine — 60-minute delay trigger, EU261 compensation calculation (distance bands, 31 countries, 50-percent reduction windows), US DOT 220% / 400% denied-boarding rules, alliance and interline reprotection, waitlist management.
-
A compliance and audit platform —
EventStorewith full audit trail, PII redaction, 2555-day retention (IATA / PCI), 1095-day GDPR retention, right-to-erasure, per-event aggregation with p50 / p95 / p99 percentiles. - A governance dashboard — performance audit (latency percentiles, error rates, degraded-agent detection with configurable thresholds), routing audit (per-channel success rates, fallback frequency), deterministic recommendation engine, alert agent with separate GDS and NDC thresholds.
-
A fare intelligence engine — ATPCO Categories 1–20 parsing, branded-fare shopping, fare construction (NUC × ROE, TPM/MPM proration, HIP/BHC/CTM checks),
OfferEvaluatorAgentwith multi-dimensional scoring against traveler profiles (business time-critical, leisure, price-sensitive). - An ancillary merchandising platform — baggage, seats, meals, lounge access, insurance, per-passenger and per-segment pricing, RFIC A–I classification, EMD-A and EMD-S issuance.
- A corporate policy enforcement engine — cabin ceilings, advance-purchase thresholds, fare limits, blocked and preferred carriers, bypass workflows, negotiated-fare enforcement.
- A document verification pipeline — passport regex per nationality, 6-month validity windows, APIS requirements by country, visa rules for 20+ destinations, pre-check-in readiness scoring.
- A loyalty accrual calculator — class and status multipliers, OneWorld / SkyTeam / Star Alliance partner tables, mile conversion.
- A multi-supplier search aggregator — parallel queries across GDS + NDC + LCC + aggregator adapters, source attribution per offer, per-adapter timeouts with partial-result handling, circuit-breaker-aware channel selection.
-
A plugin system — register third-party agents at runtime via
PluginManagerAgent, semver validation, capability discovery. - A CLI for operations — list agents by stage, dry-run pipeline validation against any contracted agent, list adapters with health status, search / price / book from the terminal.
-
A reference OTA to fork — Fastify server, plain HTML/JS frontend, Duffel-or-mock adapter selection, multi-adapter search mode, complete booking-to-ticket flow in
examples/ota/.
Everything above is built from the same set of 75 typed agents and 6 supplier adapters — pick the ones you need, ignore the rest.
| Page | What It Covers |
|---|---|
| Getting Started | Clone, install, configure, run your first search in 5 minutes |
| Architecture | How agents, pipeline validator, capability registry, and adapters fit together |
| Agents | All 75 agents across 10 operational domains |
| Adapters | 6 supplier adapters: Amadeus, Sabre, Navitaire, TripPro, Duffel, HAIP |
| Pipeline Contract | The AgentContract system — schemas, validators, confidence scoring |
| Reference OTA | The fork-and-go OTA example application |
| CLI | Command-line interface for searching, booking, and managing agents |
| Offers and Orders | ONE Order / OOSD support — PNR and Order models coexisting |
| Adapter | Type | Channel | Auth | Key Capabilities |
|---|---|---|---|---|
| Amadeus | GDS | EDIFACT/REST | OAuth2 | Search, Price, Book, Cancel |
| Sabre | GDS | REST (BFM v5) | OAuth2 ATK | Search, Price, Book, Cancel |
| Navitaire | LCC/Hybrid | REST (dotREZ v4.7) | JWT | Search, Price, Book, Cancel, ONE Order Certified |
| TripPro/Mondee | Aggregator | REST+SOAP | Dual token | Search, Book, Post-booking |
| Duffel | NDC | REST | API token | Search, Price, Book, Cancel, e2e tests |
| HAIP | Hospitality | REST | Bearer | Search, Book, Modify, Cancel |
git clone https://github.com/telivity-otaip/otaip.git
cd otaip
pnpm install
pnpm build
pnpm test
pnpm --filter ota devSee Getting Started for the full walkthrough.
- Language: TypeScript (strict mode)
- Runtime: Node.js 24.14.1+
- Package manager: pnpm (monorepo with 16 workspace packages)
- Test framework: Vitest
- Architecture: Agent-based with pipeline contract enforcement
- GitHub Repository
- Telivity — Commercial layer built on OTAIP