How We Built Travel Guild: A Builder’s Honest Account

· Source: Towards AI - Medium · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Robotics & Autonomous Systems · Depth: Intermediate, long

Summary

Travel Guild is an agentic travel assistant designed to safely transact on a traveler's behalf, addressing the high failure rates (up to ~30%) observed in single-LLM agents attempting complex booking tasks. Initial attempts with a single qwen3-max agent showed unpredictable failures like inventing hotels or silently dropping itinerary legs, even with thorough prompt engineering. The core problem was identified as structural, not algorithmic, stemming from mixing generative reasoning with deterministic constraint enforcement. Travel Guild's architecture employs eleven specialist agents (e.g., Budget, Risk, Visa/Compliance) coordinated by a deterministic orchestrator, each handling a non-overlapping responsibility and gating its boundary with deterministic checks. This "society of specialists" approach, combined with four distinct interaction protocols (MCP, A2A, UCP, AP2), achieved 100% booking success with zero variance on feasible scenarios. The system also incorporates robust safety gates for budget, visa, health, risk advisories, and insurance, culminating in a "one consent" human authorization step.

Key takeaway

For AI Architects designing agentic systems involving real-world transactions, recognize that robust safety and reliability stem from architectural design, not just model capabilities. You should prioritize separating stochastic generative tasks from deterministic constraint enforcement by employing specialist agents and external, unarguable gates. Implement distinct communication protocols for different interaction types, such as dedicated commerce and payment protocols, to ensure verifiable human consent and prevent silent failures or unauthorized spending.

Key insights

Safe autonomous agentic commerce is an architectural problem, not a model problem, requiring structural containment of stochasticity.

Principles

Method

Implement a "society of specialists" architecture where eleven agents handle distinct, gated responsibilities, coordinated by a deterministic orchestrator using four specific interaction protocols (MCP, A2A, UCP, AP2).

In practice

Topics

Code references

Best for: AI Engineer, AI Architect, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Towards AI - Medium.