Inspiration

Mental health is one of the biggest challenges people face in today's world. Stress, burnout, anxiety, and digital overload are becoming normal at this point. Especially, students and young professionals. We spend so much time switching from tasks to tasks, deadlines, and constant notifications, but we rarely stop to check on ourselves to see how we are doing. In order to resolve this issues I wanted to build something that helps people right where they already are. Not a website, not a app, just a little supportive AI agent inside Slack that helps you breathe, reset yourself, and take care of your mind in a way it should be taken care of. This is how the Mental Health Micro Coach Agent was born.

What it does

The agent provides tiny science based mental health interventions throughout the day. It's not like a therapy, it acts more as a supportive companion that helps you stay grounded. What the agent is capable of:

  • Detect stress patterns in your messages
  • Send 30 second breathing exercises
  • Offer micro break reminders
  • Give mood check ins
  • Provide positive reinforcements
  • Suggest grounding techniques
  • Deliver short mindfulness prompts
  • Summarize your emotional tone over the day It's like having a pocket sized wellness coach inside Slack.

How I built it

I built the agent using:

  • Slack Agent Builder for the core logic
  • Slack AI to analyze message tone and generate supportive responses
  • Slack Developer Sandbox for testing
  • Python + Bolt for Python to handle events and commands
  • JSON + REST APIs for structured interactions
  • Prompt engineering to ensure responses are empathetic, safe, and helpful
  • GitHub for version control

How it works:

  1. The user interacts with the agent or the agent detects stress-related patterns
  2. Slack AI analyzes tone and context
  3. The agent selects the right micro-intervention
  4. It sends a short, supportive message or exercise
  5. The user can ask for help, grounding, or a break Everything happens inside Slack so no need to change apps, or no friction.

Challenges we ran into

Some of the challenges that I ran into were as follows:

  • Designing the prompts in such a way that it feels supportive to the user and not robotic.
  • Making sure that the agent is not giving any medical or diagnostic advice
  • Balancing helpfulness and privacy at the same time.
  • Ensuring tone detection is accurate and always respectful
  • Creating interventions that are short but meaningful
  • Building a smooth and non-distractive user friendly experience inside Slack's chat interface. These were some of the challenges that I faced which pushed me into deeply thinking about ethics, design, and user psychology.

Accomplishments that we're proud of

  • Creating a mental health tool that feels genuinely helpful
  • Building a Slack agent that responds with empathy and clarity
  • Designing micro-interventions that takes less than 30 seconds
  • Making mental health support accessible inside a tool people already use
  • Completing a polished, end-to-end AI product as a solo developer
  • Turning a personal passion for mental wellness into a real project This is my one of the most meaningful project ever.

What we learned

  • How to build and deploy a Slack AI agent
  • How to design emotionally intelligent prompts
  • How to integrate tone analysis into real-time interactions
  • How to create a safe, and supportive AI experience
  • How to think like a product designer, and not just a coder
  • How to craft a strong Hackathon submission This project alone taught me how AI can support people in small but a very powerful way.

What's next for Slack Mental Health Micro Coach Agent

I want to expand the agent with:

  • Personalized wellness plans
  • Habit tracking (sleep, hydration, breaks)
  • Weekly emotional-tone summaries
  • Integration with calendars for stress-aware scheduling
  • A "quiet mode" or "DND" that reduces notifications
  • Group wellness challenges inside of Slack
  • A dashboard for long-term mood trends

Built With

Share this project:

Updates

Submission history