A newer version of the Gradio SDK is available:
5.42.0
title: TatTwamAI
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.19.2
app_file: app.py
pinned: false
README.md
agent-demo-track
π§ Tat Twam AI β A Multi-Agent AI Coach for Personal and Spiritual Growth
Tat Twam AI is an intelligent multi-agent application that serves as a personal, non-judgmental AI coach. Designed for individuals navigating life's personal and professional dilemmas, Tat Twam AI combines cutting-edge AI frameworks with timeless wisdom from classic spiritual and modern self-help texts.
The product is designed to provide calming, insightful, and personalized guidance through a soothing, human-like conversationβhelping users reflect, grow, and find direction.
π Key Features
- ποΈ Accepts voice input in user's mother tongue or text input in English
- π¬ Engages users with soothing, reflective dialogue
- π Draws wisdom from 13 timeless spiritual and self-help texts
- π€ Built on a multi-agent architecture using state-of-the-art LLM tools
- π Offers context-aware, personalized suggestions with guardrails
- π§ββοΈ Responds in a calm, meditative voice, promoting inner peace
π§© System Architecture
The core logic of Tat Twam AI is implemented using four intelligent agents, each responsible for a specific part of the coaching journey:
π§ Agent 1: The Listener & Summarizer
- Input: Voice (in user's mother tongue) or text (in English)
- Functionality:
- Converts speech to English text
- Conducts a gentle Q&A session to uncover the userβs core problem
- Summarizes the conversation
- Analyzes tone and emotional sentiment
- Tools:
- ASR (Speech-to-text) with multilingual support
- Sentiment analysis
- Conversational Q&A
- Summary generator
π Agent 2: The Wisdom Engine
- Input: Summary, tone, and sentiment from Agent 1
- Functionality:
- Retrieves spiritual or self-help insights using a RAG (Retrieval-Augmented Generation) system
- Offers customized reflections, techniques, or meditations relevant to the userβs current issue
- Knowledge Base Includes:
- Autobiography of a Yogi
- Gita Vahini
- The Power of Now
- Man's Search for Meaning
- Bhagavad Gita As It Is
- Meditations (Marcus Aurelius)
- The Tao Te Ching
- Dhyana Vahini
- Atomic Habits
- The 7 Habits of Highly Effective People
- Mindset (Carol Dweck)
- Prema Vahini
- Prasnothara Vahini
- Tools: Custom RAG pipeline + embedding-based retrieval + fine-tuned LLMs
π‘ Agent 3: The Inner Critic & Guardian
- Input: Suggested output from Agent 2
- Functionality:
- Implements guardrails to ensure spiritual, ethical, and emotional appropriateness
- Adjusts tone and verifies factuality, empathy, and personalization
- Converts final output to voice with a mild, meditative female tone
- Tools: LLM-as-Judge, Voice synthesis
π Agent 4: The Satisfaction Checker
- Functionality:
- Asks for user satisfaction and feedback
- Decides whether to continue or close the session
- Passes feedback to Agent 1 for context-aware follow-up
- Tools: User feedback processing, memory/context management
π¬ Sample Flow
- User speaks: βI feel lost about my career direction.β (in Hindi)
- Agent 1: Asks reflective questions like: βWhat matters most to you right now?β
- Agent 2: Responds with insights from The Power of Now and Gita Vahini
- Agent 3: Ensures calm, helpful delivery in a soothing voice
- Agent 4: Asks: βDid that help you gain clarity?β β If yes, ends. If no, loop continues.
π― Vision
Tat Twam AI aspires to be your non-judgmental companion for inner clarity, integrating deep ancient wisdom with today's AI technology. Its goal is not to give you answers, but to gently guide you inward to find your own.
π§ Coming Soon
- π± Mobile app with voice interface
- π§Ύ Journaling feature synced with conversation history
- π Multi-language support for responses
- π End-to-end encryption and privacy-first design
π¬ Contact
Interested in collaborating, contributing, or piloting this application? Reach out at [saishree999@gmail.com]
"The answers you seek will come when your mind is quiet enough to hear them." βTat Twam AI