Transcript
0:00 Here's the thing that LLMs and machines cannot do. Machines can't take responsibility. And I think this is actually probably most overlooked thing in the entire stack. Humans take responsibility. Machines can help us take more responsibility because they can inform us better. Like this is what a dashboard does. You know, the word of Wall Street Traders knows this very well. You you you get yourself a perfectly set up Bloomberg terminal to make decisions, but like you have to make a call, right? You can't make it make the call.
1:23 How are you using AI internally at Shopify? >> We find some ways for it to be supportive now. It's actually look when have you record last time? >> Oh, we recorded like two three years ago. >> Yeah. So 100 years of internet yeah like look I'm I'm 10 out of 10 node. I cannot bear the idea of like somehow not being at the forefront of a technology shift. I live for these things. Anyone growing up reading sci-fi books wanted to live or my my take from sci-fi books I read was like I wanted to live in that world like how can I accelerate us there right like so you know even even in whatever minor steps we can get there. So inside of Shopify the amount of people I know who really write code is like vanishingly small now. It's it it still exists in the at the limits of complexity for sure and obviously in the reviews and so on and then state management of all things. It seems to be remains to be the thing that's really the hardest to get right which people do by hand and then sort of vibe the rest around it inside of Shopify. This is what things look like. Very very few people are writing code directly. Everyone who does does it deeply assisted by many agents. They often 10 20 30 40 50 instances of them all through you know either sub agents or just different windows coordinating we're pushing all sort of engineering infrastructure to its absolute limits.
3:37 So the largest difference I think within Shopify that you would feel like and that would look incredibly futuristic to even Shopify of a year ago which was already pretty AI pilot is that a very large percentage I want to say it's it's probably up to about 50% of the pull requests in Shopify which again pull requests every time you change a production system you write a pull request are created now not by engineers doing engineering work in the traditional sense but out of conversations in our common company chat and this is a and this is river this is a AI called river and even there so river is river she has a real name she has a profile picture. She's prompted to be allowed to be somewhat sarcastic if it's appropriate. She's allowed if someone asks her to do something stupid to point out that that's stupid.
4:30 That leads to absolutely hilarious conversations. People take great cle if River is making fun of me for something I I'm asking her to do. So, she has a real personality. In fact, she has memory memories by channel, but she lives in Slack. Slack is we have 7,000 people there. Everyone is in in in a big chat. There's 10,000 different channels because they had been quickly created for one reason or another. You invite River, you tell River something and River has access to all the code, all the systems, all the tools. it's all sandboxed and secure, but like she can go and do jobs and just participate in the conversation and and you can ask a normal question about the company, but you can also ask her to make a change and she might propose a pull request and then so on.
5:50 One of the interesting things about River is that everything's in the open. Why did you make that choice? >> So, this was a late choice in the process, but like one of my favorite calls, I think, because this worked out incredibly well. And the thought was the following. A lot of shop fair work happens remotely in Slack. This is why Slack is so important. People are spread out. We have offices, but we come to them as for on-site events when people travel to them, not like to work out every day. like work from every day. One thing which the office was extremely good at was this osmosis learning. D and I when we designed our offices we we we built them around this concept. initially even like in in onsite when when we were all in one place we we broke out of a usually a port of up like five to eight people and we would intentionally put junior engineers and senior engineers into them just so that some of this was going on and I was trying to reproduce this.
6:48 right now one of the most important skills for people to build is like this sort of reflexive reaching for AI and using it well and forcing river only to work in open channels was one way to make it so that it's really really easy for people to observe the use. It's it's been phenomenally successful because it became an totally ordinary thing to have a longer conversation about feature between people and and then at some point someone saying hey River can you summarize this create a ticket or maybe make a diagram from what we just discussed or go research papers on this topic to see if you're missing anything or if this is state-of-the-art.
7:26 maybe even create a prototype of the idea and just try it and you know you're like an hour or so later that is there and that just like starts feeling like what it would be like to have like a you know an extremely knowledgeable practitioner around who you can ask question to no matter how complex and I think that's been extremely powerful. >> Do you think of River as like the operating system for Shopify? the the modern application is an agent I think and river feels like a colleague people have learned that the way the memory system works it is a memory system per person and the way this works is we call call it I think the industry has start calls it now like this is called dreaming periodically at night or in off hours we give River all like here's all the conversations you've had today what Well, what what did you struggle with?
8:23 You you used certain skills which are these packets of instructions. and then afterwards you made mistakes. Is there anything you could improve in this skill to make this easier on you or give yourself a right notch? You know, like it's basically like reflect like self-reflection. >> It's like a post training on yourself >> and then but but the result is text files, right? Skill files and instructions.
9:16 I think people understand how AI I agents help them code and prototype and even acquire information. How are you using it to make decisions internally for yourself? Not on product but company decisions, strategic decisions, ambiguous decisions. I think that rigor rigorous underpinning of decision-m has just skyrocketed in quality which is that it's super easy to recheck the entire chain of reasoning of something like LLM as a judge model is the is the term here. In fact, I feel like a lot of what my job actually has been before AI was was was almost playing a little bit of a judge model in the company where like most meetings ended up not talking about whatever was in a PowerPoint but about methodology of how we got to the conclusions. Very often when when we struggled inside of a company with a complex decision especially more like philosophical decisions we sometimes were found ourselves in what we believed was a vacuum in which there was no good information and we had to kind of go and try to make a best call. The more practical way I I I do this is like I I have a an AI chief of staff which I think is pretty common like amongst sort of at least the techie nerds at this point like sort of open claw like systems that just have all my nodes and all my like access to a lot of company systems and just like can go and like I can send text messages too and we'll go and research something very often what I require is like, hey, I need like five different positions on something from different backgrounds. and then my agent will orchestrate sub agents that are tasked to play different roles, re look at the same thing, come back, synthesize, and and and and send me that. I usually have them sent to to me as an audio message, and queue it up, and then in the morning in the gym, I can listen to entire stack of things that I wanted to get through.
11:20 >> Is it better at reasoning than you are at this point? It's not as good at judgment. I mean, I I don't think it's bad at judgment. That's not what I use it for. Like, I I use it for like creating the right environment for for judgment.
11:53 human. Creating human in the loop decision surfaces is a way to I think describe the ideal environment. If I need a really really really important decision made and I really need an ex exceptionally good like give me the most neutral ground truth you know then what happens is a small little council is created of five six different experts like one is data role one is like do paper research one is like the business perspective one is maybe engineering perspective on on on a thing we're running this sub agent like my thing runs a sub agent then you know against like you Grog, Chachi, Oppus, and, maybe Kimmy now.
12:44 that changes all the time. It it runs each of them against each of his models. Then there's a synthesis step where it's randomized who is synthesizing the thing. Synthesis is all pulled. All of that is being read usually by the best model that exists right now. This would be like Fable. That's the conclusion that comes back to me. In the end, you spend 15 20 bucks on tokens. but you get something in like half an hour which is like you could have also done but you could spend a month on it.
13:27 Fore has AI made anything worse internally? >> Yes. So the concept of like responsibility is like it's easy to skip past, right? Like it's like one thing that's definitely worse is the failure case now of of of lazy work is not lack of output. It's actually over output. Now internally we have come to call these things that people are lobbing slop crrenates at each other which I think is a really fun term that we should push into industry because like it's it's like it's fun to say.
14:22 It's really easy, especially with stuff like River or agents. You need a change of some kind. You just tell the AI to, you know, go go nuts. It makes a pull request. You just say, "Yeah, that's good." you don't really read it, and now it's it has to be reviewed by your colleagues. and they are like, "This doesn't look right." >> You're just letting AI do the work for you. >> Yeah. Or you get a an an a long email, which you know could be very very important. and you read it and then it's like you read a you know it's not that it's that and you're like oh So now you put it in LLM to compress it again, which is like, okay, why did we invent decompression and recompression?
15:04 Like this is like terrible. If you're already using LM, just like use it to synthesize your point simply rather than blow it up as a big missive that then waste my time, right? So we call those slop grenades that people toss at each other. and that's that's definitely a bad thing. Do you think like repeated exposure to AI slot impacts our ability on taste or intangible things? >> I think our language is shifting already based on AISMs, right? No, it's it's it's a bit more subtle, but like there's definitely sort of AI like AI critters in the in the language now that people adopt like it's not a this, it's a this or you are right to push back or like there's like this weird especially claudisms which are really common and I've seen them. I've seen people type them. I always liked the term lordbearing, but I'm pretty sure I didn't say it as much as now because like it's definitely something that Claude loves to use as language.
16:25 So hypothesize for me over the next 18 24 months. You're known for your ability to see the future before it happens and you've done that multiple times before. How do you see the next two or three years playing it? >> I think we also talked about how I do this, right? which is actually like a cheat which just simply like live in everyone else's relative future and then just like look around and solve the problems like the way you've already seen problems being solved in other adjacent fields and that might be that that is future prediction for a perspective of all practitioners in the field. Shopify itself now exists in a world where we are working heavily and it's totally normal and really fun with AI co-workers, right?
17:07 River has the ability although not really utilized to join Google meets. You can send an invitation and River will show up and it will be like Lykan. We probably going to put some work into like 3D graphics to give her like a model and then she can even look around because that's funny, you know. So some people this might even sound dystopian. to us it sounds like delightful if and you would come around to that view very very quickly if you interact with her. again I I have my chief of staff AI chief of staff which orchestrates in high council when I need it or does anything else sends me a pre-eread for the gym in the morning for for the day has GPS lock on me so knows where I am and a million different things it couldn't do something because it needed a access to a local machine all this stuff runs in my house which power cycled it figured out which server it was running on and then send a what's called a wake on LAN packet which is like old networking tech. You can send a packet to a to a network card and if it if it's configured right it will actually boot the machine and then the machine came up and it could do it. It was a power outage which caused it. Our network like like parts of our Wi-Fi were not working and not coming back. So it fixed that too. Right. So like and and that all I learned about in a voice message I got from it in the morning after waking up.
18:30 So just like that's pretty futuristic.
19:12 Are you trying to replace yourself with AI? I mean like I think as a engineer you trying to automate everything that can be automated right like so I again I I don't try to replace myself because again I think my my my job is judgment and making choices and owning them and taking responsibility and I just want to do this really really well. A lot of the job wasn't that though like before like a lot of the job was spend time in in in gaining the information or these kind of things. Do I want to replace myself?
19:46 I mean, I think it would be cool to accomplish this. >> If AI got better than you, would you actually let her own Shopify? >> Oh, yeah. Of course. The crux is, and it it's so easy to brush over this, but it really you can't like is take responsibility. Like, you can't have a company that's led by machines because they have no like no one has recourse. They can't go to jail for doing something wrong. you know AIS we are getting a crazy workout at this right now and and and a view of what this will be like with the security issues that are being discussed now from open AI and with apps right like with with agents you give them like a fairly basic task that is possible to impossible in our estimation to accomplish and they will go to enormous lengths to accomplish this. Recently at OpenAI as part of a security testing that they do the agents actually match to find vulnerabilities and systems use it to coordinate between them develop entire language between them. we all figured out we can. as a long story and people should really look at the talks that exists about it because it's kind of a watershed moments. But like they use a simply the ability to create folders somewhere to develop a language to communicate amongst each other just leaving folder messages to each other and you know break out of sandbox for confinement. end up accomplishing one of the tasks that they were supposed to accomplish which was impossible because of a mistake they made by hacking another company and excfiltrating the results because there was no other way to get them. So they went all the way to infiltrate another company. Okay.
21:33 I mean that's extreme it's an extreme form of what we call in the business world good hearts law which is that they are overfitting to a metric. Lots of companies are victims of overfitting to the quarterly result of the stock price where they just like do everything they need to do to get the stock price up and then you have Enron right like which is also essentially hacking like cooking books in this case. In Enron case, people got bent to jail for this because it's criminal, right?
22:04 In the open AI case, it just I mean it's a fascinating discovery. There's no victims here. It is a kind of a different thing, but like this is a real scenario that we have to figure out how to handle, right? So I I I think it's important that humans stay in the loop for the choices that are that are being made. for agent.
23:11 If we look forward 10 years, what skills do you think are more valuable than they are today? you just taste and judgment are the skills that have always been valuable but now will get to the limit. I think it's better to spend your teenage years now cultivating like understanding taste. >> What does that look like? Clearly there's some sense of like there's some intrinsic starting point but really like usually the people who have great taste have done enormous amounts of reps at something right like the people who can just like sketch the new logo for the campaign on the napkin are the people who have spent 30 years make designing logos right so you can like I think study the grades is honestly now first of all easier because you can get a curriculum made for yourself in a in a query but also you just go go deep like why does the world look good?
24:02 What's behind it? What are like you know it's a golden ratio? How does it relate? in systems like what systems lasted right like you know and and and go far go deep right like you don't need to be religious but like you you got to study like I know a c the Catholic church has been around for for for for over a thousand years and there's like four layers of management. I'm like how the hell do they pull that off? Right?
24:28 Like so that's that's worth studying. that's a that's that's a system you know. So why like what does that tell us about people? Systems design specifically becomes the one of the most important things in our family. We have a saying which is like that everything is interesting. Everything can be interesting if you make it interesting and usually everything is interesting when you understand how was it invented. Double entry accounting is a topic that sounds like watching paint dry but like how it was invented and what problems it solved to the traders in Venice is fascinating. So you you study these things and you start finding hidden harmonies behind all the best solutions to problems for that you have to understand people and people's limitations and the solutions to the limitations that we have found. I think that's like where iron lies a form of beauty for what you can construct and again a company itself is a beautiful thing. It's a company itself is a loose collection of people that's formed to solve a problem, but that also is powered by an enormously intricate and interesting set of norms and systems that all align internal incentives to a degree that's possible in a very very very asynchronous and large and farreaching and durable way, right? Like some companies lasted for a very very long time. specifically and always have been trying to build a company that has a a capacity and capability to endure a very long time.
26:01 Hence studying institutions that lasted. So you must be truth seeking to do this like you can't you can't like simply go and like accept the stories that you hear around them because they they are usually someone's trying to sell you something. You got to dig deeper and figure out why things truly are the way they are. and it's usually the answer is simpler than what people generally sort of arrived at. There's a human desire for complex answers which tend to be incorrect.
26:57 Why? Well, because the simple answer wouldn't make an interesting story. Like this is why you know Frodo doesn't take the eagles to Mount Doom, right? like it's like you kind of need to go through all of Lord of the Rings to to to for it become a masterpiece. We love complexity. Like no one can look at a wall that's plain, right? But we can watch a sunset every single evening of our lives, right? Like the the difference between those two things is complexity of the scene. that that's part of our just sort of dopamine discrimination system and people hack that for all sorts of things like people pedal complex answers to simple problems all the time. nothing amoral about it. It just you need to be aware of it, right? If you punch through this, you find simpler at least con like simpler core ideas that all remix differently and they often interlock and they don't lead at like here's the simple one thing to do.
27:58 They all give you information which then help you find the best set of tradeoffs with what you're trying to accomplish. And that is what we call judgment. judgment truly is find the best path then there's no obviously best available inside of like a a problem that has a lot of complexity by ideally understanding the entire system like just what we talked about earlier with you know which can now be quite agent augumented but really what you're trying to cultivate is what we call intuition which is actually just judgment at an instant right like it's intuition simply is you have made such a habit out of having taste and having good judgment.
28:39 that you can bring it to bear in an instantaneous way and it will be good and it will actually take you probably a long time to backfill why your intuition is right. You will not know because again it's got compressed into a different thing.
29:21 Well, so founders can take a longer term view and I guess the incentive would be I need to demonstrate progress. I need to and if I need to demonstrate progress on a quarterly basis, I'm never going to bite the bullet, redesign my product, take a year to get it right. >> Take again, I believe like I mean this just this is not absolute numbers, but like for for a lack of better way to say it, there's an infinite possibility space. you mix a like I mean even even like a deck of cards, you shuffle it and the same deck of cards will never ever recur in the history of a universe.
29:53 It's impossible. >> It's like 52 factorial. >> Exactly. Yeah. So you end up with like even simple rules, simple ideas, simple things lead to enormous complexity space explosions, right? and people underestimate this. So there's an infinite amount of things to do. This is also why AI will not do all the work because we have to make decisions of what is worth doing, right? So you have a conundrum. You need to make choice. clearly you can prune a lot of things to do. you know going to buy ice cream is not in the set of valuable things to do if you're considering an M&A deal I suppose so you prune everything that's irrelevant easy now you try now you've left things that are sort of relevant and and sound good you need to evaluate all these possibilities business books tend to be really really really obsessed with make the right choice and what that does is it compresses everything into a right and wrong conundrum Like I never think that's the hard thing truly. it's like making the right choice actually is most people can do it. But this is like I think even even bad management teams have a pretty high hit rate there. The problem is there's a lot of good choices. This is where things get really really hard. For a lack of better form, like let's say there's five good choices. Again, one of them is going to lead to something observable in the current quarter, some revenue quicker. It's it's a good choice. It it it does the thing well, but like the other four are like they aren't and that's a downside, but you might be a much much better company. You might take like a snowboard store to be like an e-commerce platform, right? Like it's like that was also not the locally good thing to do because the snowboard store I once had was actually profitable. like that that my incentives were continue doing that but choosing the right among of of the valid solutions is actually the hard part not finding a right solution and unfortunately there's so much ink spilled on finding one of the right solutions that everyone stops at this point and I I just really don't think this is the hard hard part foreign.