Inspiration

Back in October, my colleague and i started working on AI projects to learn about agents and prompting. We threw around tons of ideas, but astrology stuck out to me - it's always been my thing.

During a conversation with my brother-in-law about this side project, he told me about Nadi astrology from India. Honestly, it blew my mind. The system is incredibly detailed and engineered - like 72 nakshatras compared to the simple 12 zodiac signs we know. When we saw this hackathon, we thought "why not go with Nadi astrology?" We already had that first month of astrology work under our belt.

What it does

StarSync generates personalized 9-chapter astrology readings based on Nadi astrology principles. Users enter their birth details (date, time, location) and get detailed insights about their life purpose, career path, relationships, and future predictions. It's like having a personal astrologer that understands the complex Indian astronomical system.

How we built it

We built a multi-agent system using TypeScript and modern web technologies. The frontend handles user input and displays beautiful readings, while the backend processes astronomical calculations and generates insights through AI agents.

For the AI prompting, we used DSPy which made the agent orchestration much smoother. The system calculates precise planetary positions and applies Nadi astrology rules to generate meaningful interpretations.

Challenges we ran into

Astronomical calculations were brutal. There's a Python library called Swiss Ephemeris that handles these calculations perfectly. But the TypeScript versions? Either unmaintained or full of deprecated files that conflict with everything.

Making functions that guard and validate AI outputs was tough. You need to make sure the astrology readings make sense and follow proper Nadi principles.

Going from prototype to production meant considering so many things we hadn't thought about - especially for our first public GenAI app.

Accomplishments that we're proud of

We successfully translated complex Nadi astrology principles into a working AI system. The 11-chapter readings we generate are detailed and meaningful - our friends who tested it were genuinely impressed.

We solved the astronomical calculation problem and built a system that can handle real birth chart calculations accurately.

What we learned

Working with AI taught me how to code better. When you give it rich context, it generates clean, simple, and light code. As a solution architect and developer, i guess i'm also a "context provider" now.

Building a SaaS product is different from building prototypes. There are so many edge cases and validations you don't think about initially.

What's next for StarSync

We want to add more astrology systems beyond Nadi - maybe Western astrology and Vedic combinations.

Real-time predictions and daily insights would be cool. Also thinking about adding compatibility readings for relationships.

The goal is to make this the most accurate AI astrologer out there, combining ancient wisdom with modern technology.

Built With

Share this project:

Updates