Tobi Lütke: 21 Years of Building Shopify
Shopify's CEO explains how he nearly killed his company by "cosplaying" as a traditional CEO, then saved it by firing his entire executive team, engineering the company like software with a literal GitHub repository, and giving employees unprecedented control over their own compensation.
Read Original Summary used for search
TLDR
• Post-IPO, Tobi "cosplayed" a traditional CEO and nearly destroyed Shopify—COVID forced him to review every project, cancel 60%, and replace his entire executive team with founders who had "high agency"
• Built "Shopify OS"—a literal GitHub repository with machine-readable config files defining the entire company structure, removing politics by making all trade-offs transparent
• Gave employees full control over compensation mix (cash/stock/RSUs) adjustable quarterly, solving the psychological damage of underwater options after an 80% stock drop
• "Make it different, even if it's worse"—you can iterate a 6/10 original to 10/10, but copying a 7/10 leaves you stuck forever; mastery over your own system beats initial quality
• Designed office spaces where 5-person pods physically enforce team size constraints without policy—the environment makes correct behavior intuitive, eliminating "corporate babyproofing"
In Detail
Tobi Lütke's core thesis is that companies are social technologies that should be engineered from first principles, not copied from templates. After Shopify's IPO, he spent years "cosplaying" as a traditional CEO—delegating everything, trust-falling into his executives' decisions. This nearly killed the company. During COVID, he personally reviewed every project in 16-hour days, discovered massive waste (like a team building supermarket features without his knowledge), and realized his executives had learned to direct his attention away from problems. He turned over his entire executive team within a year, replacing them with founders from acquired companies who had the "high agency" that comes from being responsible for others' livelihoods.
The breakthrough was treating company-building as an engineering problem. He created "Shopify OS"—literally a GitHub repository with Python code and config files defining every aspect of the company: titles, levels, compensation bands, team sizes, reporting structures. A SAT solver computes what the company "should" look like based on agreed constraints, then HR reconciles reality to that desired state. This removes politics: when the head of sales wants 50 new hires, the system shows exactly which engineers you'll lose. He also revolutionized compensation by giving employees quarterly control over their mix of cash, RSUs, stock options, and "shop cash," with the ability to lock in stock value for three years. This solved the morale crisis when Shopify's stock dropped 80%.
The philosophy extends to physical space. Co-founder Daniel Weinand designed offices where 5-person pods (the optimal team size) fit exactly 5 people comfortably and 7 uncomfortably—the environment enforces the constraint without policy. Meeting rooms are in the middle, away from windows, to discourage excessive meetings. Everything is purchased from Shopify stores. Tobi even obsesses over "Norman doors" (doors where you can't tell if you push or pull) as symbols of design incompetence. He runs an internal podcast called Context documenting decision-making processes, because the "why" matters more than the "what." He requires executives to give annual talks on how Shopify does their function differently—this creates psychological commitment through public articulation. He uses affirmations (literally writing "I love public speaking" for a week) and writes "hit pieces" on past work to overcome sunk cost fallacy. His annual "corporate raider" exercise asks: if Shopify went bankrupt and I bought it, what would I change? The answer becomes his to-do list.