All work

AI Automation

Chief of AI Staff

Personal AI Executive Assistant

Chief of AI Staff is a production multi-agent AI system built as a personal executive assistant for a high-volume real estate professional. The system replaces the need for a human integrator — turning ideas into structure, capturing tasks, managing three Gmail inboxes, reading and writing Google Calendar events, and generating AI-powered morning briefings every day. The core Chief of Staff Agent runs on OpenRouter (Claude Sonnet 4.6) with 23 real tool calls across email, calendar, tasks, goals, quick wins, memory, and web search. Every conversation is backed by Mem0 long-term memory so the agent remembers context, preferences, and decisions across sessions. A dedicated Email Triage Agent runs every 15 minutes via Supabase pg_cron — classifying every email into five categories, generating summaries, urgency scores, needs-reply flags, and editable draft replies. A Daily Briefing Agent fires on a cron schedule and generates an AI morning briefing — calendar events, priorities, weekly goals, quick wins, and an email snapshot — then pushes it to Telegram. The full Visual Command Center is a Next.js dashboard with live streaming chat, an email inbox with category tabs and draft reply panel, briefing page, goals tracker, memory panel, settings, and full Telegram bot integration (same agentic loop, same tools, same session history). Every AI turn is traced end-to-end in Langfuse with tool spans, model, user, and latency. The architecture is multi-user from day one — a second user account (family member) is already supported with no rebuild needed.

Type
AI Automation
Year
2026
Status
Delivered
Chief of AI Staff: Personal AI Executive Assistant, image 1
  • Next.js
  • TypeScript
  • Supabase
  • PostgreSQL
  • Supabase Edge Functions
  • pg_cron
  • OpenRouter
  • Claude Sonnet 4.6
  • Gmail API
  • Google Calendar API
  • Google OAuth
  • Mem0
  • Langfuse
  • Telegram Bot API
  • Vercel
  • SSE (Streaming)

The story

The problem

A high-output real estate professional with ADD was managing three email inboxes, multiple calendars, scattered tasks, and daily priorities manually — missing follow-ups, losing context between sessions, and spending hours on coordination work instead of high-value decisions. Generic AI chatbots lacked real integrations, persistent memory, and the structured executive thinking needed to act as a true chief of staff.

The solution

Built a purpose-specific multi-agent AI system with live Gmail API access across three accounts, full Google Calendar read/write, and Mem0 persistent memory that saves facts after every conversation turn. The Chief of Staff Agent uses an agentic loop with 23 real tools and replies in the client's voice. An automated Email Triage Agent runs every 15 minutes to classify, summarize, and draft replies for every incoming email. A Daily Briefing Agent generates and pushes a structured morning briefing to Telegram on a cron schedule. The entire system is accessible via a Visual Command Center dashboard and a full Telegram bot — both using the same agentic loop, tool set, and session history.

My approach

Built phase by phase — core agent + integrations first, then automated background agents (email triage, briefing cron), then the full visual dashboard. Multi-user architecture baked in from day one. Every AI turn traced with Langfuse for observability. Designed to grow: Phase 2 adds personal finance and household agents; Phase 3 adds real estate business tools.

Goals

What I built

Chief of Staff Agent

The primary AI executive assistant — agentic loop with 23 real tools, persistent Mem0 memory, and replies tuned to the client's voice and tone.

Email Triage Agent

Automated background agent that runs every 15 minutes, classifying every email, generating summaries and draft replies, and syncing results to the dashboard inbox.

Daily Briefing Agent

Cron-triggered AI agent that generates a structured morning briefing and pushes it to Telegram — covering calendar, priorities, goals, quick wins, and email snapshot.

Visual Command Center

Full Next.js dashboard — the single interface for chat, email, briefings, goals, memory, and settings.

Telegram Bot Integration

Full agentic Telegram bot running the same Chief of Staff loop — same tools, same memory, same session history as the web dashboard.

Observability & Monitoring

End-to-end AI tracing with Langfuse — every turn logged with full tool spans, model metadata, user context, and latency.

Key capabilities

Tech stack

Frontend

Backend & infrastructure

AI layer

Payments & integrations

Architecture

The result