AI Course Agent
RAG chatbot in production for an IT training institute: it recommends courses on the website and in LINE, with an admin dashboard for human handoff.
- Category
- AIWeb appWeb platformLLMChatbotLINE OAAI agent
- Developers
Anupun Khumthong+1 more

AI Course Agent is a course-advisor chatbot that AGICAFET built for a Thai IT training institute, and it runs in production. Visitors ask in plain Thai or English, on the institute's website or in its LINE Official Account, and the agent answers from the live course catalog: what to learn, what it costs, when the next class is and what is on promotion. When it can't help, or the customer wants a person, it hands the chat to the institute's staff.
The client's brand is blurred in the screenshots.
The AI
- Retrieval-augmented generation (RAG): Vertex AI Search finds the right courses in the catalog, and Gemini 2.5 Flash writes the answer from them
- Each message is first classified by intent (a skill or course, online courses, class dates, a budget, promotions, FAQs, or a request for a person) with structured output, so the right tool answers it
- Course data, class dates and promotions come from the institute's own API, so answers stay current
- It remembers the last 30 messages of each conversation, separately for each channel
- It notices a frustrated customer, such as the same question sent again, and offers a human admin
Three channels, one backend
- Web chat: a widget on the institute's website, with course cards, suggested questions and a thumbs up or down on each answer
- LINE: Flex Message course cards with class dates, Quick Reply buttons, and a sticker reward flow
- Admin dashboard: every conversation from both channels in real time; staff take over a chat, switch the AI off for one customer, manage keyword auto-replies and send sticker rewards
Built with
- FastAPI, LangChain and Gemini 2.5 Flash
- Vertex AI Search
- LINE Messaging API
- Next.js admin dashboard with live updates (server-sent events) and JWT sign-in
- PostgreSQL on Cloud SQL
- Google Cloud Run, deployed by Cloud Build
Screenshots
Web chat



LINE Official Account



Admin dashboard (demo data)













