LiburKuy is a Platform can directly as assistant for addding schedule for vacation and setup best place based on your budget or interest. This project is a Proof-of-Concept (PoC) for an autonomous vacation planner agent built with LangChain and LangGraph. The agent is integrated with Telegram as the user interface, utilizing a hybrid model approach: a Hugging Face model for conversational NLU and an agentic workflow for travel coordination.
- Autonomous Planning: Identifies travel intent and extracts destinations/dates from user input.
- Mock Web Scraping: Simulates real-time flight searches on Traveloka/Agoda using a dummy database.
- State Management: Uses LangGraph to manage the workflow "Search -> Wait for Payment -> Sync Calendar".
- Calendar Integration: Automatically creates Google Calendar events and generates .ics files upon successful "payment".
- Orchestration: LangGraph & LangChain.
- NLU/Chat: Hugging Face Transformers.
- Interface: Python Telegram Bot API.
- Database: Mock PostgreSQL/JSON (Simulating scraped data).
- Tools: Google Calendar API, ics library.
- Clone the repo:
git clone https://github.com/rachmanz/LiburKuy. - Install dependencies:
pip install -r requirements.txt. - Setup Environment: Provide TELEGRAM_TOKEN and GOOGLE_CALENDAR_CREDENTIALS in a .env file.
- Run the bot:
python main.py.
| Risiko | Skenario Serangan | Mitigasi |
|---|---|---|
| Session Hijacking | Orang lain menggunakan HP user yang tidak terkunci untuk melakukan booking otomatis. | Tambahkan konfirmasi akhir atau "Password Transaksi" sebelum Node Payment berjalan. |
| Data Privacy | Detail perjalanan (surabaya-jakarta) tersimpan di log Telegram. | Implementasi kebijakan retensi data yang menghapus log chat sensitif setelah 24 jam. |