Building the
City of Bits.
By Vlad M. Trifa — MIT / ETH PhD, co-author of Building the Web of Things (O'Reilly, 2016). Every build in this book has been run on real hardware.
CityScope builds on GitHub
Newsletter — every Thursday
DRM-free · lifetime use
Free updates + iterations while we're writing
Locked at publication (Jan 2027)
€29 early-backer price · limited · then €39
All book updates while subscribed (not just writing phase — continues after launch)
Exclusive Deep Dives articles
Skill packs (datasets, MCP servers, starter repos)
Video lectures (chapters walked-through)
Private Discord channel (#patrons)
Yearly only · €49 for the first 500 patrons · then €99
Share City of Bits with three people who build in the physical world. When each one subscribes (free is enough), chapter 2 unlocks for your first, chapter 3 for your second, chapter 4 for your third. No Digital purchase needed — the referral IS your free path.
12 chapters across four parts.
Part I — Foundations
- 01 · From Web of Things to City of Bits →
- 02 · The Urban Nervous System — Zürich →
- 03 · Physical Connectivity — Mexico City →
- 04 · The City Data Bus — Amsterdam →
Part II — Intelligence
Part III — Economics
Part IV — Govern & Close
9 progressive code builds. Every one runs.
Pi + SEN55 sensor → live PM2.5 page
LoRaWAN uplinks via The Things Network
City data bus — Mosquitto + SQLite + live map
First civic agent → Telegram alerts
MCP server — natural-language sensor queries
Two A2A agents coordinating
Pi AI HAT+ edge inference → anomaly map
DePIN node + token reward dashboard
x402 priced endpoints + auto-paying agent
Fifteen years across MIT, ETH Zürich, EPFL and two exited startups. There's a lot more — the full story, the other work, and how to get in touch — on my personal site.