Meet Tina — Your AI Care Companion

A friendly face. A listening ear. A connection to the people who care.
Tina is an AI care companion for older adults and people spending time alone. Through a talking 3D avatar, she offers everyday companionship, listens to concerns, and helps keep a trusted person in the loop when support is needed.
What Tina can do today
- Talk naturally: speak to Tina with real-time speech-to-text powered by ElevenLabs, and hear her respond through a Perxona avatar.
- Detect care concerns: recognize issues reported in conversation, such as falls, pain, emotional distress, or difficulty with daily needs.
- Classify urgency with Jev: distinguish routine conversation from concerns needing attention, with urgency levels from none to critical and a brief follow-up when needed.
- Notify someone who cares: send notifications via ntfy to a configured family member, friend, or caregiver, on request or when a significant concern is detected. Tina respects requests not to notify.
Built with
| Tool | Role |
|---|
| Perxona | Talking 3D avatar with lip-sync and expressive interaction |
| ElevenLabs | Real-time speech-to-text |
| Mastra | Conversational agent, memory, and care workflow |
| Jev | Care-event decisions and urgency classification |
| Vercel | Web app and agent deployment |
Run Tina locally
1. Install prerequisites
Use Node.js 22.13.0 or newer and npm. You need Perxona, OpenRouter, and ElevenLabs API credentials with available quota, plus a browser with microphone access for voice chat. Run the setup commands below from the repository root.
npm ci --prefix samples/express
npm ci --prefix samples/mastra
cp samples/express/.env.example samples/express/.env
cp samples/mastra/.env.example samples/mastra/.env
Copy the environment files only on first setup; keep existing files if you already configured them. Never commit .env files or put secret keys in browser code.
2. Configure Express
Edit samples/express/.env and set:
PERXONA_API_BASE_URL=https://console.perxona.ai/asia
PRESENTER_URL=https://cdn.perxona.ai/asia/prod/connect/latest/widget/entry/presenter.js
PERXONA_CONNECT_SECRET_KEY=your-secret-key
PERXONA_CONNECT_PUBLISHABLE_KEY=your-publishable-key
MASTRA_BASE_URL=http://localhost:4111
ELEVENLABS_API_KEY=your-elevenlabs-key
PORT=8083
Create both Perxona keys in Perxona Console under Management → Integration → Connect API keys. Leave the secret key's allowed-domain list empty; if you restrict the publishable key, allow http://localhost:8083. The API and presenter URLs above use Asia; use matching URLs for your account's region.
MASTRA_BASE_URL connects Tina to the care agent. ELEVENLABS_API_KEY enables Talk; it can be omitted for text-only chat. Leave LLM_API_KEY and DEMO_FIXED_CHATBOT_ID blank: this setup uses Mastra rather than a Connect chatbot.
By default, Express selects the first available avatar, scene, and voice. To choose Tina's specific appearance, find the IDs in the local Studio after starting Express, then set DEMO_FIXED_AVATAR_ID, DEMO_FIXED_SCENE_ID, and DEMO_FIXED_VOICE_ID. Set all three to keep spoken replies enabled.
3. Configure Mastra
Edit samples/mastra/.env:
OPENROUTER_API_KEY=your-openrouter-key
MASTRA_MODEL=openrouter/openai/gpt-6.1-sol
JEV_MODEL=typesafe/jev-1.14
NTFY_BASE_URL=https://ntfy.sh
NTFY_TOPIC=your-unique-hard-to-guess-topic
NTFY_RECIPIENT_NAME=Demo contact
OPENROUTER_API_KEY powers both conversation and Jev classification. NTFY_TOPIC is mandatory and must contain 1–64 letters, digits, underscores, or hyphens. The model values above are the project defaults; the recipient name is a display label, while the topic determines where notifications go.
For local use, remove or comment out TURSO_DATABASE_URL and TURSO_AUTH_TOKEN, including blank entries copied from the example. Mastra creates local conversation storage under samples/mastra/care-data/. Leave MASTRA_API_TOKEN blank in both services for this local setup; if you enable it, use the same token in both .env files.
4. Subscribe to notifications
Open ntfy in a separate tab, choose Subscribe to topic, and enter exactly the NTFY_TOPIC configured above, using https://ntfy.sh as the server. Allow browser notifications and keep the tab open. Family, friends, or caregivers can subscribe to the same topic on their own device.