Neo Secretary Runtime Architecture

Neo Secretary Runtime Architecture An architecture diagram generated by Archify. Mobile Desk Pet · PWA / Voice / Vibration · Architecture component · Zero-Trust Client Mobile Desk Pet PWA / Voice / Vibration Zero-Trust Client AI Agents · Cursor / Codex / Claude · Architecture component · MCP Requester AI Agents Cursor / Codex / Claude MCP Requester Tailscale Serve · TLS :443 → :8765 · Local PC Runtime (Windows Host) › Zero-Trust Pairing Boundary · Let's Encrypt TLS Tailscale Serve TLS :443 → :8765 Let's Encrypt TLS LocalSyncServer · Python :8765 / Fail-Closed · Local PC Runtime (Windows Host) › Zero-Trust Pairing Boundary · Sync Token Auth LocalSyncServer Python :8765 / Fail-Closed Sync Token Auth Agent Bridge Hub · MCP Approval Queue · Local PC Runtime (Windows Host) · Bidirectional Async Agent Bridge Hub MCP Approval Queue Bidirectional Async Desktop Pet GUI · CustomTkinter / asyncio · Local PC Runtime (Windows Host) · UI Main Thread Desktop Pet GUI CustomTkinter / asyncio UI Main Thread SQLite Database · Tasks / Habits / Bond XP · Local PC Runtime (Windows Host) · SQLite SQLite Database Tasks / Habits / Bond XP LLM Providers · Gemini / Claude / OpenCode · Architecture component · Streaming API · Google Gemini LLM Providers Gemini / Claude / OpenCode Streaming API Google Calendar · iCal Sync / OAuth · Architecture component Google Calendar iCal Sync / OAuth HTTPS :443 Reverse Proxy post_action LLM Factory SQL CRUD Approval Request Notify Cockpit iCal Fetch Local PC Runtime (Windows Host) Zero-Trust Pairing Boundary Legend Frontend Backend Database Cloud Security External

Zero-Trust Pairing & Mobile Cockpit

  • • Automatic TLS termination with Let's Encrypt via Tailscale Serve
  • • Fail-Closed authentication: Bearer tokens issued strictly during active QR window
  • • Real-time tactile alerts via Web Speech voice synthesis and haptic vibration

Multi-Agent Remote Approval Bridge

  • • Intercepts command approval requests from Cursor, Codex, Claude Code & Antigravity
  • • Review proposed bash commands and return approve/reject decisions in one tap

Desktop Companion & Autonomous Engine

  • • Non-blocking UI architecture decoupling asyncio event loops from Tkinter GUI
  • • Local transactional persistence for tasks, micro-habits & Bond XP via SQLite WAL
  • • Proactive daily schedule timeline suggestions via read-only Google Calendar iCal