The Agent Behind the Curtain: Building the Oz Cloud Agent Platform — Safia Abdalla, Warp
AI Engineer · 20 min · 186 sentences · from YouTube's caption track
Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.
- 00:01[music]
- 00:12Uh hi, welcome to this session.
- 00:14Uh it is mysteriously titled The Agent Behind the Curtain.
- 00:18Um it's about how the team at Warp built our cloud agent platform.
- 00:24Um before I talk about the how though, I want to talk about the why um and share a little bit about my own background.
- 00:32Um so, I've spent the past 8 years building developer tooling.
- 00:36Um I started off in open source in the Python and data science space um on the Jupiter Notebook core team.
- 00:43I was a maintainer on the Interact project.
- 00:46That work continued in my time at Microsoft helping build APIs and SDKs for web developers.
- 00:53Um and now I'm working on bringing AI AI agents to the cloud at Warp.
- 00:59And one of the lessons that I've learned in my time building developer tooling is that really good dev tools meet devs where they are and grow with them.
- 01:10Um a tool that you're going to be using every day should accommodate your workflows, but also be really adaptable as the like complexity and the nature of the work
- 01:19changes.
- 01:20And it's important for us to build really great dev tools because dev tools have a compounding effect on the world.
- 01:27If you make a piece of software that helps a developer or a builder do great work, your ability to magnify how much great software exists in the world increases.
- 01:36So, I think it is super important that these dev tools accommodate people's workflows.
- 01:41And people's workflows are important because they love their preferences.
- 01:45You might have a preference for a shell, a language, a harness, a review process.
- 01:50And something that adapts to your workflows and preferences is going to be more enjoyable to use and more enjoyable to build software with.
- 01:58And it also becomes like a part of how you think and build.
- 02:02Um so, it's super important to be attuned to that.
- 02:05And this notion of tools meeting developers where they are and growing with them comes to light really clearly in the progression of AI tooling in this space.
- 02:17So, this is the story for Warp specifically, but it's also the story for a lot of developer tools.
- 02:23Pre-AI era, we had the Warp terminal, which kind of met people in their command-line workflows that they were used to.
- 02:30And then this fantastic thing happened where AI got introduced to developers, and now you had a whole new set of tools that was available to you locally on your machine.
- 02:38And a lot of people started to interact with agentic coding patterns in their terminal, in their IDE, in their editor.
- 02:46And then eventually, we realized that we had kind of reached the limits of what we could do on our laptops, and we wanted agents to do work that was more long-running,
- 02:55that was adapted to different constraints, and that work needed to happen in the cloud.
- 03:01Um and whenever you send anything to the cloud, you adopt a lot of complexity um because running things in the cloud requires us to navigate a much messier stack of infrastructure concerns.
- 03:13And when I say we here, I mean the people building developer tools cuz that is the person that I am.
- 03:18And it gets at one of the things that are like a core principle in how we think about unlocking capabilities here and building good developer tools is that platforms should take on complexity before it reaches the user.
- 03:31A really good experience should not expose anything of if the leaky complexity that it handles to you.
- 03:38Um when we think about building our cloud agent platform, we try and structure it so that every primitive models this philosophy of hiding complexity from the user so they can focus on the work that matters to them.
- 03:51Um the first place that this shows up when you're building a cloud agent platform is where does the agent run if it's not running on a developer's machine?
- 04:01Um, it needs a place to do its work like any developer would and that place is typically a sandbox.
- 04:06It's an isolated environment in the cloud where agents do this task.
- 04:11When we started out building these out for our cloud agent platform, our first intuition was to provide self-hosted sandboxes so that developers had a really easy on-ramp for getting into our cloud agent platform.
- 04:22You didn't have to think about where your compute lived, it was just there for you.
- 04:27But the reality is that for teams doing serious work, they're probably managing their own infrastructure.
- 04:32They probably have dev boxes that they need to interact with and so something that is hosted or managed is usually not sufficient.
- 04:40You really need to be able to run agent workloads on infrastructure that people bring so it adapts to their like security concerns, their deployment practices, their workflows and preferences on their team.
- 04:51And so we add support for not only manage hosting but also self-hosting to the platform and that is complexity that you abstract away from the user and how the behavior is modeled.
- 05:03Um, the next kind of component is a little bit more personal to people and it's the harness that they want to use.
- 05:09As we talked about earlier, people are really passionate about the tools that shape their workflows.
- 05:15Um, one of those tools is the harness.
- 05:17Um, who here has a preference for cloud code as a harness locally?
- 05:22Code X?
- 05:24Something else entirely?
- 05:26Right, so much diversity in the room and we want to meet people where they work.
- 05:31So you want to integrate multi-harness support that not only accommodates preferences but also gives people the ability to do the use the right tool for the job.
- 05:40And flexibility isn't something that you just be like crammed into a platform because the real risk you run if you cram it in is that it becomes fragmented.
- 05:48Your experience with working with Claude is different from working with Codex versus a custom harness that you might have.
- 05:55And so, one of the key properties is making sure that the platform provides structure and guardrails around the harness so that the experience is consistent.
- 06:04Um for us, this means that harnesses can interact with all of the platform native experiences.
- 06:10So, just being able to store conversation state and rehydrate it, being able to interact with the artifacts and outputs that are produced by agents, whether they're PRs, issues, new files that are generated.
- 06:22All of that should kind of be structured the same way.
- 06:26Okay, cool.
- 06:27So, we gave you a place for your agent to run, and we gave you a choice for what harness you use, including Warp Zone harness and any other harnesses that you want to bring.
- 06:37Um what if one agent isn't enough to do work?
- 06:41That's the reality of most software engineering.
- 06:44I wish that I could just send off one prompt and solve all of the problems that exist in my software, but the reality is that real engineering work rarely fits inside one prompt.
- 06:55In a typical workflow, you might need one agent to go research a problem and plan a solution.
- 07:00You might need another agent to implement it, and you might need to bring in a third to validate it.
- 07:05And you might want each of these agents to use different harnesses and different models in order to have a real adversar- adversarial and robust approach.
- 07:15So, we have built-in support for that.
- 07:17You can orchestrate agents across the stack.
- 07:21Um with a lot of agent-based experiences, this orchestration happens via a prompt.
- 07:26So, I say {slash} orchestrate, or I queue the agent via prompting that I want it to delegate work across multiple sub agents for a task that I have here.
- 07:35And this orchestrator agent will do all of the messy complexity of interacting with sub agents, mediating messages between them, and tracking the work that's happening for me behind the scenes with a single prompt.
- 07:47We abstract complexity away from the user by giving them this experience.
- 07:53This sort of like prompt-based model for interacting with agents and subagents is really powerful.
- 08:01An even more interesting one is the notion of interacting with agents and subagents via the API.
- 08:09So, everything in our surface area is exposed via an API, and I can fire off a request to say that I want to run a subagent that is attached to a parent agent
- 08:19um via configuration that I provide.
- 08:21And this API is super magical because this is the key component of a platform.
- 08:29Um it's exposing the primitives in a way that users can build on top of.
- 08:35Um the thing about great APIs and SDKs is people can build on top of them, which means that they're not restricted to your UI or your opinion of how a particular experience should look.
- 08:46This is where like composability becomes really powerful.
- 08:50And so, we're trying to be intentional about exposing an API for every key component of the stack.
- 08:56So, this is APIs for spinning up agents and subagents, for managing the environments and compute that these agents are running in, for working with the artifacts that they produce.
- 09:06All of that is exposed in an API that you can build on top of.
- 09:11Um and this ability to build on top of these primitives that are exposed via an API becomes really useful because anyone can build tools that overlap on top of these agentic experiences.
- 09:25[snorts]
- 09:25Um like interesting phenomena that's happened for us internally is we have a bunch of non-engineering teammates at Warp who have been able to use our SDK and API to build custom Slack bots to do a bunch of things.
- 09:40Um so we have folks in our developer relations team who have actually built out tooling to help us manage all of our social mentions.
- 09:47Um so as tweets and Reddit posts and things are coming in, we have agents that will pick them up, do some sentiment analysis on them, try and understand what the user wants, and then propose
- 09:57a response that um folks on our social media team should use and um respond to the original tweet or Reddit post or what have you.
- 10:05And all of this is enabled by our SDK.
- 10:07And you see like a plethora of these types of experiences um internally at Warp.
- 10:14Um we have people who have used them to help answer queries about how our product is working, do competitive research, all sorts of interesting things.
- 10:24Um and these primitives became a really big deal for us specifically when we decided to go open source.
- 10:32Um as I mentioned earlier, Warp started off as a terminal um but it grew into an agentic development environment.
- 10:39And about 3 months ago, we decided to go open source.
- 10:43Um this was like much anticipated, long-awaited.
- 10:47It was a huge success for us.
- 10:50Um the number of like GitHub stars that we had, I think catapulted from around 20,000 to over 60,000.
- 10:58We had thousands of PRs.
- 11:00I'll talk a little bit more about how we've been managing that.
- 11:03And hundreds of contributors who had been long-time users of the platform and were finally getting a chance to build on top of it.
- 11:11And when we went open source, we wanted to be really thoughtful about how we could use agents to help us manage the repository.
- 11:19We didn't want this to be the kind of thing where agents are just writing code and firing off PRs.
- 11:25We want them them to participate kind of meaningfully in the structure that we use to triage issues that came into the repo, provide context around them, do implementation, do reviews,
- 11:37but still have the space for humans to participate in this loop.
- 11:42And we did that.
- 11:43So, if you go to the Warp open-source repo right now, you'll notice that if you file a new issue with a bug report or a feature request, an agent will kick in and start to triage the issue automatically.
- 11:54It'll do research across the code base and context in the repo to understand what you're trying to propose.
- 12:00It might ask you questions if it feels like your original query was a little abstract to get more information, and it will kind of do the work that's historically been very hard for open source, which is somebody has a problem or a bug that they want fixed.
- 12:13They don't give you enough details, and it's hard to get to the clarity that you need to get to to like drive the work forward.
- 12:18So, we can use agents to help us meaningfully in that way.
- 12:21They can also help draft initial specifications and work for tasks, do implementation, and provide a review gate.
- 12:29So, all PRs that get contributed to Warp go through an agent-managed review process.
- 12:35And it goes through multiple iterations, and we don't actually ping any of the human reviewers on our team until an agent has approved our PRs, um which helps manage the workload a lot for the team.
- 12:46So, all of those thousands of PRs, the things that humans actually have to manage are only the high-signal, high-quality ones.
- 12:53And one of the key principles is that we improve the agent as um we get more PRs in the repo and we see more examples of code.
- 13:02One of the things that we believe is that self-improvement loops are a really important way for you to enhance the overall SDLC life cycle that you're seeing.
- 13:11So, we did this.
- 13:14And we had a lightbulb moment cuz it unlocked something huge.
- 13:17We had this like structured process that could accommodate a big influx of issues and PRs on the repo.
- 13:23Um and the agents were there to support anyone in bringing their idea or their bug request bug feature request or bug report to us or to work and then getting it through to the actual product.
- 13:38That key insight of agents providing like structure and context was a really big thing for us cuz it meant that it could anyone could kind of participate in translating their intent
- 13:50into implementation.
- 13:52And often times the people who have really interesting intents and goals are the ones who are using software in interesting ways.
- 13:59And it's not always the person that's building it.
- 14:01It's the person who's kind of got domain knowledge in the space.
- 14:04And work we're lucky because we're developers building a developer tool and that's a really unique niche to fill in.
- 14:10But most software is developers building tools for non-developers or people in situations where they don't have domain expertise.
- 14:19If we provide these structures and guardrails though, people who are non-developers can have the necessary tools to like ship serious software because the infrastructure to support them exists.
- 14:33Oh, this is where like things get buzzy.
- 14:35You might have heard this term of the software factory.
- 14:38People talk about it a lot as far as like automating how software gets built, providing these systems for doing work, all of these fun things.
- 14:48I kind of want to push back on this term a little bit.
- 14:52I kind of actually hate it cuz I don't think it gets the point across and it feels a little Where's the people in this?
- 15:00So I want to tell a story before I share what I think is actually the better word.
- 15:06So this is a mug that I have.
- 15:07I bought this mug about two summers ago from a farmer's market.
- 15:12And I stopped by this booth at the farmer's market and you could just tell the person who had crafted this the potter was just someone who's like really passionate about their work and what they do.
- 15:22And so, he was telling me about all of these interesting details in the mug, the specific like curve of the handle, and the way he had structured it to accommodate different people's hands.
- 15:31He had this like specific dimple at the top of the handle where you could rest your thumb cuz he felt like that was like a key ergonomic detail of this mug.
- 15:40He had this glazing at the top, so if like your cup overflowed, it wouldn't dribble down the sides, the glazing would kind of catch it.
- 15:47So, he just spent so much time thinking about the details of the mug and crafting it.
- 15:52And then I was kind of talking to him about his workshop, like how many potters do you have?
- 15:55How many of these mugs are you making?
- 15:57Yada yada.
- 15:58And he got more even more animated and he started talking about his workshop setup and how he had set up different stations for different components of the mug.
- 16:07He had talked about how he had a specific process for sourcing clay and preparing ahead of time.
- 16:12He talked about how he actually incorporated verification for different components of the mug.
- 16:17If the dimple wasn't the right size, what would you do?
- 16:20What part of the process would you restart?
- 16:23All of this thought that he had put not into the mug itself, but how the workshop existed to support the creation of the mug, and how he was able to scale this to
- 16:35dozens of apprentices in his shop and like hundreds of mugs handcrafted per day, which is pretty impressive.
- 16:43And this got me thinking, I love what he did with his workshop.
- 16:48Um he had this really great idea and he developed a serious and repeatable system that allowed anyone to take the idea of a perfect mug and turn it into the like actual existence of a perfect mug.
- 17:01You know, some people might think like workshops are this quaint thing where it's like a workspace for a single individual, but I think the story really shows that they're actually heavy-duty systems for doing work and that they're malleable and that they react to signals in how people are interacting
- 17:17with the thing they're building in the space they're building it.
- 17:21Um and it also underscores the like really close interaction loop that humans have with the spaces they work in and the outputs that are produced.
- 17:29And I'm synthesizing all of these ideas and I think this is what really we're driving at when we talk about building software factories.
- 17:37We want to give more builders and the definition of who a builder is is expanding to non-developers serious systems for turning their ideas into code.
- 17:47Um and we as individuals who've been building dev tooling or have been in software engineering for a long time have an understanding of what that serious system looks like and what kind of support it needs to give into individuals.
- 18:00Um we break this down into the same techniques that my potter friend had and the same methodologies that I talked about earlier about exposing primitives.
- 18:09Um we expose things like the ability for these agents to implement automations that react to events in the real world the same way that a human in a workspace
- 18:20might need need to react to a real event of you know a kiln um being astray or a handle being broken.
- 18:28We need to make these systems observable.
- 18:30My potter friend talked about how he actually watched the way people worked in his space and refined the process over time.
- 18:37That doesn't come for free.
- 18:38Your system has to actually be something that you can inspect and look into.
- 18:43And it has to improve over time.
- 18:45The workspace is not the static component that doesn't change ever.
- 18:48It needs to react to what's going on and modify itself to amend to like the goals of the people that are working in it and the product that it's producing.
- 18:59And it needs to be cost-effective.
- 19:01Uh you want to reduce the number of broken mugs that come out the other end.
- 19:04You want to reduce the amount of buggy software that comes out of the other end of your of your factory.
- 19:10Um and you want to do this without compromising on cost without spending too many tokens.
- 19:16All of these principles work to achieve a shared goal and that shared goal is building systems that remove toil and drudgery from our software process so that more people have the ability to build.
- 19:30We've seen the way like toil and drudgery have manifested.
- 19:33It could be all of the difficulty you might have reproducing a bug, the challenges of monitoring a production system.
- 19:41Those are things that are really hard to do.
- 19:44And we can finally start to think about the structure of how we do them and building systems that allow us to do them repeatedly and transferably to people who are in non-technical roles.
- 19:55If these ideas excite you about how we can build these robust and reliable systems for anyone to ship software, you could stop by the Warp booth to come talk to me and the crew.
- 20:06We're at UG 20.
- 20:08You can also mention me on Twitter.
- 20:10I'm Captain Sophia on all social media, GitHub, Twitter, all of that fun stuff.
- 20:15Or just drop me an email.
- 20:16You can find my email on my personal site.
- 20:19Thanks for coming to this presentation.
- 20:21I hope you learned something interesting about some of the engineering philosophies that are driving the next set of work we do as far as agents, developers, and AI.
- 20:32[applause]