Travel Mitra.
Chat to find US hotels by location, price and rating, then ask what guests actually say. Answers come from reviews via hybrid vector and metadata search.


From problem to what's next.
In the order it actually happened. Use the route to jump around.
Hotel search handles location, price and rating, but what guests actually say is buried in reviews, and a free-form SQL agent is not safe to point at a database.
A LangGraph ReAct agent on Gemini 2.5 Flash calls typed tools, and the code owns the SQL. An Airflow ETL fills one Postgres and pgvector database, and FastAPI streams the agent steps over SSE to a Streamlit chat UI.
- 01Built the agent with constrained typed tools for locations, hotels, details and reviews, and a Postgres checkpointer for per-thread state.
- 02Wrote the Airflow ETL: idempotent upserts, raw-payload staging and a monthly TripAdvisor API call budget.
- 03Added hybrid retrieval: vector similarity and structured filters in one pgvector query over denormalized review embeddings.
- 04Streamed agent steps through FastAPI SSE into a Streamlit UI with a hotel-card carousel; LangSmith traces each tool call.
The system, end to end.
- STEP 01Streamlit UIchat bubbles and hotel cards
- STEP 02FastAPISSE streams each agent step
- STEP 03LangGraph agentGemini 2.5 Flash · typed tools
- STEP 04Postgres + pgvectorhotels, reviews, embeddings
- STEP 01TripAdvisor APImonthly call budget
- STEP 02Airflow DAGsidempotent upserts · raw staging
- STEP 03Postgresraw payloads, then clean tables
- STEP 04Embeddingsmodel recorded per row
AND THE FIX
- IDEA
- BUILDING
- LIVE
Public repo; runs locally with docker compose and is not deployed. CI compiles the code, validates compose and builds images.
The road keeps going.
- STOP +1Live date-based pricing via Xotelo /rates
- STOP +2Evals for tool-selection accuracy and answer relevance
- STOP +3A pytest suite targeting 80% coverage