The Pragmatic Engineer
The Pragmatic Engineer
How AI is changing software engineering at Shopify with Farhan Thawar
0:00
-47:02

How AI is changing software engineering at Shopify with Farhan Thawar

Shopify's Head of Engineering, Farhan Thawar, shares how the company is using internal LLMs, unlimited AI tokens, and custom tooling to figure out how to use AI tools more efficiently - faster

Stream the Latest Episode

Listen and watch now on YouTube, Spotify and Apple. See the episode transcript at the top of this page, and timestamps for the episode at the bottom.

Brought to You By

  • WorkOS — The modern identity platform for B2B SaaS.

  • Statsig The unified platform for flags, analytics, experiments, and more.

  • Sonar — Code quality and code security for ALL code.

In This Episode

What happens when a company goes all in on AI?

At Shopify ,engineers are expected to utilize AI tools, and they’ve been doing so for longer than most. Thanks to early access to tools like GitHub Copilot (Shopify was the first company outside of GitHub to use it), and models from OpenAI and Anthropic, the company had a head start in figuring out what works.

In this live episode from LDX3 in London. — recorded two weeks ago — I spoke with Farhan Thawar, Head of Engineering, about how Shopify is building with AI across the entire stack. We cover the company’s internal LLM proxy, its policy of unlimited token usage, and how interns help push the boundaries of what’s possible.

With Farhan Thawar at LDX3, during the live podcast

In this episode, we cover:

  • How Shopify works closely with AI labs

  • The story behind Shopify’s recent Code Red

  • How non-engineering teams are using Cursor for vibe coding

  • Tobi Lütke’s viral memo and Shopify’s expectations around AI

  • A look inside Shopify’s LLM proxy—used for privacy, token tracking, and more

  • Why Shopify places no limit on AI token spending

  • Why AI-first isn’t about reducing headcount—and why Shopify is hiring 1,000 interns

  • How Shopify’s engineering department operates and what’s changed since adopting AI tooling

  • Farhan’s advice for integrating AI into your workflow

  • And much more!

Interesting detail: Shopify’s interview process

Two interesting details on how Shopify hires, as discussed in this conversation:

#1: Directors-and-above still need to do a coding interview

Gergely(at 40:29): You mentioned something super interesting to me. When you're hiring engineering directors and above: in the past it was the usual interview. Culture, fit, strategy, all that stuff. You added a coding interview for every single engineering director and above hire. Can you tell me about this?

Farhan: What happens is it is shocking for VPs. To be like “whoa, there's a coding interview!” I'm like: “yeah, because we believe that they are still deeply in love with technology. And so it worked out super well.

Our whole idea is that you're not running away: you're running towards technology and it's just a better way for you to express it. So I pair with the candidates and they also see that even though I'm not writing code every day, I'm still deep in the weeds of technology. I still love technology and I still want to talk about technical topics.

And there are lots of great companies out there where that's not the requirement. But at Shopify, we believe people should be as close to the details as possible. And so that doesn't mean coding day to day, but you should understand code and how code works. The muscle memory of coding will come back in these pairing interviews.”

#2: Shopify doesn’t “ban” AI tools during their full-remote interview process

They actually encourage using them! This is one of the first examples I’ve heard this approach: and it seems to be working for the company:

Gergely (42:07): “Hold on. So you're using AI during your interview process?”

Farhan: “Yes!”

Gergely: “Oh, you’re not running away from it.”

Farhan: “We're embracing it.”

Gergely: “How's it working? Tell me.”

Farhan: “ I love it. Because what happens now is the AI will sometimes generate pure garbage.”

Gergely: “So you’re screen sharing and you say, literally use anything?”

Farhan: “You let them use whatever they want. Here's what I'll say.

If they don't use a copilot, they usually get creamed by someone who does. So they will have no choice. But it’s a copilot!

Sometimes I will shadow an interview and do the questions myself. I've never seen them with a copilot and send it to the interviewer and say, please mark my assignment as well against a candidate. I have not lost yet. If they don't have a copilot, they will lose.

But when they do have a copilot, I love seeing the generated code because I want to ask them, what do you think? Is this good code? Is this not good code? Are there problems? And I've seen engineers for example: when there's something very easy to fix, they won't fix it. They will try to prompt to fix it.

And I ask: “are you really an engineer?” I get the nuance of just prompt and prompt and prompt. I’m like: “just change the one character!” — and they won't change it! And I'm like, okay, I don't want you to be 100% percent using AI. I want you be like 90 or 95%. I want you to be able to go in and look at the code and say, oh yeah, there's a line that's wrong.”

The Pragmatic Engineer deepdives relevant for this episode

Timestamps

(00:00) Intro

(02:07) Shopify’s philosophy: “hire smart people and pair with them on problems”

(06:22) How Shopify works with top AI labs

(08:50) The recent Code Red at Shopify

(10:47) How Shopify became early users of GitHub Copilot and their pivot to trying multiple tools

(12:49) The surprising ways non-engineering teams at Shopify are using Cursor

(14:53) Why you have to understand code to submit a PR at Shopify

(16:42) AI tools' impact on SaaS

(19:50) Tobi Lütke’s AI memo

(21:46) Shopify’s LLM proxy and how they protect their privacy

(23:00) How Shopify utilizes MCPs

(26:59) Why AI tools aren’t the place to pinch pennies

(30:02) Farhan’s projects and favorite AI tools

(32:50) Why AI-first isn’t about freezing headcount and the value of hiring interns

(36:20) How Shopify’s engineering department operates, including internal tools

(40:31) Why Shopify added coding interviews for director-level and above hires

(43:40) What has changed since Spotify added AI tooling

(44:40) Farhan’s advice for implementing AI tools

References

Where to find Farhan Thawar:

• X: https://x.com/fnthawar

• LinkedIn: https://www.linkedin.com/in/fnthawar/

Mentions during the episode:

• LDX3 2025: https://leaddev.com/leaddev-london/agenda/

• Shopify: https://www.shopify.com/

• Claude Code: https://www.anthropic.com/claude-code

• Codex: https://openai.com/index/introducing-codex/

• Ruby: https://www.ruby-lang.org

• MySQL: https://www.mysql.com/

• Thomas Dohmke on LinkedIn: https://www.linkedin.com/in/ashtom/

• The present, past and future of GitHub: https://newsletter.pragmaticengineer.com/p/github

• GitHub Copilot: https://github.com/features/copilot

• Cursor: https://www.cursor.com/

• VS Code: https://code.visualstudio.com/

• Devin: https://devin.ai/

• AI tools for software engineers, but without the hype – with Simon Willison (co-creator of Django): https://newsletter.pragmaticengineer.com/p/ai-tools-for-software-engineers-simon-willison

• Jevons paradox: https://en.wikipedia.org/wiki/Jevons_paradox#Conditions

• Tobi’s memo: Reflexive AI usage is now a baseline expectation at Shopify: https://x.com/tobi/status/1909251946235437514

• Librechat: https://www.librechat.ai/

• Farhan’s post on X about spending on AI tools: https://x.com/fnthawar/status/1930367595670274058

• Mikhail Parakhin on LinkedIn: https://www.linkedin.com/in/mikhail-parakhin/

• Gumloop: https://www.gumloop.com/

• Jira: https://www.atlassian.com/software/jira

• Linear: https://linear.app/

• How Shopify Built Its Live Globe for Black Friday: https://newsletter.pragmaticengineer.com/p/shopify-black-friday

• The Pulse #86: Is Shopify’s new “mastery” framework a response to higher interest rates?: https://newsletter.pragmaticengineer.com/p/the-pulse-86

• Inside Shopify's Leveling Split: Exclusive: https://newsletter.pragmaticengineer.com/p/inside-shopifys-leveling-split

• The Pulse #138: Ban or embrace AI tools in technical interviews: https://newsletter.pragmaticengineer.com/p/the-pulse-138

Production and marketing by Pen Name.

Discussion about this episode

User's avatar