Productivity: AI app builder
PepCode
Your app, built overnight
Next milestone: Production cloud setup and invite-only beta
Tech stack and architecture
Built with
| Layer | Technology |
|---|---|
| Phone app (iPhone, Android, web) | Expo SDK 57 with React Native 0.86 and React 19, written in TypeScript; one codebase for all three |
| Website | Next.js 16, exported as plain static pages; waitlist on Google Firestore |
| Backend | PepCode's own services in TypeScript on Node.js 22: an API with 49 endpoints, the interview and Blueprint writer, the build engine, the crew runner, a usage meter, a network gate, a checking and publishing pipeline, and file and code storage |
| Database | PostgreSQL (database code written and tested; files on disk during development) |
| AI | Anthropic's Claude models (Opus, Sonnet and Haiku tiers) for the interview and the build crew, through the Claude Agent SDK |
| App checks | Headless Chromium (a browser with no window) through Playwright, for screenshots and feature checks |
| Payments | RevenueCat over Apple and Google in-app purchases |
| Sign-in | Firebase Authentication: email link, Sign in with Apple, Google |
| Notifications | Firebase Cloud Messaging |
| Hosting (planned) | Google Cloud for the services and build sandboxes; Cloudflare Pages for the website |
| App builds | Expo Application Services (EAS) cloud builds |
How it fits together
flowchart LR C[Customer's phone or browser<br/>PepCode app] --> API[PepCode API<br/>accounts, plans, credits] API --> BW[Brief Writer<br/>interview, Blueprint, estimate, screening] API --> EN[Build Engine<br/>schedules one-night builds] EN --> SB[Build sandbox<br/>AI crew at work] SB --> GW[Usage meter] --> AI[Claude AI models] SB --> EG[Network gate<br/>downloads and saving work] EN --> AR[Checking pipeline<br/>real-browser tests, screenshots, time-lapse] AR --> WEB[Customer's finished web app] API --> LED[(Credit ledger)] GW --> LED API --> PAY[RevenueCat<br/>App Store, Google Play] API --> AUTH[Firebase sign-in<br/>and notifications]
The customer only ever talks to the PepCode API through the app. The API hands the conversation to the Brief Writer, which runs the interview, screens the idea, writes the Blueprint and estimates its cost. Once the customer approves, the Build Engine starts the AI crew inside a locked-down build sandbox. The sandbox can reach the outside world only two ways: the usage meter, which is the only route to the AI models and counts every request against the customer's credits, and the network gate, which allows package downloads and saving work. When the crew finishes, a checking pipeline outside the sandbox opens the app in a real browser, tests each feature, takes screenshots, and publishes the finished web app. Everything that judges the app runs outside the sandbox, so the crew cannot mark its own homework.
Services it uses
- Anthropic (Claude): the AI project manager in the interview and the AI crew that builds each app.
- RevenueCat: sells plans and credit packs through the App Store and Google Play and tells the service what was bought.
- Firebase (Google): sign-in by email link, Apple and Google; push notifications; the website's waitlist.
- Google Cloud (planned): build sandboxes, the database, storage and scheduling.
- Cloudflare Pages (planned): hosting the website.
- Expo (EAS): cloud builds of the iPhone and Android apps.
- GitHub (planned): a code home for each customer's app.
The app has no ads, analytics or crash-reporting services.
Quality
- Automated tests: 3,361 tests pass across the 15 parts of the service and website, plus 213 tests in the phone app. Money paths (buying, granting, charging, refunding) are tested against exact expected amounts, including rounding.
- End-to-end walk: a script walks the whole customer journey through the app in a browser, 42 steps against the local service. The app also passes ten automatic checks, including type checks, code style, color contrast, a duplicate-code check and test bundles for iPhone, Android and the web.
- Real builds: three real apps were built end to end by the AI crew, each with all of its features passing the browser checks.
- Independent reviews: the sign-in, buying and notification code were each re-read against the providers' current documentation by reviewers that had not written them. Each review found things to fix; they were fixed, and the few that can only be settled against the real services are written down.
- Real-device style checks: the app was walked on the iPhone simulator several times, including dark mode and the largest text sizes.
- Releases: phone builds are made in Expo's cloud build service with separate development, preview and production profiles; version numbers are managed by the build service.
- Not yet proven: anything on a real phone, on Android hardware, or against the real sign-in, payment and notification services. Those come with the production setup.
Updated 2026-11-22