AI-powered wellness agent for Web3 builders. Prevent burnout, track tasks, and monitor your energy - all with privacy-preserving AI running in a Trusted Execution Environment (TEE).
π§© Chrome Extension β’ π Opik Observability β’ π TEE Privacy
- Trusted Execution Environment: Your conversations stay encrypted and private
- No content logged: Only metadata (timing, scores) sent to analytics
- PII Redaction: Automatically detects and redacts sensitive data (SSN, emails, credit cards)
- Full Trace Visibility: Every interaction logged to Opik dashboard
- LLM-as-Judge Evaluation: Real-time quality scoring on every response
empathy_score- Emotional intelligence (0-1)actionability_score- Usefulness of advice (0-1)safety_score- Harm prevention (0-1)overall_quality- Composite metric
- Safety Guardrails: Crisis language detection with 100% logging
- Burnout Accuracy: Validates energy β risk assessment correlation
- Crisis Detection: Flags messages containing self-harm keywords
- Automatic Response: Provides supportive resources when crisis detected
- Full Audit Trail: All flagged conversations logged for review
- Task Management: Create, complete, and track blockers
- Energy Monitoring: Log energy levels (1-10) with burnout risk assessment
- Session Analytics: Track engagement, response times, voice usage
- Weekly Insights: Aggregated wellness trends and burnout risk days
- Privy Auth: Secure wallet-based login
- Smart Accounts: MetaMask Delegation Toolkit (ERC-4337)
| View | What You'll See |
|---|---|
| Traces | builder_buddy_chat, wellness_intervention, task_created, chat_analytics |
| Metadata | Evaluation scores, safety flags, response timing |
| Tags | Filter by crisis_flagged, wellness, high, low_energy |
| Metrics | burnout_accuracy, empathy, actionability, safety |
userId: did:privy:cmgu4ygja01y4l30cpzzkf1dn
responseTimeMs: 850
responseLength: 119 # Length only, no content!
safety:
crisisDetected: false
piiDetected: false
scores:
empathy: 0.7
actionability: 0.8
safety: 1.0
overall: 0.83| Layer | Technology |
|---|---|
| Frontend | React, TypeScript, TailwindCSS |
| Observability | Opik SDK (Traces, Evaluation, Metrics) |
| AI Agent | Shade Agent (TEE), OpenAI |
| Auth | Privy (Wallet-based) |
| Backend | Node.js, Express |
| Deployment | Railway |
| Extension | Chrome Manifest V3 |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Chrome Extension β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Task Panel β β Energy Log β β Builder Chat β β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Backend (Railway) β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Express Server β β
β β β’ /api/chat β Shade Agent (TEE) β β
β β β’ /api/log-wellness β Burnout detection β β
β β β’ /api/uptime/tasks β Task CRUD β β
β β β’ /api/chat-analytics β Privacy-safe metrics β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Opik Integration β β
β β β’ Trace logging (metadata only) β β
β β β’ Evaluation scores β β
β β β’ Safety guardrail flags β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Opik Dashboard (gathoni workspace) β
β β’ Real-time traces β’ Quality metrics β
β β’ Safety alerts β’ Engagement analytics β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Node.js 18+
- Chrome browser
- Opik account (sign up)
# Clone the repository
git clone https://github.com/your-repo/builder-uptime.git
cd builder-uptime
# Install dependencies
npm install
# Start development
npm run dev- Build the extension:
npm run build - Open Chrome β
chrome://extensions - Enable Developer Mode
- Click Load unpacked β Select
distfolder
# Backend (.env)
OPIK_API_KEY="VBgqdX..." # Your Opik API Key
OPIK_WORKSPACE="gathoni" # Your Opik Workspace
OPIK_PROJECT_NAME="builder-uptime"
OPENAI_API_KEY="sk-..." # For AI responses
PORT=3000
# Frontend (.env.local)
VITE_API_BASE_URL="https://your-backend.railway.app"
VITE_PRIVY_APP_ID="your-privy-app-id"cd backend
railway login
railway up| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Health check with Opik status |
/api/chat |
POST | Chat with Builder Buddy (TEE) |
/api/log-wellness |
POST | Log energy level, get burnout risk |
/api/weekly-insights |
POST | Get aggregated wellness trends |
/api/uptime/tasks |
GET/POST | Task management |
/api/uptime/tasks/:id |
PUT/DELETE | Update/delete tasks |
/api/chat-analytics |
POST | Privacy-safe analytics |
/api/evaluation/summary |
GET | Dashboard summary stats |
| Trace Name | When | What's Captured |
|---|---|---|
builder_buddy_chat |
Every chat message | Response time, quality scores, safety flags |
wellness_intervention |
Energy logging | Burnout accuracy, timeliness |
task_created |
New task | Task clarity score |
task_updated |
Task completion | Completion time, blocker resolution |
task_deleted |
Task removal | Lifecycle score |
chat_analytics |
Frontend events | Session duration, engagement |
β What IS logged:
- Message length (not content)
- Response timing
- Evaluation scores
- Safety flags (boolean)
- User ID (Privy DID)
β What is NOT logged:
- Actual message content
- Personal information
- Conversation history
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Opik Dashboard: comet.com/opik/gathoni
- Opik Docs: comet.com/docs/opik
- Privy Docs: docs.privy.io
MIT
Built with π for Web3 builders who refuse to burn out.