Architecture for PoC & MVP teams · 2026

Build on a laptop.
Run it from a phone.

A ready toolkit for startups, PoCs and MVPs: a stack chosen for speed, an orchestrator that keeps AI development controlled and cheap, and a phone channel so the work never waits for the desk.

Next.js · Supabase · Vercel · GitHub Claude Code · sclaude Tailscale · Termius · Telegram

Ilia Poliakov

Choosing the architecture

Five criteria, four places, one flow

01

Days to first user

Hosting, auth, database and deploys come ready-made.

02

Near-zero cost until traction

Free tiers carry a PoC. The main line item is the AI subscription.

03

No ops team

Managed platforms, rollback in one step, previews instead of staging.

04

AI-native

Mainstream tools the models know well, so the agent's first pass is right more often.

05

Easy to grow or throw away

Standard Postgres and React. No lock-in that blocks the next stage.

Laptop · WSL2 or Apple Container

Where the work runs

  • Claude Code sessions, driven by sclaude
  • A worktree, dev server and database per feature
  • A real Chrome the agent checks its work in
  • keepawake: sleeps only when idle
↔
Phone · when away

The way back in

  • Claude app: the conversation
  • Telegram bot: answers, results
  • Tailscale + Termius: the spare key
→
GitHub

Where the process lives

  • Issues, board, criteria
  • Pull requests, AI review
→
Cloud

Where users meet it

  • Vercel: previews, production, rollback
  • Supabase: Postgres, auth, storage

Speed first, cost second; scale is a problem a PoC is happy to have later. No servers of our own and no staging: the laptop the developer already has is the build machine.

Why each tool · the product

Four managed services instead of an ops team

Front + back end

Next.js

UI and API in one codebase, one language.

Data

Supabase

Postgres plus sign-in, storage and an API. Runs locally in Docker too.

Hosting

Vercel

A preview address per branch, production, rollback in seconds.

Process

GitHub

Issues, board, pull requests and CI next to the code.

Built for AI
Next.jsSmall files keep the agent's context clear. The framework's conventions tell the model where things live and how to build them.
SupabasePlain SQL and Postgres, which models know well. One feature, one local database.
VercelA deploy is a git push. Each preview is where QA checks the agent's work.
GitHubThe agent works issues and pull requests through the gh CLI, which Anthropic calls the most context-efficient way in.
Free to start
Next.jsOpen source.
SupabaseA free tier that can carry a product almost into production.
VercelA free tier for previews and a first production.
GitHubFree for a small team.
Standard, no lock-in
Next.jsThe most common React framework. Runs on any Node host.
SupabaseStandard Postgres: dump it and move to any provider.
VercelAny host that runs Next.js or a container can replace it.
GitHubGit is portable; the history moves with you.
Why Postgres

One database for both transactional and analytical load, deep tuning, access rules down to the row (RLS), and point-in-time history out of its write-ahead log. A PoC will not outgrow it.

The main pain · AI that does not stay in line

Prompts are not guarantees. An orchestrator is.

Even with explicit instructions and plenty of IMPORTANT warnings, a model will invent a new status, switch language or skip a predefined option. A production workflow needs more than good intentions.

Plan→ Code→ Pull request→ AI review→ QA→ Merge→ Production
Fewer tokens

Context, models, scripts

Each stage is a fresh session with only its context. Cheaper models where the top one is not needed. Deploys, tests and bookkeeping run as scripts, at zero tokens.

Control

Tools are banned, not discouraged

Each step gets only the tools it needs; merging, main and production are refused as they happen. AI cannot drift out of control, so neither can the work.

Predictability

One fixed path

The same stages, gates and hand-offs on every feature. A step closes on evidence, never on a model saying "done".

Scale

No load on the team

One copy for everyone, updated on their next command. The process runs itself; nobody polices it in meetings.

Also for the CTO: a sandbox per feature, so a mistake stays small (next slide); one record per feature, so DORA metrics come from real cycles; rules the team improves from evidence. In the industry's words: spec-driven development with Docker's 3Cs as the safety model.

Companion deck sclaude in depth: the flow, the gates, the feedback loops →
The third pain · know-how that walks out of the door

Process, prompts and lessons become company capital

Today each developer keeps their own prompts, workarounds and tricks, and the tools change faster than anyone writes a tutorial. Here all of it lives in git, where it compounds instead of walking out of the door.

What is kept
  • The process: stages, gates, prompts
  • The rules: what each step may and may not do
  • The friction: every refusal, reviewed and decided
  • The lessons: retrospectives and the rules they produced
How it spreads
  • A fix reaches every developer at their next command
  • A personal rule that proves itself becomes the team's
  • A new hire starts with everything the team has learned; sclaude doctor sets up the machine
How it teaches
  • Each retrospective tells the developer, from their own run, how to work better
  • "What went well" surfaces best practices, with evidence
  • Whoever lags gets coached from facts, not in a meeting
"Quality internal platforms provide the shared capabilities needed to scale the benefits of AI across an organization."Google, DORA AI Capabilities Model
"Check CLAUDE.md into git so your team can contribute. The file compounds in value over time."Anthropic, Claude Code best practices
The same idea in Claude Code itself: /insights reads your recent sessions and reports friction points and suggestions.Claude Code docs, Manage costs
Know-how in practice · token secrets

Six habits that cut the token bill

The kind of know-how that used to live in one person's head. Most of it is built into the flow; the rest is shared as team practice.

1 · The cache lives an hour

A subscription keeps the prompt cache for an hour (five minutes on credits or an API key). Warm, the context is re-read at a tenth of the price or less; cold, it is paid in full. Take on no more parallel features than you can answer within the hour.

team habit
2 · A fresh session per step

Stale context is paid for on every message. Starting clean costs nothing; compacting a long conversation is itself a large request.

built in
3 · The right model per step

Opus where judgement matters, Sonnet for the pull request and the write-up, no model at all for deploys and gates.

built in
4 · Scripts before tokens

Deterministic work runs as scripts. A hook can cut a ten-thousand-line log to its failures before the model reads it.

built in
5 · Lean always-on context

CLI tools rather than MCP servers; workflow instructions as skills that load on demand; CLAUDE.md under 200 lines.

team habit
6 · Delegate the noisy parts

Sub-agents keep long outputs out of the main context. Agent teams cost about seven times a single session.

built in

Sources: Claude Code docs, Manage costs · Anthropic, Prompt caching.

The second pain · parallel features

Three features at once, and none of them can break another

With an agent per feature, a developer runs several features in parallel. In one shared checkout they collide: one migration wipes another's data, signing in to one feature signs you out of the next, two dev servers fight over a port.

Its own code

A worktree

A separate copy of the repository on its own branch. Edits never meet until the pull request.

Its own address

feature.localhost

A dev server per feature behind one address each, so cookies and sign-ins stay apart too.

Its own database

Supabase in Docker

Filled from the main local database or the seed, removed with the feature. A migration reaches nothing else.

Its own preview

Vercel per branch

QA checks each feature at its own deployed address, never on a shared staging server.

On one laptop, at the same time (example)

checkout-redesignworktree · feat/checkout-redesigncheckout-redesign.localhost:3000own databaseown previewstep 2 · code
invite-flowworktree · feat/invite-flowinvite-flow.localhost:3000own databaseown previewstep 4 · review
pricing-pageworktree · feat/pricing-pagepricing-page.localhost:3000own databaseown previewin QA

A feature nobody has opened for half an hour is stopped, database included, with its data kept, and starts again on the next visit. Production is never a feature's target.

Parallel work without a shared mess.

What it looks like · one feature, end to end

Step away from the desk. The work keeps going.

Went for coffee and Claude has a question? Not a problem. Everything is ready to continue from wherever you are.

09:00 · desk

Start

Pick the issue. sclaude sets up a sandbox, the agent proposes the scope.

laptop
09:30 · desk

Plan

Correct the scope, approve the plan and its acceptance criteria.

laptop
10:15 · coffee

"Step done?"

The question reaches the phone. Open the feature, look, tap Yes. Tests run, the PR opens.

Telegram
12:30 · lunch

Review

The agent fixes the findings and asks about the one it disagrees with. Answer in a line.

Claude app
15:00 · anywhere

QA, merge

QA ticks the criteria on the preview. You see one summary and decide on the merge.

a person
15:10

Production

Deploy, production tests, automatic rollback if they fail.

orchestrator

Back at the desk there is nothing to catch up on. In theory a whole feature can be run from the phone alone. We do not recommend it: the desk is still the place for deep work. The hours are illustrative.

The other bicycle everyone builds

AI review is where the know-how moved

+91%

time spent in code review

+154%

larger pull requests

+9%

bug rate

Alongside AI adoption, per Google's 2025 DORA report, as summarised by Mike Mason, Jan 2026. The agent writes faster than people can check.

Too loose

Finds nothing

Real bugs pass through, and the review becomes a formality.

Too strict

Endless rounds

Imaginary bugs get fixed for ever. Each fix invites the next finding.

Too clever

Burns tokens

Multi-agent, multi-pass reviews find more, at a price a PoC cannot justify.

A person only

Stalls

The agent ships in minutes, the reviewer in days. The whole flow waits.

Our answer: the agent reviews and fixes in bounded rounds, a person's decisions are not raised again, and the person sees one decision surface. The sclaude deck shows how.

"Chasing every finding leads to over-engineering."Anthropic, Claude Code best practices
The channel · where development actually runs

In a startup, the laptop is the server

The orchestrator runs the work on the laptop. The phone is only a channel to it, and the laptop was never built to be reached.

Corporations

VMs, virtual desktops, VPS

Always on and reachable, with an IT team behind them. That costs money every month, and a two-person PoC rarely gets one.

Startups

Personal or company laptops

Windows 11 with WSL2, or macOS with Apple Container instead of a VM. Free and fast, but it was never designed to be reached from outside.

Which leaves three problems to solve, on the next slide

1 · Reaching it

The dev environment sits behind the laptop, inside WSL or a container. Its address is not reachable from a phone. Usually solved with Tailscale or similar.

2 · Keeping it awake

A closed laptop sleeps and remote work stops. Keeping it awake all the time wears out the battery and costs power.

3 · Using it from 6 inches

An SSH client on top of a VPN works, but a terminal on a phone screen is slow for anything routine.

Why each tool · the workplace

The agent, the machine and the way in

The answer to the three problems: Tailscale reaches the laptop, keepawake keeps it up, the Claude app and the Telegram bot make the phone usable.

On the laptop

where the work runs

The agent

Claude Code

Does the typing. Hooks make the rules executable.

The process

sclaude

Our orchestrator. Runs a feature from issue to production so every developer works the same way. Its own deck follows.

The machine

Laptop + WSL2 + keepawake

Already paid for. WSL2 on Windows 11, or Apple Container on macOS, keeps the dev environment apart from the host. keepawake holds it awake only while there is work.

From the phone

the way in

The conversation

Claude app

Continues the session the laptop started. Plans, answers, instructions.

The remote control

Telegram bot

Everyday actions as buttons, in an app everyone already has. No VPN on the phone.

The spare key

Tailscale + Termius

A private network with no open ports, and SSH with a key that never leaves the phone. For the rare moments that need a real shell.

The channel · layers 1 and 2

The Claude app covers the conversation. The full kit covers the rest.

A desk session shows up in the Claude mobile app, with remote control always allowed. Everything else on the laptop needs a way in.

Layer 1 · Claude app does well
  • Continue the session the laptop started
  • Read the plan, correct the scope, approve it
  • Answer the agent's questions and permission prompts
  • Give the next instruction on the way to a meeting
Layer 1 · it cannot reach
  • A command line on the machine
  • Our orchestrator and its questions
  • The feature on its test server
  • Test tools, logs, a quick edit
  • Anything unusual on the way
Layer 2 · the full kit
  • Tailscale: one private network; SSH listens only there, never on a café's Wi-Fi
  • Termius: SSH with a key made on the phone; sclaude, full-screen Claude, any command
  • code-server: VS Code in the phone's browser, started on demand

The kit is good for long hands-on stretches, anything stuck or non-standard. It is the spare key that always works.

Too heavy for "does the page look right?", "restart the server", "yes, the step is done": seconds of intent, minutes of setup, three apps and a VPN.

The channel · what people actually do

Most phone moments are look, tap, done

Look at the result or press a button~80%

Open the web preview of the feature, restart something, answer "is the step done?", extend the laptop's awake time.

Talk to the agent~15%

Correct a plan, give the next instruction. The Claude app does this.

Something stuck or unusual~5%

Tailscale and Termius, as on the previous slide.

Shares are my working estimate from daily use, not a measured benchmark.

The 80% deserves a client of its own. Almost every developer had already built one.

Each in their own way, and each paid for in time and tokens. The next slide is what I found.

What I found in the team

Every developer had built the same bicycle

I looked at the helper tooling each developer had made for themselves. Nearly everyone had spent time and tokens on the same few things, each in their own way.

Rebuilt most often

Switching to the phone

Every AI client can mirror a desktop session to mobile. It is not enough: people also need a shell, the orchestrator, test servers, test tools, a basic editor, whatever the moment calls for.

Rebuilt quietly

Keeping the laptop alive

A sleeping laptop ends remote work. A laptop that never sleeps burns power and battery. Everyone found a different workaround.

Rebuilt expensively

AI code review

The know-how of AI development now sits in review. Each person tuned their own prompts and settled on a different trade-off between missed bugs and wasted tokens.

A company can provide this once, centrally, and let everyone contribute back.

That is what this stack and its tooling are: the common flow, found across individual setups, then automated and shared. First stop: a Telegram client for the 80%.

The channel · layer 3

The Telegram client: a channel to the orchestrator

Answers sclaude

Every question goes to the terminal and the bot at once. Whichever you answer first counts, and the laptop carries on by itself.

Web preview on the phone

One tap opens the feature running on the laptop full-screen inside Telegram, with an address bar, no Tailscale on the phone. Only your account gets in.

Shows every feature

What each step is doing, with links to its issue and pull request.

Starts and stops

Dev servers, the browser, code-server, the laptop's awake time, all from buttons.

A feature card, as the bot shows it
checkout-redesign · step 2, code

running

invite-flow · step 1, plan

waiting for you: "Approve the plan?"

pricing-page · in QA

idle until QA ticks the criteria

YesNoOpen on phoneExtend 1h

Illustrative example. The bot answers in the language of your Telegram client.

Same task, two paths

The classic path and the sclaude path

The momentClassic: VPN + SSHWith the bot
See the featureTurn on Tailscale, recall the IP and port, open the browserTap Open on phone
Restart the dev serverTermius, SSH in, find the terminal, stop it, start it againTap Stop, then Open: it starts on the visit
"Is the step done?"SSH in, attach to the session, type the answerTap Yes. The terminal at home continues
Laptop about to sleepWalk back to it, or lose the sessionThe bot asks 30 minutes ahead. Tap Extend
Where is everything?Check each terminal tab in turnOne card per feature: running, waiting, idle
Something oddThe classic pathStill the classic path. It is kept as the backup

The video walkthrough follows this same structure: each task done the classic way, then the sclaude way.

Keeping the laptop available

keepawake: awake while there is work, asleep when there is none

A person is there

An SSH session, an open editor tab or traffic over Tailscale holds the laptop awake for as long as it lasts.

Work with nobody watching

A busy agent or a running dev server holds it an hour at a time. Thirty minutes before the end the bot asks whether to extend.

Probably forgotten

An hour held with no sign of anybody, and the bot asks whether a session was left open.

When in doubt, it lets go. An early sleep costs one tap. A laptop that never sleeps costs a battery.

Why it matters for the budget

It lets a six-year-old laptop do the job a paid VPS would, three features in parallel included. Electricity and battery wear are the only running costs, and keepawake keeps both down.

What it costs to adopt

Low cost to run, and nothing to unlearn

Infrastructure
≈ 0

Free tiers of Vercel, Supabase, GitHub, Tailscale and Telegram carry a PoC. The laptops are already paid for.

Main line item
AI

The Claude subscription per developer. Lean context per step is what keeps it in check.

Onboarding
1 script

install.sh, then sclaude doctor lists what a machine still lacks and the command that fixes each gap.

Fits well

Small teams with their own product: Next.js on Supabase and Vercel, developers on Windows with WSL2 or on Linux. Open source under MIT.

Know before you start

sclaude runs on Linux, WSL2 and macOS, there with Homebrew's bash and GNU tools. Working from the phone — keepawake, the Telegram bot, code-server — works on all three.

In summary

Find the flow everyone repeats.
Automate it once.
Keep people on the decisions.

Architecture
managed services chosen for speed and for the model

Mobility
Claude app, Telegram bot, VPN + SSH as the backup

Process
sclaude: one fixed path, gates, a person at every decision

Next: sclaude in depth →

github.com/personalautomation/SClaude

Sources

What the claims stand on

AI and delivery

Google, 2025 DORA report: AI amplifies what a team already is.
Mike Mason, Coherence through orchestration: review time, PR size and bug rates alongside AI adoption.

Working with agents

Anthropic, Claude Code best practices: plan before code, fresh context, hooks over instructions, CLI tools, review that does not chase every finding.

Review

Anthropic, Code Review for Claude Code: substantive review comments went from 16% to 54% of pull requests; approval stays a human call.

Safety and control

Docker, The 3Cs: contain, curate, control.
Birgitta Böckeler, Harness engineering: feedforward and feedback controls around a coding agent.

Team figures in these decks are project observations, not benchmarks. The 80/15/5 split is a working estimate.