Back to case studies
AI Product Build

somia

your spiritual companion

An AI-powered astrology companion app that combines Vedic birth chart analysis, conversational AI, tarot readings, and emotional memory to create a deeply personal spiritual experience for Gen-Z users.

11,700+

Lines of legacy code pruned

78

Custom tarot card artworks

12

Emotional archetypes

0

API keys exposed to client

somia
online

Somia

your cosmic mirror

powered by AI · 100% private

The Challenge

Astrology apps are content feeds. We built a relationship.

Existing astrology apps treat users as passive consumers: daily horoscopes, generic compatibility scores, and one-size-fits-all forecasts. There's no continuity, no memory, and no reason to come back beyond habit.

The brief was to create something fundamentally different: a conversational AI companion that knows your birth chart, remembers your conversations, tracks your emotional patterns, and grows with you. Think of it as a best friend who understands astrology, tarot, and your personal cosmic cycles, and who texts you first when the stars shift.

The target audience: Gen-Z and young millennials (18-28) in India who already use astrology casually but want something deeper and more personal than Co-Star or The Pattern.

Product Walkthrough

Eight modules. One continuous experience.

somia
SOMIAyour cosmic mirror
BEGIN

Splash

Cinematic hero with ambient video loop

somiaonboarding
hey! i'm somia. what should i call you?
type name...

Onboarding

Chat-native conversational flow

somia companion
chat
what does my chart say about love?
tell me more
how is venus transiting?

Companion Chat

AI companion with inline features

memory extractionlive response

extracting memory

updating transit context...

signal: crush mentioned (name: dev, sign: leo). linking transit.

Live Response

Micro-messages with typing pauses

78-card decktarot reading
the high priestess

mystery · intuition

major arcana II

tap to draw card

Tarot Reading

Inline card pull with custom art

daily transit maptoday's sky
“Moon in Pisces. Your sensitivity is your most powerful antenna.”

Today's Sky

Personalised daily transit reading

cosmic identityprofile
shadow walker
🔥12 days
Sun signVirgo
Moon signPisces
Rising signTaurus
current dashaVenus (Shukra)

Cosmic Profile

Birth chart + archetype identity

subconscious echo radarmirror loops
the overthinker
the fixer
detected: 3 worry-loops linked to Saturn dasha.

Mirror Loops

Emotional pattern recognition

Core Features

What makes Somia different.

Companion-First Chat

One conversation that IS the product. Tarot, transits, and compatibility checks all surface inline: no menus, no tabs, just talk.

Emotional Memory

Somia remembers your crush, your fears, your goals. This memory shapes every future response across days and weeks.

Vedic Astrology Engine

Real sidereal birth chart calculation with Lahiri ayanamsha, Mahadasha cycle tracking, and daily transit overlays.

Mirror Loops

Identifies repeating emotional patterns from conversations, loops like 'The Fixer' or 'The Overthinker' mapped to chart placements.

78-Card Tarot System

Full Major and Minor Arcana with custom-generated art. Upright and reversed interpretations grounded in your chart.

Crisis Safety Net

Built-in distress detection with localized helplines. Content-free logging: no user text is ever stored in signals.

Under the Hood

Production-grade architecture.

FrameworkNext.js 16 (App Router)
UIReact 19 + Framer Motion
AI / LLMGoogle Gemini via NVIDIA NIM
AuthFirebase Authentication
DatabaseCloud Firestore
AnalyticsFirebase Analytics + Remote Config
HostingVercel (auto-deploy from GitHub)
AstrologyCustom sidereal engine (Lahiri)

Security-First Design

  • • All API keys proxied server-side - never exposed to client
  • • Firebase ID tokens verified with RS256 on every API route
  • • Firestore rules enforce strict user ownership
  • • Crisis detection is content-free - no user text is ever logged
  • • WCAG AA contrast compliance across all text

The Outcome

From concept to production. Under 3 weeks.

Somia shipped as a production-grade, security-hardened, AI-native spiritual companion: not a prototype, not an MVP. The companion-first architecture, emotional memory system, and Vedic astrology engine create a product that feels genuinely personal.

The codebase went through a full cleanup pass: 11,700+ lines of legacy code removed, all orphaned routes and components pruned, navigation bugs fixed, and a zero-error production build verified.

696

Line companion page (core product)

10

Active app routes

3

Subscription tiers designed

7

Consumable purchase types

Want us to build your product?

From AI companions to automation infrastructure, we engineer production-grade systems that ship.