Where AI meets empathy to create conversations that heal
Capstone Project for Google's 5-day Gen AI Intensive Course
Sei is an innovative AI therapy companion built with Google's Agent Development Kit (ADK) that creates warm, insightful conversations using a multi-agent architecture. Unlike regular chatbots or general-purpose LLMs, Sei is specifically designed to:
- 🌟 Create a genuinely warm, engaging therapeutic presence
- 🧠 Integrate multiple therapeutic perspectives (CBT, Psychoanalytic, Motivational, Faith-based)
- 💫 Remember your story across sessions with a sophisticated memory system
- 🚨 Detect crisis situations and provide appropriate resources
- 🙏 Respect faith preferences and integrate them thoughtfully when desired
Built with the Google Agent Development Kit (ADK) and Gemini 2.0 Flash, Sei represents a new vision for AI companionship—one that feels truly magical rather than mechanical.
- Python 3.9+
- Google Agent Development Kit (ADK)
- Access to Google Cloud (for Gemini API)
Create & Activate Virtual Environment (Recommended):
# Create
python -m venv .venv
# Activate (each new terminal)
# macOS/Linux:
source .venv/bin/activate
# Windows CMD:
.venv\Scripts\activate.bat
# Windows PowerShell:
.venv\Scripts\Activate.ps1
Install ADK:
pip install google-adk
# Clone the repository
git clone https://github.com/Nate1809/sei_agent_capstone.git
cd sei_agent_capstone
# Install dependencies
pip install -r requirements.txt
Create a .env
file in the root directory (sei_agent_capstone
):
GOOGLE_API_KEY=your_api_key_here
Using the ADK web interface (recommended for first-time users):
# Make sure you're in the root directory sei_agent_capstone
cd sei_agent_capstone
adk web
Then select "sei_therapist" from the dropdown in the web interface.
Using the command line:
# Make sure you're in the root directory sei_agent_capstone
cd sei_agent_capstone
adk run sei_therapist
Sei uses a sophisticated multi-agent architecture that creates a seamless, magical experience:
The system includes:
- Root Agent (Sei) - The main orchestration hub
- Specialized Agents:
- Onboarding Agent - Creates a warm first-time experience
- Greeting Agent - Handles session beginnings with continuity
- Therapeutic Agent - Provides core therapeutic responses
- Crisis Agent - Detects and handles safety concerns
- Treatment Agent - Creates personalized therapeutic plans
- Farewell Agent - Closes sessions with meaningful summary
Behind the scenes, a parallel consultation system analyzes input from multiple therapeutic perspectives simultaneously:
- Cognitive Behavioral Therapy (CBT)
- Psychoanalytic approach
- Motivational perspective
- Faith-based integration (when appropriate)
Sei detects emotions and responds with appropriate warmth and insight.
Sei remembers your story—your job interview next week, your relationship struggles, how you felt last session—creating true continuity.
Instead of generic advice, Sei offers thoughtful perspectives drawn from multiple therapeutic traditions.
For users who indicate faith is important, Sei can thoughtfully integrate spiritual perspectives.
Sei automatically identifies safety concerns and provides appropriate resources.
Unlike general LLMs, Sei can gently push back when necessary—just as a good therapist would.
Despite its complex architecture, Sei presents as a single magical presence with a consistent voice.
- Emergency Contact Integration: Notification system for crisis situations
- Human Therapist Collaboration: Pre-appointment summaries for therapists
- Vertex AI Vector Storage: Enhanced memory using Google Cloud vector databases
- Voice Interface: Support for spoken conversations
- Sei is not a replacement for professional mental health care
- For serious mental health concerns, please consult qualified professionals
- Sei is a research project and companion, not a medical device or service
- Kaggle and Google: For the Gen AI Intensive Course
- Fernanda Uria: For clinical psychology expertise
- Solange Pardo: For the session summarization concept
- Marielle Morales: For support throughout development
Created with ❤️ as a capstone project for Google's 5-day Gen AI Intensive Course