Four questions, one stack.
Interactive roadmap
Does something in production already depend on this backend, with more than two engineers touching it?
A backend with no consumers can be rewritten by an agent in an afternoon. A backend with consumers needs a versioned contract, migrations that roll forward safely, and a test suite that fails before a client does.
Where are you?
Does something in production already depend on this backend, with more than two engineers touching it?
Why this matters
A backend with no consumers can be rewritten by an agent in an afternoon. A backend with consumers needs a versioned contract, migrations that roll forward safely, and a test suite that fails before a client does.
Do you run multiple services, teams or regions, or sit behind a compliance boundary?
Why this matters
Each of these turns implicit coupling into an outage. Service boundaries, audit logs and data residency all need to be explicit in code, which is exactly what makes them tractable for an agent. Below that line, one well-structured service on managed Postgres is still the right answer.
What are you building?
Does this backend mainly serve requests from your own web or mobile app?
Why this matters
A product API is judged on p99 latency and on how little glue sits between the schema and the client. Sharing types end to end lets the agent change a field once. Anything else is optimised for a different axis, so the framework choice changes.
Product API
The API behind your own product, optimised for latency and end-to-end types.
Is the core job moving or transforming data, such as ETL, embeddings, LLM pipelines or scheduled jobs?
Why this matters
Data and AI workloads want idempotent steps, retries and a language with the best library ecosystem for the job, which in 2026 is still Python. Internal tools want the opposite: a batteries-included framework where an agent can add a screen and a table in one change.
Tier × profile.
| Tier | Product API serves web & mobile | Data & AI pipelines & jobs | Internal tools & automation |
|---|---|---|---|
| 01 MVP Ship it | Bun + Hono + SQLite 5/5 | FastAPI + Pydantic + Postgres 5/5 | Hono + SQLite + server-rendered HTML 5/5 |
| 02 Growth Charge for it | NestJS + Postgres + Redis 5/5 | LangGraph + FastAPI + Postgres 4/5 | Django + Postgres + Redis 5/5 |
| 03 Scale Run it for many | Go services + Postgres, Rust where latency is the product 4/5 | ClickHouse + a typed ingestion layer + Postgres 3/5 | Rails + Postgres + Redis 5/5 |