Tavi

Talk to it from Claude or ChatGPT: an AI-first personal assistant with its own MCP server. Log water, meals, workouts, tasks and money by talking, in an offline-first app or from your AI. Site live, API on AWS, apps not in the stores yet.

Tavi Today screen, assistant panel and Pro plan
Overview

Tavi (formerly Pocket Helper) is a personal assistant for daily life: water, meals, workouts, weight, task lists and personal finances, logged by just saying "drank 500 ml, did 5 rounds of pads, weigh 84.2". The website is live at oitavi.com.br and the backend is in production, while the iOS and Android apps are still on their way to the stores. The core app is plain, fast CRUD that works without AI; the assistant is a layer on top. The mobile app is React Native on Expo SDK 58 and it is offline-first: every screen reads a local SQLite database that syncs with Postgres through a self-hosted PowerSync service, and devices write through one upload endpoint with an allow-list of tables and columns, ownership checks and a savepoint per operation, so a bad write is refused without blocking the device's queue. Native home screen widgets (SwiftUI on iOS, RemoteViews on Android, through a local Expo module) show the day from a snapshot the app writes: water against the goal with a +250 ml button, the next tasks to tick off and, during a workout, the rest timer with the same buttons as the live notification and iOS Live Activity. Presses are queued natively and work with the app closed. The NestJS 12 API on Drizzle and Postgres 18 runs the assistant on Claude Haiku 5.5: replies stream over server-sent events with the thinking summary and each tool step, and every change the agent proposes is rehearsed by the sync engine in a rolled-back transaction and shown as a confirmation card built from the real rows. One set of Zod schemas defines the API validation and the tools, so Claude, ChatGPT and other assistants get the same read, add and confirmed-change tools through an MCP server, behind an OAuth 2.1 authorization server written into the API, with app and MCP confirmations kept on separate channels. Finances never reach the backend: they live in a per-user SQLCipher database on the phone with automatic, password-encrypted Google Drive backups. Production runs on one EC2 instance in São Paulo defined in AWS CDK: Caddy, the API, Postgres and PowerSync in Docker, no SSH (Session Manager only), no NAT gateway, a separate data disk with daily snapshots, secrets in Parameter Store, and a deploy script that builds the ARM image, pushes it to ECR and restarts the stack. The marketing site is Next.js 16 with Tailwind 4 and Motion, in Portuguese and English, styled from the app's own design tokens and built to be found by search engines and AI answer engines: JSON-LD, hreflang, an Open Graph image per page and language, llms.txt and IndexNow. Pro subscriptions go through RevenueCat, and AI costs are capped per user and globally before each call.

Highlights
Website live at oitavi.com.br: Next.js 16, Tailwind 4 and Motion, pt-BR and English, built from the app's design tokens, with JSON-LD, per-page Open Graph images, llms.txt and IndexNow for search and AI answer engines
Production on AWS defined in CDK: one EC2 instance running Caddy, the API, Postgres 18 and PowerSync in Docker, no SSH or NAT gateway, a separate data disk with daily snapshots and secrets in Parameter Store
Offline-first React Native (Expo SDK 58) on local SQLite, synced to Postgres through self-hosted PowerSync with an allow-listed upload contract and per-operation savepoints
Native home screen widgets on iOS and Android: water, tasks to tick off and the live workout's rest timer, with presses queued natively so they work with the app closed
Claude agent with streamed replies and tool steps; every change is dry-run by the sync engine and confirmed on a card, and the same tools reach Claude and ChatGPT through an MCP server behind OAuth 2.1
Finances stay on the phone in a per-user SQLCipher database with automatic, password-encrypted Google Drive backups; RevenueCat subscriptions and AI cost limits checked before every call
Technologies
ExpoNestJSMCPClaude APIPowerSyncDrizzlePostgreSQLReact NativeTypeScriptSQLCipherNext.jsAWS CDK

Hiring a senior full-stack engineer? Let's talk.