Travel disruptions are a dependency problem

A delayed flight is never just a delayed flight. It can break a connection, leave luggage without enough transfer time, invalidate an airport pickup, turn a hotel booking into a no-show, and make a calendar obsolete. Travelers usually have to discover and repair every consequence themselves, across several apps, while stressed and in transit.

Trip Watch is a Telegram-first autonomous travel agent that turns an itinerary into a protected trip.

A traveler can either plan a new journey in plain English or forward a PDF ticket, booking confirmation, screenshot, email, or Apple Wallet pass. Gemini extracts the itinerary, while Trip Watch builds a durable dependency graph across flights, connections, transfers, hotel arrival, weather, and calendar context.

From there, the agent works in the background. It monitors scoped travel signals, validates evidence, calculates the blast radius of a disruption, and handles only the actions the traveler has authorized. It sends a proactive message before the traveler has to ask. If a decision involves money, a penalty, ambiguity, or an irreversible change, Trip Watch pauses and asks once for approval.

The core design principle is probabilistic reasoning, deterministic authority. Gemini helps understand travel documents, interpret grounded signals, rank options, and explain what is happening. Deterministic code owns time feasibility, spending limits, policy decisions, idempotency, workflow state, and verification. The model can never silently charge a card, invent a booking, or approve an action outside the traveler’s policy.

In the demo, a traveler forwards a synthetic Warsaw → Munich → Lisbon booking. Trip Watch creates watchpoints, detects a verified delay, identifies the missed connection and downstream hotel/transfer risk, runs Visa & Baggage Guardian checks, performs safe actions, and asks for approval only for a €34 recovery action that exceeds the traveler’s €20 limit. It resumes from durable Firestore state, verifies the outcome, and creates a review-only EU261 compensation draft.

We built Trip Watch with Gemini through Vertex AI and Google ADK, backed by Cloud Run, Firestore, Pub/Sub, Secret Manager, FastAPI, and the Telegram Bot API. The biggest lesson was that a useful autonomous agent is not defined by how much it can say — it is defined by how safely it can act, recover from failure, and keep the human in control when the decision truly matters.

Built With

  • docker
  • fastapi
  • firestore
  • gemini
  • google-adk
  • google-cloud-run
  • google-search-grounding
  • pub/sub
  • pydantic
  • pytest
  • python
  • react
  • ruff
  • secret-manager
  • telegram-bot-api
  • vercel
  • vertex-ai
  • vite
Share this project:

Updates