AI · Healthcare · Desktop
RAFIQ AI Assistant
An AI-powered smart medical and home assistant a local-first desktop app with a modular RAG workflow and real-time MQTT.
相棒
Companion
- Domain
- AI · Desktop · IoT
- Stack
- Electron · React · TypeScript · Fastify

Public landing page capture
01Overview
The work, clearly
RAFIQ is a flagship AI assistant that combines healthcare support with smart-home automation. It runs as a cross-platform, local-first desktop application with Electron, Fastify and SQLite, uses a modular Retrieval-Augmented Generation workflow for context-aware responses, and communicates with devices in real time over MQTT.
- 01Designed and built the flagship assistant combining healthcare support with smart-home automation.
- 02Architected a modular RAG workflow for context-aware assistant responses.
- 03Implemented real-time MQTT communication for device monitoring and home automation.
- 04Resolved critical data-persistence and AI-chat reliability issues, improving production stability.
02Architecture
A clear path from signal to interface
The system is split into focused services, with the backend mediating the assistant and the desktop interface.
01
rafiq-ai
Speech-to-text, LLM and text-to-speech services
02
rafiq-backend
Fastify, SQLite, Server-Sent Events and MQTT
03
rafiq-gui
Electron and React desktop interface
The interface never talks to the AI service directly every request flows through the backend, which streams results to the GUI over SSE.
03Stack
Tools with a purpose
- Electron
- React
- TypeScript
- Fastify
- SQLite
- MQTT
- RAG
- RESTful APIs
Sources
- CV Featured Projects
- github.com/TheSeifDev/rafiq-system README
- phantomsio.vercel.app/rafiq