Tupliq Agent — an AI agent you can actually install
The problem
Remote workers, freelancers, consultants and small businesses don't want another chat window — they want outcomes. Tupliq Agent takes a plain-language request, classifies it, picks a workflow and the best available AI model, executes it, and returns structured, actionable results you can copy, save and reuse. It was built as a standalone product for the RevenueCat Shipaton challenge, with monetization designed in from the first commit.
How it's built
- Mobile client — Expo 54 / React Native with expo-router, Supabase auth, React Query + Zustand, and a role-based onboarding flow.
- Backend — a production NestJS REST API (
tupliq-backend) with Prisma + Postgres:/agent/runorchestration, run history, usage limits, saved outputs, and RevenueCat-backed entitlements, containerized with Docker. - Provider chain with fallback — Gemini ▸ OpenAI ▸ Anthropic. AI keys never leave the backend; the app only ever talks to the NestJS API.
- Trust nothing client-side — usage limits are enforced server-side (402 → paywall), and subscription truth is written only by the RevenueCat webhook, never read from the client SDK.
- Structured outputs — every workflow validates model responses with Zod; malformed output triggers one bounded repair pass instead of surfacing garbage to the user.
Outcome
A complete, monetizable vertical slice: signup → onboarding → run a workflow → history → free-tier limit → paywall → Pro entitlement via RevenueCat (monthly and yearly products behind the tupliq_pro entitlement), with the Android app published on Google Play.
A YouTube walkthrough is in production and will be linked here.