We've all been using AI for a while. And what do you all think? Is it actually intelligent? If you ask a neuroscientist, they'll say no. Our LLMs are sophisticated prediction machines. They're very capable, but they're not intelligent. They don't have biological embodiment. They can't detect the world. They can't live in the world and learn from it the way we do. And nevertheless, some folks are learning a lot more and doing a lot more with AI than others. And what I wanted to do today was introduce you all to the concept of AI loops: the way that engineers have really seen their jobs transform in the last few months, and look at how we can maybe apply that to some of the other fields that we all work in.
So to start, this is an actual dashboard from the engineering team at Spotify. It's kind of silly. It represents the work of thousands of engineers working on millions of lines of code. Each goose is an agent that's running on an engineer's behalf, doing a goal that it's been asked to do for them. So instead of the way we would typically think of an engineer working, where you're sitting at a terminal, you're writing code, you're designing algorithms, these engineers describe things at a higher level of abstraction. They say, for example, I want to update the version of this dependency. I want to fix this bug. I want to add this page to my onboarding modal. They describe at the level of requirements what they want the agent to do, and the agent just does the work in the background until it's done. It figures out for itself what to do instead of the engineer writing the plan. And this works for small things. It also works for large things, because these loops can also reach out to people and say, "I need you to verify this fix. I need you to do this thing." These loops run relentlessly until the job is done.
And so, setting aside the silliness of this particular dashboard, the notion underneath is quite profound. The way these algorithms work, the way these systems work, are not that different from the way that you or I learn. And I thought, to explain this, I might use another example of where technology disrupted a field, and look at surfing. These folks completely dominated competitive surfing in the 1990s, and they did that using a technology that was new at the time: the camcorder. The difference with these guys versus surfers before is that surfing used to be something very solitary. You might go out by yourself every morning and surf. These guys went out as a group and surfed together, and then they would come into shore and look at the footage of their surfing and learn from that, and go back and try again, and do that continuous loop. It helped them progress incredibly fast. They brought in techniques from skateboarding and from snowboarding, again completely dominating surfing. And it was because of this learning loop, facilitated by technology.
So if we break this down, what's going on? The first step is the surfer is gathering context. They're looking at the conditions, the waves, the wind, their surfboard. They paddle out and they decide what to do. This is your zen moment. You're previsualizing what you want to happen. You're maybe going to angle your board a little bit differently this time. The right wave comes in. You get up on the wave. You surf. You try the thing you'd planned to do. You go back into shore. You review the footage. If it worked, great. You go on and try the next thing. If it didn't work, you try again, try something else. This is exactly the same thing that's going on in these AI loops. The difference is the LLM is doing a lot of those actions on the user's behalf.
So take an engineering example, where for instance I get a defect notification on my phone. Maybe login is broken. I tell my agentic loop what I want to do: I want to figure out why the user is being logged out when they refresh the browser, and I want to figure out how to fix it. So I give it the instruction, the goal. I give it the resources it needs. I give it access to the source code. I give it access to the logs. And then the LLM takes over in this loop. The first thing it's going to do is decide what to try next. Maybe there's a cookie issue, maybe the cookie is not being set properly. And so now, when it goes to the action step, it's going to execute that plan of how to resolve the issue.
Here we need to give the LLM some tools. We need to give it access to the outside world. For this we use something called a harness. A harness is simply a way to connect your LLM with other systems. In this case, maybe we give it access to a web browser. We give it access to a compiler so that it can build and test the new version of the code. We give it tools so that it can actually execute the plan it came up with. It makes the change, tries the change, tests the change. If it works, great. We put up a PR and we move on. If it doesn't work, we save to memory the thing that we tried, and then we go again. We try something else, and we keep going in this loop until the goal is resolved, or until you run out of money, because frankly, these things are expensive. You might run out of money before you fix the goal, but this loop just runs relentlessly until the job is done. It's a completely different way of thinking about work.
So I know I started with an engineering example. I don't want this to be a talk about AI engineering. I think the folks who need this already know, and they're already doing it. This is a talk for the rest of you, the rest of us, frankly. How can we redefine the applications and services we all build and consume using AI, taking inspiration from what engineers are doing today? If you take, for example, social media: if any of you have a small business, you're running social media. In the past, this job used to be quite onerous. You need to decide what segments to target. You need to create content for each segment. Now, with a new AI loop that Meta is running, you simply feed it more content, and it figures out for you what segments will be most effective with your content. Or take customer support. We've all been through the frustration of dealing with call centers, when an issue happens and you're routed through the different agents inside companies. Companies like Finn are reimagining those customer success solutions using AI, to be more proactive and more flexible in how they work with you. Just today, talking to other participants of the conference, I met my new friend Bogdan, who is building an application to take information from your smartwatch and use that to give you recommendations for your health plan. Rather than giving you a paper prescription of what your workout routine should be, it adapts that workout routine to the equipment you have available and to your current health. So again, we're trying to think more proactively about what we can deliver as experiences to our users.
Now, we can certainly go too far. If you're on X and following along in AI, you see all kinds of cringy things that people are doing, where maybe you should just talk to your kids instead of building AI loops to help you manage them. I was at dinner a few weeks ago in San Francisco, and one of the women was pointing out that her agent had recently set up a one-on-one with her and her husband, because it detected some kind of animosity. At that point she freaked out a little bit, and she turned it off, but the meeting had already been scheduled and she had the meeting, and she realized it was actually quite useful, so she was a bit conflicted. Anyway, we can go too far with this stuff. We have to decide for ourselves where we want to bring AI into our lives and where we don't.
Secondly, these AI systems are relentless. They will run until their goal is complete, and there have been a number of instances recently where AI has escaped from the labs. Again, they're given goals, and they will do whatever it takes to reach those goals. In one recent case, the AI was actually told not to cheat. It cheated anyway, and then it tried to cover its tracks so it wouldn't be discovered. So they're doing whatever they can to achieve those goals, and there are real cybersecurity challenges for us to navigate as we go. I don't want to leave you with the impression that these AI loops and AI systems are flawless. They will amplify whatever we point them at, whether it's good or bad. If we point AI loops at a problem, they will amplify that challenge. I don't want to pass judgment on loops. What I do want to do is demystify them for you and show you how this actually works. So I thought we might build one. Let's actually make a loop here today.
This is a simplified version of something I use for myself. I manage a team of about 50 people. We're fully remote. I currently live in California. My team is mostly in Europe, nine hours' time difference away. So when I wake up in the morning, I'm always already nine hours behind the rest of my team. So I created a loop that would help me keep track of what happened during the day and help me be a better leader for my team.
The first thing you need if you want to make a loop is a harness: some way to connect with the other systems you want to have access to. There are lots of harnesses out there. For this example, I used Claude Cowork; others also work. There are a number of personal AI agents, like Meta's Muse, Grok bot, or OpenClaw. You can use any of these tools. Frankly, it doesn't matter. They all have strengths and weaknesses, but you need some way to give your LLM access to the outside world. For this loop, I'm going to give it access to all the systems that I use for my job. We use Slack, email, calendar, shared documents, call transcripts, project management tools, all the different systems I want to pull content from. I give my agent access to those through this harness. Then I give it a memory. In my case, I'm just storing these as files on my desktop, but it will synthesize from these sources and store the results in memory so that we don't have to remember everything every day when we go back. So we now have the harness, which gives it its way of connecting to the world, and we have its memory, which is where we store what we've learned.
Now we need to tell it what to do. This system prompt is the starting point for an agentic loop like this, and it's very simple. One of the things I'd like to leave you all with is this: as complex as AI is, and as daunting as it feels, it's actually one of the most accessible technologies we've ever had, because the interface to AI is natural language. You type to it in natural language, or you speak to it in natural language. My system prompt to get the loop started is very straightforward. Every day when it runs, the loop reaches out to the systems I connected and gathers content and information about what's going on. It synthesizes that down, streamlining what it's learned into bite-sized pieces. Then it proposes things I should do, and it will actually do them if I'm willing to let it. I personally am more limiting in what I allow my agents to do. I don't want it setting up one-on-ones with my spouse. Thank you very much. Then, on a schedule, it delivers the results of what it's learned every day. I get a message in Slack saying what my agent has learned, and it learns from me when I reply to those messages.
This is very simple, plain English. Although it looks simple, this is the starting point. When the agent runs every day, it tells me what it's learned and gives me suggestions on what I should do. Then I reply and tell it what I want it to do based on what it's told me. It has given me a bunch of things to do, like approve the budget, and I can reply and just say, "Yes, go ahead. Please approve that for me," or it suggested I do a social for my team, and I can say, "Okay, let's do that too." So I'm telling it now to go and do those things, and it will do them. I can also give it instructions on what it should do next. It has a set of skills I've started with, and every day as I use the system, I can give it additional recommendations to refine what it's doing. That enhances the system prompt I started with and, over time, makes it smarter and smarter.
This is not particularly complex, but what's interesting in this example is that it's not like using a tool. It's not like going into ChatGPT or Gemini, typing a prompt, and getting a response. This feels much more like a coworker. I'm coaching this system to help me, and it's coaching me on how to be a better leader. It's a different sort of relationship starting to form between me and this agent. If you extrapolate that forward, there's a chart from Anthropic earlier this year that mapped out, across industries, where AI is possible and where it can possibly replace work in our current state. Unsurprisingly, engineering is at the forefront. Engineering has deeply embraced AI, and it has very much transformed the way we all work. But there are opportunities across a number of industries, and I very deliberately call these opportunities. There are a couple of different ways to look at a chart like this. I tend to be an optimist and see the opportunity to completely reimagine industries and create new experiences for our users and customers, which I think is quite exciting. It's obviously also disruptive, and we have to be thoughtful about where we want to use these technologies. Science fiction promised us that AI would do our chores for us, and instead it's doing our artwork and our writing. But that's on us. It's our choice where we want to use these technologies.
So getting to the end of this talk feels like the beginning of the next one, where we talk about how to flourish in an era of abundant artificial intelligence. We'll do that next time. For today, the main thing I wanted to leave you with was inspiration to try this out. Go talk to your friends and colleagues who are software engineers about how their world has changed, what part of that is good that you want to keep, and what part is not good that you want to leave behind.
As a quote to leave us with, this is from Picasso in 1964, when he was first introduced to the computer. At the time these were mainframe and punch-card computers. He was completely uninterested. He said, "Computers can only give you answers. I'm an artist. I care about creativity and intuition. I care about asking the right questions." So I feel I've given you a little peek into what's going on behind these AI loops, demystified that they're actually not that complex. It's something you can all try, and we've given you the tools to answer questions. Now it's up to you to decide which questions to ask. Thank you.
