Voyant Travel Assistant
Plan → Act → Receipts → Verify.
Single meta‑agent pipeline with tool calling, receipts, verification, Amadeus flights, Vectara policy RAG, Brave/Tavily search, and Crawlee/Playwright fallback.
██╗ ██╗ ██████╗ ██╗ ██╗ █████╗ ███╗ ██╗████████╗
██║ ██║██╔═══██╗╚██╗ ██╔╝██╔══██╗████╗ ██║╚══██╔══╝
██║ ██║██║ ██║ ╚████╔╝ ███████║██╔██╗ ██║ ██║
╚██╗ ██╔╝██║ ██║ ╚██╔╝ ██╔══██║██║╚██╗██║ ██║
╚████╔╝ ╚██████╔╝ ██║ ██║ ██║██║ ╚████║ ██║
╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝
Please use the CLI for the complete feature set.
Key Features
Anti‑Hallucination
Self‑evaluates to prevent hallucinations, requiring citations and secondary verification.
Web Insights
Crawlee/Playwright crawling with anti-bot stealth for policy extraction. Brave/Tavily search with fallback when internal data insufficient.
Smart Routing
AI‑first planning with OpenAI‑style tool calling, strict JSON control blocks, and Zod‑validated inputs. Natural multi‑turn support.
Multi-Source Data Integration
Connects to Open‑Meteo, REST Countries, OpenTripMap, and Amadeus for verified travel info.
Enterprise-grade RAG
Advanced retrieval-augmented generation with Vectara integration for searching and retrieving information from internal knowledge bases, policy documents, and enterprise data sources.
Clean Architecture
CLI/REST API with TypeScript validation, 685+ tests, circuit breakers, rate limiting, and Prometheus observability.
Quick Start
cd root && npm install
# Start CLI
npm run cli
# Or start HTTP server npm run start
Live Conversation Demo
npm run cliPOST /chat, GET /healthz, GET /metrics⚡ Update: Functionality has been significantly expanded since this conversation was recorded. For the full experience with latest features including advanced RAG, policy search, and enhanced routing, please use the CLI version instead of just reading the transcript.
Notes on Prompt Engineering
- Format Priming: Enforced JSON/bullet-point schemas ensure structured, parseable outputs while preventing hallucinations.
- Few-Shot Prompting: Curated examples in router.md and cot.md train accurate intent classification and slot extraction.
- Chain-of-Thought: Structured reasoning in cot.md and verify.md decomposes analysis into verifiable steps.
- Guardrails: blend.md requires fact-grounding + verify.md provides secondary validation of claims.
- Query Optimization: Rewrites user search queries to reduce noise.
Other Perks
- Anti-hallucination receipts with self-check and sources.
- Resilient data blend: APIs → search fallback when providers fail.
- Smart routing + memory for natural multi-turn conversations.
- Optional /metrics endpoint (Prometheus or JSON) and structured logs (PII‑redacted by default).
- Security-conscious: host allowlist, timeouts, retries with jitter, and circuit-like backoff.
- E2E transcripts and golden tests for the core scenarios.
Priority Roadmap
- Linear graph today: prioritized debuggability and clear guardrails; interfaces are stateless and typed to drop in parallel branches and rollbacks.
- Prod wrappers: avoided Docker/CI to keep local start ≤5 min; packaging and minimal CI are listed below.
- check_circleRouter Optimization: COMPLETED
Implemented AI‑first planning with OpenAI‑style tool calling and strict JSON control blocks. Zod‑validated inputs and robust error handling reduce LLM calls while improving determinism. - check_circleWeb Insights: COMPLETED
Implemented Crawlee (Cheerio/Playwright) for comprehensive web page content extraction and AI summarization when users request complex queries, providing detailed analysis beyond basic search snippets with source citations and receipts. Cheerio handles the fast/simple pages, Playwright handles the complex ones that need JavaScript rendering. - check_circlePolicy RAG & Anchored Citations: COMPLETED
Implemented Vectara RAG integration for airlines, hotels, and visas. Seeded policy documents with paragraph‑level citations (URL + snippet) in receipts. Robust error handling and Brave/Tavily fallbacks. - check_circleFlight Search Integration: COMPLETED
Implemented Amadeus API integration for live flight search with complete itineraries, pricing, connection details, and IATA code conversion. Features natural language date parsing and comprehensive flight information display. - check_circleCircuit Breaker & Rate Limiting: COMPLETED
Implemented opossum circuit breaker with per-host configuration and Bottleneck rate limiter. Features configurable timeouts, error thresholds, and comprehensive metrics/stats collection with /metrics endpoint integration. - check_circlePolicy Browser Mode v1: COMPLETED
Headless Playwright navigation to official policy pages with screenshot+DOM evidence, verbatim citations, and content hashing for chain of custody. - constructionIRROPS & Partial-Leg Changes: FOUNDATION READY
Foundational components implemented: PNR schemas, constraint validators (MCT/fare/carrier), option ranking algorithms, and disruption classification. Ready for production workflow integration and policy rule engine connection. - Hotels & Stays (Amadeus): City + dates + guests search with policy compliance filtering, loyalty integration, and unified itinerary view.
- Profile & Policy Guardrail Engine: YAML-based rules engine for corporate travel policy with IN-POLICY/OUT-OF-POLICY badges and exception workflows.
- Unified Itinerary & Smart Notifications: Merged flights+hotels+POIs with ICS export and proactive nudges (check-in, gate changes, cancellation windows).
- Trip Risk & Resilience Score: Predictive disruption scoring with Plan B recommendations based on MCT buffers, weather patterns, and carrier reliability.
- Enterprise Observability & Packaging: P95/P99 metrics, OpenAPI documentation, Docker/Lambda packaging, and cost guardrails with budget controls.