Skip to main content

Astrochat PWA

An AI-powered astrology companion that fits in your pocket. Agentic chat, real-time deep analyses, and persistent daily horoscopes — built with Genkit, Gemini, and Next.js.

Last updated: May 21, 2026

Product
AI Astrology Companion
Case Study
Platform
Progressive Web App
Installable on mobile & desktop
Stack
Next.js 15, Firebase
Genkit, Gemini 2.5 Flash Lite
Timeline
2025

The Context & Challenge

Astrological insight has historically required either expensive human consultations or shallow, mass-produced horoscopes. There was no middle ground: detailed, personalized readings delivered instantly, affordably, and at scale. The challenge was not just building a chatbot that spits out generic text — it was designing an agentic system that generates 12 distinct deep analyses on demand, maintains conversational memory, and produces genuinely useful interpretations without a human astrologer in the loop.

The Solution

A progressive web app built on Next.js 15 App Router with a Genkit-powered agentic backend. The system combines conversational AI with structured astrological computation: users chat naturally with the AI, request deep analyses, and receive persistent daily horoscopes tailored to their birth chart. All user data, chat history, and preferences are stored in Firebase Firestore with real-time sync. The result is a product that removes the cost and friction barrier of traditional astrology while delivering depth that generic horoscope apps cannot match.

  • Next.js 15
  • Firebase
  • Genkit
  • Gemini 2.5 Flash Lite
  • PWA
  • Firestore

Technical Deep Dive

The platform is organized around three technical pillars that turn a simple chat interface into a persistent, intelligent astrology companion.

Agentic Chat with Memory

Built with @genkit-ai and Google Gemini 2.5 Flash Lite. The chat agent remembers context across sessions, references previous readings, and guides users toward deeper analyses. It is not a generic LLM wrapper — it is a specialized agent trained to think in astrological terms and produce structured, interpretable output.

On-Demand Deep Analyses

The system generates 12 distinct astrological analyses on request — from natal chart breakdowns to compatibility reports and transit forecasts. Each analysis is computed in real time using the user's birth data and current celestial positions.

Persistent Daily Horoscope (PWA)

As a Progressive Web App, Astrochat installs like a native app and delivers daily horoscope push notifications via Firebase Cloud Messaging. User preferences, chat history, and birth charts persist in Firestore with offline-first resilience.

Why Agentic Architecture?

A simple chatbot would have produced generic, forgettable text. The agentic approach — using Genkit's structured generation and tool-calling capabilities — allows the system to reason about astrological concepts, reference previous conversations, and generate analyses that feel genuinely personal. This is the same architectural pattern I apply to business use cases: not just "chat with AI," but AI that understands context, remembers state, and produces structured output tailored to the user's needs.

Project Impact

Key outcomes and metrics from the implementation. Every number is drawn from the project scope or the production system.

Twelve analyses, eight seconds

A user requests a professional compatibility reading. The agent reads the natal chart, calculates Jupiter transits, and returns a structured report in under eight seconds. No waitlist. No session fee.

Agent that remembers at 3 AM

At 3:00 AM a user asks about her solar return. The agent references previous conversations, earlier readings, and past context. It never sleeps and never forgets.

PWA on the home screen

Added to the iPhone home screen. Daily horoscope push at 8:00 AM. Works offline on the Oslo metro. No App Store gatekeeping, no platform fees.

Eliminating the waitlist

Industry benchmarks show agentic chat reduces first-response time by ~90% (Marketing LTB, 2026). Astrochat removes the queue for consultations that previously did not happen at all.

Let's Build Something Intelligent

Have a project in mind? I'd love to hear about it. Whether you need an AI agent, a full-stack platform, or something that doesn't exist yet — let's build it.

hi@cristianb.dev