HOW A PRODUCT FITS TOGETHER

Six layers, the same in every product.

People
BrowserPhone app (Expo)
Your product
Next.js + TypeScriptCloudflare, Vercel, Netlify or DockerPostgres + DrizzleBetter Auth roles
Job queue
Jobs, approvals, audit log
Workers
Python or Nodeon a Windows or Linux machine
Open source tools
BrowserGlassDeskVNCGodwinMixpsmux
Demo environment
Mock portalsMock desktop appsSynthetic US data
WHAT TO USE FOR WHAT

Find the part you are building.

SCREENS PEOPLE USE IN A BROWSER

Next.js with TypeScript, on Cloudflare with OpenNext, Vercel, Netlify or your own server

One framework for pages and API, free to host while you build. Every team has a live link from day 1.

THE API AND THE BUSINESS RULES

Next.js route handlers and server actions, in the same app

No second server to run. Rules live in rules.yaml and TypeScript modules with tests.

AN AGENT THAT WORKS A WEBSITE

A Python or Node worker with the BrowserGlass client

Real Chrome, human takeover in the same tab, recordings for audit. The worker takes jobs from a queue.

AN AGENT THAT WORKS A DESKTOP APP

A Python worker that calls DeskVNC through its MCP tools

Drives old Windows software that has no API, over VNC or RDP, with a person approving.

DOCUMENTS, SPEECH AND DATA

Python

The best libraries for reading PDFs, speech to text and data work.

A PHONE APP

Expo (React Native) with TypeScript

One codebase for iPhone and Android with native speed, sharing types and the API client with the web app.

DATA AND SIGN IN

Postgres with Drizzle ORM, Better Auth with roles

Typed queries, migrations in the repo, sign in and roles in an afternoon. Cloudflare D1 is fine for a first demo.

INSIDE THE CUSTOMER'S BUILDING

Docker Compose: the Next.js app as a Node server, the workers and Postgres

The same code as the cloud version. One command install for clinics, banks and agencies that keep data on site.

LIVE VIDEO

A GodwinMix plugin in Python or Node

Plugins speak line JSON on stdio, so any of the two languages works.

TESTS AND CI

Vitest, Playwright and pytest, run by GitHub Actions on every pull request

An agent's work is done when the tests pass.

PHONE APPS

Expo: one codebase, iPhone and Android, native speed.

When the people who use your product are away from a desk, build the phone app with Expo and React Native in TypeScript.

  1. 1Start on a real phone today. Create the app with create-expo-app, scan the QR code with Expo Go, and see it on your own phone in minutes.
  2. 2Native speed. Expo runs React Native's new architecture and the Hermes engine. Use FlashList for long lists and Reanimated for smooth animation.
  3. 3Share code with the web. Types, validation and the API client live in packages/shared and are used by both apps.
  4. 4Works offline. expo-sqlite stores work on the phone and syncs when the signal returns. Field staff and front desks need this.
  5. 5Ship to the stores. EAS Build makes iPhone and Android builds in the cloud; EAS Update pushes fixes without a store review.
  6. 6Notifications. expo-notifications for reminders and alerts, with the user's consent.
DAY 1: SET UP THE REPO

Give this to your agent first.

It creates the monorepo and deploys a live link before you write a single feature.

We are starting a production product. Set up a pnpm monorepo with:
apps/web: Next.js (latest, App Router, TypeScript strict),
packages/shared: types, validation and the API client,
workers: a Python worker managed with uv that takes jobs from a Postgres queue,
mock: the mock portal for our demo environment,
docker-compose.yml: web as a Node server, worker, Postgres, for on site installs.
Add Drizzle with Postgres, Better Auth with roles, Vitest, Playwright, pytest and a GitHub Actions workflow that runs all tests.
Deploy apps/web to our host ([Cloudflare with OpenNext / Vercel / Netlify]) so we have a live link today, with a preview link for every pull request.
Use the latest stable version of every package. Show me the plan and the commands before you run them.
STACK RULES
  • Only TypeScript (Next.js, Node, Expo) and Python. Pull requests to the open source tools use the tool's own language.
  • Always the latest stable versions. If an upgrade breaks something, fix forward.
  • One monorepo per team: apps/web, apps/mobile, workers, packages/shared, mock, docker-compose.yml.
  • TypeScript in strict mode. Python with type hints, managed with uv.
  • Secrets only in environment variables, never in the repo, never in a prompt.
  • Deploy from the first day. If it is not on a link, it did not ship.
THE AGENTS TYPE, YOU UNDERSTAND

Learn how it works, every day.

You will not write most of the code. You still need to know how it works, or you cannot tell the agent what to do, spot its mistakes, or explain the product to a buyer.

1

Ask it to explain

After every task, ask the agent to explain what it built in plain words, then explain it back to a teammate.

2

One concept a day

Pick one idea from today's work (a queue, a session, a migration) and ask the agent to teach it with a small example.

3

Read before you merge

Read every changed file. Ask about any line you cannot explain. If nobody can explain it, it does not merge.

4

Break it on purpose

Ask the agent to show what happens when a step fails. Knowing how it breaks is how you learn how it works.

5

Explain at the demo

At every Saturday demo each person explains one part of the product and how it works underneath.