Research
Developing emotionally aware artificial intelligence
By Jeremy Blaze. First published in March 2025, when Blair was in beta. The way Blair writes sessions has moved on since, but the thinking here still shapes it.
Our vision
We believe that AI can significantly improve access to mental health support and be a small but valuable part of people's overall wellbeing. By meeting people where they are, both emotionally and in how ready they are to engage with AI, we can create tools that offer real value while respecting the current limits of the technology.
Why emotional support through AI matters
Mental health is a global challenge of growing size. According to the World Health Organization, one in eight people globally live with a mental health condition, with depression and anxiety affecting over 300 million people worldwide. Despite this, significant barriers to care persist.
Access remains a critical issue, with more than 27 million Americans experiencing mental health challenges going without help. These barriers are particularly pronounced for some groups. Research from the American Psychological Association shows men are only half as likely as women to seek help for mental health challenges, with traditional notions of masculinity often discouraging vulnerability. This pattern of unequal access and reluctance to seek help has serious consequences: the US Surgeon General has declared loneliness a public health crisis, and men account for the majority of suicide deaths in many countries.
In response, the software landscape has filled with products attempting to address these issues: meditation apps, therapy platforms, digital journaling tools and online communities. This naturally extends to AI, with apps now claiming to be AI therapists, AI friends or even AI romantic partners.
However, most of these apps suffer from a fundamental problem: they promise to be a personal guide, but they remain, indisputably, artificial. They haven't crossed the uncanny valley, that unsettling gap between something that appears almost human but isn't quite convincing enough.
We believe this failure stems mainly from one crucial shortcoming: no artificial intelligence has yet mastered emotional intelligence. Current AI systems can process vast amounts of information and generate convincing text, but they struggle to genuinely understand, respond to and appropriately reflect human emotions.
Guided mindfulness is a form that works well with current AI and matches how ready people are to engage with AI for emotional support. This established format lets us deliver personalised, emotionally intelligent content without falling into the uncanny valley, while potentially serving as a gateway to a broader wellbeing journey.
Longitudinal-contextual data architecture for therapeutic progression
At the heart of our approach is a data architecture designed to bring together three critical elements: capturing what we learn about someone over time, assessing their emotional state in real time, and structured therapeutic progression. The system balances a lasting understanding of the person with responsiveness to the day, within a therapeutically sound framework.
Building what Blair knows about you
Generating the daily session
Our approach
Building knowledge over time begins with the initial data captured during onboarding, which establishes the vector database. This knowledge base keeps growing through the daily reflections people write. Each reflection is analysed, encoded and stored in the vector database, building an understanding of the person's emotional patterns over time.
The daily session generation process draws on this lasting knowledge while responding to immediate needs:
- Identifying the current emotional state from the most recent reflection
- Selecting an appropriate seed based on both the current emotional state and the person's position in their CBT-based seed pathway
- Generating a personalised session that combines therapeutic progression with emotional responsiveness
This architecture means that while sessions follow a coherent therapeutic journey through carefully sequenced seed pathways, they stay responsive to the person's emotional state on the day: an experience that is both structured for long-term growth and adaptable to daily ups and downs.
Component 1
Understanding the user through initial data capture and daily reflection
The first and most critical part of building an emotionally intelligent meditation guide is understanding the user. This happens in two stages: initial data capture during onboarding, and ongoing daily reflection.
During the initial data capture, we collect baseline information about the person's background, preferences, goals and current emotional state. This lays a foundation for personalisation and helps determine the right seed pathway.
The system then deepens its understanding through daily reflections, where people express their thoughts and feelings in a structured, guided journaling format. These daily reflections serve several purposes:
- They provide fresh data about the person's current emotional state
- They give people the therapeutic benefits of expressive writing
- They create a feedback loop that improves personalisation over time
This reflection data is processed through our emotional RAG (retrieval-augmented generation) system, which identifies the person's current emotional state and provides context for session generation.
Our emotional RAG system works by:
- Analysing daily reflections to identify emotional states, concerns and patterns
- Creating emotional embeddings that capture the nuance of the feelings expressed
- Retrieving relevant emotional context when generating new content
- Using this retrieved information to inform the AI's understanding of the person's current state
The technical implementation involves several key components:
- Vector database: we use a vector database powered by pgvector to efficiently store, index and query high-dimensional representations of emotional content. It is designed specifically for the semantic search our emotional retrieval system needs.
- Vector embeddings: each daily reflection is encoded into these vector spaces, capturing semantic and emotional dimensions that keyword-based approaches would miss. The embeddings represent emotional content in a way that allows for nuanced similarity searching.
- Progressive context building: the vector database is first established during onboarding, creating baseline emotional embeddings from the person's first answers. It then grows over time through daily reflections, allowing an increasingly nuanced understanding of their emotional patterns.
- Daily retrieval: when identifying the person's emotional state for each day's session, the system runs similarity searches against the vector database, retrieving the most relevant previous experiences, patterns and insights. This context then informs seed selection and session generation.
This approach, building on research by Lee et al. (2023) on emotion-aware retrieval models, lets the AI connect with people on a deeper level than standard language models, which often miss emotional subtleties.
Component 2
Seed pathway determination and seed selection
The second component involves two related processes: determining the right seed pathway during onboarding, and selecting the right seed for each daily session.
Seed pathway determination: during onboarding, after the initial data capture, the system decides which seed pathway suits the person best. Pathways are curated sequences of related seeds that unfold over time (typically 30 days), creating a coherent journey that builds progressively.
Each seed pathway is built on cognitive behavioural therapy (CBT) principles and focuses on one part of mental wellbeing, such as stress reduction, emotional awareness or self-compassion. Choosing a pathway gives the experience structure and continuity while leaving room for personalisation within it.
Daily seed selection: for each session, the system chooses the most appropriate seed based on two things:
- The person's current position in their seed pathway
- Their current emotional state, as identified from their daily reflection
The link between the vector database and seed selection is crucial here. Identifying the emotional state (powered by the vector database) gives a real-time understanding of the person's current needs. That is then mapped to the seeds available in their pathway to find the best match.
The mapping uses a combination of:
- Predefined associations between emotions and seeds, based on therapeutic principles
- Similarity between the current emotional state and previous states where particular seeds helped
- Progression rules within the seed pathway that keep it therapeutically coherent
This hybrid approach means that while sessions follow a coherent progression, they stay responsive to daily emotional needs. For example, if someone is following a stress reduction pathway but their reflection shows acute anxiety, the system might choose a seed designed for anxiety relief while keeping the overall therapeutic direction of the pathway.
By bridging what the vector database knows with structured seed pathways, the system keeps both therapeutic integrity and emotional responsiveness, two crucial elements of effective wellbeing support.
Component 3
Session generation
The final component is generating the personalised meditation itself. Once the right seed has been chosen, based on the person's emotional state and their position in their pathway, the system writes a complete, personalised meditation session.
This is where the AI's emotional intelligence really shows. Using the chosen seed as a starting point, the system develops a full meditation script that speaks to the person's current emotional state while keeping its therapeutic integrity.
During testing, we saw many cases where the AI produced content that was inappropriate, strange or simply missed the emotional mark when given complete freedom. Our seed-based approach addresses this by giving it a structured starting point while still allowing for personalisation.
Session generation draws on:
- The chosen seed, which provides therapeutic structure
- The person's current emotional state, identified through their reflection
- Historical context from the vector database, which grounds the session in their ongoing journey
This gives us the best of both worlds: the reliability and safety of expert-written starting points with the personalisation AI makes possible. It lets us deliver content that feels genuinely responsive while keeping the risk of inappropriate or jarring responses low.
Once the script is written, it is turned into audio with text-to-speech. While audio quality matters, our main focus stays on the therapeutic quality and emotional resonance of the content itself.
Demo
Below are real meditation sessions, with summaries of the daily reflections that informed them. They show how Blair turns what someone writes into a meditation that responds directly to how they feel.
Paula's session
About them
Paula is a 35 year old photographer living in London. She is happiest spending time with her wide group of friends, with whom she often travels, throws dinner parties and goes on city breaks.
She's recently out of an eight year relationship and trying to get back to enjoying life outside it. Her priority is her friends.
Their check-in
Mood: 5 of 5
"Feeling amazing today! Had such a great first date with Chris last night. Great conversation, lots of laughs, and just an overall great vibe."
What Blair made of it
Paula is feeling excited and full of energy after a great first date with Chris. She's in a bright and optimistic mood, ready to take on the day. Suggest a meditation that helps her savour this feeling and carry the positive energy forward.
Emotions: Joyful, energetic, optimistic
Seed: gratitude_optimistic
Jack's session
About them
Jack is a 42 year old software engineer in San Francisco. He's been at the same company for six years and was recently passed over for a promotion he was expecting. He's feeling stuck and unsure about his next move.
He's married with two young children and feels a lot of pressure to provide for his family while also being present for them.
Their check-in
Mood: 2 of 5
"Feeling really down about work today. Can't stop thinking about that promotion. Keep wondering if I should look for something new but scared about the tech job market right now. Just feel stuck."
What Blair made of it
Jack is experiencing professional disappointment and uncertainty. His reflection shows he's caught in a cycle of rumination about his career. A meditation focused on accepting uncertainty while holding on to his self-worth would help.
Emotions: Anxious, uncertain, discouraged
Seed: acceptance_uncertainty
Challenges and solutions in building emotionally intelligent AI
In developing this system, we met several significant challenges that line up with the key components of our data model. Each needed a solution that balances what AI can do with what people need.
Understanding users
Initial data sparsity: during onboarding, the system knows little about the person, which creates a cold start problem. With so little to go on, it is hard to accurately judge their emotional patterns and needs.
Solution, a progressive autonomy system: for the first five days, the AI has limited freedom to move away from established seeds while the vector database builds up enough emotional data. As daily reflections add more, we gradually increase its autonomy, allowing more nuanced personalisation as our understanding of the person deepens.
Emotional complexity: human emotions are many-sided and contextual, which makes them hard to identify from text alone. Early versions of our system often misread emotional nuance or missed significant emotional shifts.
Solution, multi-dimensional emotional encoding: we developed a richer emotional encoding that captures several dimensions of emotion rather than simple category labels. This approach, informed by research from Cowen and Keltner (2021) on the dimensionality of emotional experience, lets our system represent complex emotional states and track subtle shifts over time.
Seed management
Repetition risk: an AI meditation guide works best on a daily rhythm, with people typically doing one session a day. In testing, we found that after about seven days repetition became a real problem: people were getting similar content despite their changing emotional states.
Solution, structured seed pathways: we introduced the seed pathways described above. They create a coherent journey that unfolds over time, keeping content fresh and purposeful while still responding to the day.
Each pathway progresses logically, building on previous sessions and introducing new ideas, techniques and perspectives at the right moments. That sense of growth keeps the experience engaging while keeping its therapeutic integrity.
Balancing structure and flexibility: finding the right balance between structured therapeutic progression and responsiveness to daily needs was hard. Too much structure made sessions feel generic, while too much flexibility risked therapeutic incoherence.
Solution, a hybrid selection algorithm: we developed an algorithm that weighs both pathway progression and the current emotional state when choosing each day's seed. Based on work by Fitzpatrick et al. (2017) on therapeutic chatbots, it uses a weighted decision model that can put emotional responsiveness first when someone is going through something acute, while keeping their overall therapeutic progression.
Session generation
Content appropriateness: early versions of our system sometimes generated content that was inappropriate, strange or simply missed the emotional mark. The risk was highest when the AI had the most creative freedom.
Solution, seed-based generation: seeds give the AI structured starting points that carry therapeutic expertise while still allowing personalisation. Using them as foundations, rather than giving the AI complete freedom, dramatically reduced inappropriate content without losing the personal touch.
Emotional continuity: keeping emotional continuity across sessions was difficult, with early prototypes failing to refer back to or build on earlier emotional insights and experiences.
Solution, longitudinal context: we developed ways to bring longitudinal emotional context from the vector database into session generation. This approach, inspired by work from Sharma and Cosley (2018) on longitudinal support systems, lets sessions refer to past experiences, acknowledge progress and feel like ongoing support rather than disconnected moments.
Where we're heading
Our research team and advisers are focusing on two critical areas:
- Improving the guided journaling method to capture richer emotional data
- Refining seed development and AI authorship to better reflect people's emotional states
These are the frontier of AI personalisation, and ultimately what will set emotionally intelligent meditation guides apart.
Finding the right form
Our vision for this technology is a more personal alternative within the existing mindfulness and guided meditation space. Over time, as people grow more comfortable with AI guides and the technology improves, these systems may become closer guides.
But we remain committed to following what people tell us rather than forcing a particular vision. If people aren't ready for AI guides, we won't build them. Instead, we'll focus on forms like guided meditation that people are comfortable with today.
By finding the right lane for AI in mental wellbeing, one that works with today's technology and expectations rather than against them, we believe emotionally intelligent meditation guides can offer real value while avoiding the pitfalls that have caught other apps in this space.
Conclusion
Developing emotionally intelligent artificial intelligence is one of the most promising and challenging frontiers in AI research. As we've set out here, the key to AI that can genuinely support mental wellbeing lies not just in sophisticated language generation, but in its ability to understand, respond to and appropriately reflect human emotions.
Our approach works around the current limits of AI's emotional intelligence with a carefully designed system of several parts: a vector database that captures and keeps emotional context, a structured seed pathway framework that keeps it therapeutically coherent, and a session generation process that adapts to how people feel today. Together they avoid the uncanny valley that has troubled other AI guides while delivering real value.
The implications go beyond guided meditation. The challenge of developing emotionally intelligent AI matters across many fields, from healthcare to education to social support. By sharing our research, methods and challenges, we hope to add to the broader conversation about how AI can be thoughtfully designed to support human emotional wellbeing.
As AI continues to advance, we see a future where emotionally intelligent systems offer meaningful support as part of a fuller approach to mental wellbeing: not replacing human connection, but supplementing it in ways that widen access, reduce stigma and help people better understand and manage their emotional lives.

Written by
Jeremy Blaze
Jeremy founded Blair and Never Before Seen, a product design and venture studio. Over the last ten years he's helped launch and grow dozens of consumer and business startups.
Want to talk?
References
- Cowen, A. S., & Keltner, D. (2021). Semantic space theory: A computational approach to emotion. Trends in Cognitive Sciences, 25(2), 124-136.
- Fitzpatrick, K. K., Darcy, A., & Vierhile, M. (2017). Delivering cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversational agent (Woebot): A randomized controlled trial. JMIR Mental Health, 4(2), e19.
- Lee, J., Shin, S., & Kim, H. (2023). EmotionRAG: Retrieval-augmented generation for emotion-aware conversational agents. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2178-2190.
- Sharma, A., & Cosley, D. (2018). Studying and modeling the connection between people's preferences and their emotional responses to information systems. ACM Transactions on Computer-Human Interaction (TOCHI), 25(6), 1-44.
- World Health Organization. (2022). World mental health report: Transforming mental health for all. World Health Organization.