Skip to content
groundworkv0.2

Choosing a stack

How to pick tools that solve your problem, and why "boring" is usually right when agents write the code.

10 min read · Last reviewed November 20, 2026

Choosing a stack

A stack is the set of tools that make up your app: language, framework, database, hosting and services. With agents writing the code, the best stack is usually the most popular, well-documented one, because that's what models know best.

You'll be able to#

  • Evaluate a stack against your actual constraints
  • Understand why popularity matters more than it used to
  • Tell an your stack precisely, with versions

The mental model#

Start from the problem and the constraints, not the tools:

  1. What are you building? (content site, SaaS, real-time app, , mobile, AI feature)
  2. What are the constraints? (budget, team skills, scale, compliance, timeline)
  3. What's the most boring stack that satisfies them?

Key concepts#

  • Training-data advantage: Models write better React/Next.js/Postgres/Python than they write niche frameworks, because they've seen far more examples. Newer versions may postdate a model's training, so give the agent the docs (via MCP doc servers, llms.txt, or pasted links).
  • Full-stack frameworks: Next.js, Nuxt, SvelteKit, Remix/React Router, Rails, Django, Laravel, Phoenix. One codebase covers UI, server and routing.
  • Backend-as-a-Service (BaaS): Supabase, Firebase, Convex, Appwrite. Database, auth, storage and real-time in one service. Very fast to start with, but you're tied to the vendor.
  • Managed services: Use them for anything that isn't your core product: auth, email (Resend, Postmark), payments (Stripe), storage (S3/R2), search.
  • Lock-in: How hard it would be to leave. Portable choices (Postgres, Docker, open standards) keep your options open.
  • Version pinning: Always tell the agent the major versions you're on (for example "Next.js 15 App Router", "Tailwind v4"). APIs change between majors.

Decisions you make (not the agent)#

Your call, not the agent's

DecisionSensible defaultChoose otherwise when…
LanguageTypeScript end-to-endML/data-heavy → Python backend
FrameworkNext.jsContent-heavy → Astro; preference → SvelteKit/Rails/Django
DatabasePostgresSee Databases
Auth/email/paymentsBuy (managed services)Strict cost/compliance
New/niche techAvoid unless it's the pointIt's a learning project, or it solves a real constraint

Not sure? Answer a few questions#

Pick your stack defaults

0 of 4 answered
What does the backend mostly do?
What are you building?
Should you build or buy auth, email and payments?
Are you tempted by a new or niche technology?
Your defaults

Answer the questions above and your recommended defaults appear here.

These come from the Decisions table above. Treat them as defaults, not rules.

What good output looks like#

  • One recommendation per role (language, framework, database, hosting, auth, email, payments), each with a single alternative and when to pick it
  • Exact major versions, so the agent and you agree on the APIs
  • Mostly well-known tools, with any new or niche technology called out and justified
  • Fewer services than you expected, and the lock-in of each one stated
  • Questions about constraints it doesn't know, instead of assumptions

Red flags#

  • The agent mixing major versions (Pages Router patterns in an App Router app, Tailwind v3 config in v4)
  • Five services where one would do
  • A stack chosen because it's trending rather than because it fits
  • Common agent mistakes: proposing several new technologies at once for a small project; leaving out versions; choosing a backend-as-a-service without saying you'd be tied to the vendor; adding a message queue, a cache and a search service before there is any load; recommending a stack because it is popular in general, not because it fits your constraints

Worked example#

Task: Pick a stack for a booking app for three stylists, built by one developer who knows TypeScript.

You prompt: "What stack should I use for a booking app?" The agent recommends a microservices architecture, GraphQL, a document database, a message queue, a newer UI framework you haven't used and a container orchestrator. It sounds impressive and none of it is pinned to a version.

What a good result contains: a boring, well-documented stack that one person can run: Next.js and Postgres, managed auth, Stripe, and a platform host. Each role has one alternative and the lock-in is stated. Anything new is called out and justified.

The wrong turn: every new technology is something you have to learn, operate and debug, and the agent knows less about the newer ones. Dan McKinley's essay describes novelty as drawing on a small, fixed budget, and this stack spends it many times over before a single booking exists. With no versions, the agent will also mix patterns from different major versions.

How review catches it: ask how many of these are new to me? and what would you remove? For each remaining choice, ask for the alternative, what it costs to run, and the lock-in. Then pin the versions in AGENTS.md. If something new really is worth it, write down why, as McKinley suggests, and keep the rest boring.

Sample prompts#

Weak vs strong#

Strong prompt
I'm building <describe product, users, scale, budget, timeline>. My skills:
<list>. Recommend a stack (language, framework, DB, hosting, auth, email,
payments, analytics) optimizing for: shipping fast, low cost under <N> users,
and strong LLM/agent familiarity. For each choice give one alternative and when
I'd pick it. Flag anything with significant lock-in.

Why it works: It gives the product, your skills and the constraints that matter, and it asks for one alternative per choice plus the lock-in, which is what you need in order to decide.

What changed

  • Product, users, scale, budget and timeline are stated
  • Your skills are listed, so the stack fits the person who will run it
  • The goals are ranked: ship fast, low cost, strong agent familiarity
  • One alternative per choice and when you'd pick it
  • Lock-in is called out
Prompt
Add to AGENTS.md a "Stack" section with exact major versions from package.json,
and a list of version-specific gotchas you know for each (e.g. App Router vs
Pages Router, Tailwind v4 config). Mark anything you're unsure about.

Why it works: Pinned versions and known gotchas in AGENTS.md stop the agent from mixing patterns from different major versions, and "mark anything you're unsure about" keeps it honest.

Spend your novelty budget deliberately#

Prompt
Here is the stack you proposed. List every technology in it. For each one, say whether it is likely to be new to me (my skills: <list>), what a boring alternative would be, what it costs to operate, and what would make it worth the extra risk. Recommend which, if any, of the new ones to keep, no more than <N>, and say what you'd cut.

Why it works: It makes the cost of each new technology explicit, which is the trade-off the agent skips by default.

Audit a stack for lock-in and version drift#

Prompt
Audit this project's stack. List each major dependency and service with its exact major version from the lockfile. Flag: versions that differ from what AGENTS.md says; places the code mixes patterns from different major versions; services that would be hard to leave (and what leaving would involve); and anything that appears to duplicate another dependency. Don't change anything yet.

Why it works: Version drift and lock-in are quiet problems. A list from the lockfile makes them visible.

Explain the choices you rejected#

Prompt
For each choice in your recommendation, explain what you considered and rejected, and why. Say which of your reasons depend on my constraints (budget, skills, scale, timeline) and would change if those changed. Mark any claim about a tool that you aren't sure is current.

Why it works: Rejected alternatives and their reasons show whether the recommendation is tied to your situation or just a default. Verify tool claims against the current documentation.

Check your understanding#

Check your understanding

1/3Why does popularity matter more when an agent writes the code?
2/3In "Choose Boring Technology", what does adopting a new technology cost?
3/3What should you always tell the agent about your stack?

Checklist#

  • The stack is the most boring one that meets my constraints
  • Anything new or niche is justified in writing
  • Exact major versions are in AGENTS.md
  • I know the lock-in of each managed service
  • I can operate everything in it, or know who will

Go deeper#

Saved in this browser only.