Astro Ratan
AI Astrology Chat Engine
A real-time AI consultation engine that conducts Vedic astrology, KP horary, numerology, and Vastu readings through natural conversation. Powered by Gemini Flash with a 5-layer service architecture: requests flow through a gateway, get routed to the correct module, pass through persona-driven prompt engineering, hit the calculation engine, and return contextually-aware responses. Users can ask follow-up questions and the system maintains conversation threading with isolated context windows per module. Supports voice messages, image analysis, and bookmarkable insights.
Highlights
- 5-layer architecture: Gateway → Router → Persona → Engine → Response
- 11 conversation modules — each with isolated context and memory
- Real-time WebSocket streaming with automatic reconnection
- Custom mini-interpreter system for dynamic astrological calculations
- Deployed on Coolify: health monitoring, auto-restart, zero-downtime deploys
Tech Stack
- Python
- FastAPI
- Gemini AI
- WebSocket
- PostgreSQL
- Docker
View the interactive portfolio Hire me
More projects
- CorpAstro — AI-Powered Astrology Platform
- Grahvani — Pro Astrologer SaaS Desktop Tool
- Astro Agastya — Always-On AI Agent Platform
- Gowraj Ghee — E-Commerce Platform