Transcript
Intro
0:00 · If you want to scale a software product nowadays, you're going to be building with AI coding agents, lots of them, and pretty quickly the hard part stops being how to prompt them and becomes how to manage them and where they actually run.
0:11 · One agent in your IDE is easy. Dozens of agents across different repos, tools, and infrastructure gets complicated fast. In this video, I'll show you the five levels of managing agents that I've personally worked through. By the end, you'll know some of the tools available at each level, what problems they solve, and how to tame the agent chaos. I'm Matt. I've been a software engineer for 20 years, and this year alone I've burned through literally billions of tokens, which is kind of silly. These levels are what I've worked through personally and some of the tools that have served me well. This is not the definitive list, but I think what I've learned can save you some time.
The five levels
0:43 · All right, let's dive in with level one, which is where almost everyone starts, one agent inside the IDE, Cursor, Co-pilot, whatever editor you're probably already using. You give it a task, it changes some files, you review the diff, and you move on. Honestly, this is still a great way to work. new to vibe coding with agents, you can still get an enormous amount of stuff done without ever leaving this level.
Level one IDE
1:05 · And I should mention that these levels aren't necessarily better as you go up.
1:09 · You're not a better developer or a person at level five than you are at level one. These levels are about managing complexity in the product and with the agents. But eventually, personally, I started wanting less between me and the agent. The IDE is choosing a lot of the workflow for me, how the agent runs, how I interact with it, what gets exposed, and often there's another subscription on top of the expensive models that you're already paying for. So, the realization for me at this level was that the agent doesn't need to live inside an IDE. It's really just a process.
Level two terminal
1:39 · So, that brings us to level two, which is running the agent directly in the terminal, Claude Code, CodeX, Open Code, whatever you want. For me, this immediately feels faster and more direct. I pick the agent, I pick the model, the machine, the tools, the environment around it. A lot of the ecosystem around this is also open source, so open code tmux herder. We'll talk more about those in a minute. I'm not locked into one proprietary IDE deciding how the workflow works and then paying 40 bucks a month or whatever on top of that.
2:08 · I found it also becomes much easier to script, combine tools, SSH into other machines, or move the exact same workflow somewhere else entirely. Now, there's a ton of personal preference here. I'm on Arch Linux. I'm used to keyboard nav. I really like toolies like lazy docker and lazy get.
2:26 · Basically, I'm a nerd and so the terminal just kind of feels natural to me. If you're not used to the terminal at all, no problem, and jumping into a full terminal-based workflow is a big leap if you're used to a classic Mac UI.
2:38 · So, levels one and two are about where you interact with the agents and there's a huge amount of personal preference here. Whatever you choose, once you get an agent working on something, the next obvious question is, "Why would I stop at just one agent?" So, level three is obviously running multiple agents at once, and I think everyone gets here pretty fast. You send agent one off on a task and you sit back and you realize that you should probably go do something else, and so you dispatch agent two. And now both of them are working, and so you might as well get agent number three working.
Level three multi-agent
3:07 · Next thing you know, you've got 12 terminal windows open and you can't remember which agent is doing what. So, the most obvious tool for this is tmux, which I switched to, and tmux has been around forever. It's the obvious first step for this. It keeps multiple sessions alive in the background. Each agent can have its own pane, and you can manage simultaneously. You can attach and detach and reattach. It's really great. It makes managing the processes much, much easier. Now, tmux has been around for almost 20 years. It definitely works.
3:35 · It's a little clunky to set up, and while it has a lot of great stuff, it wasn't built with agents in mind from scratch. It's still not obvious which agent is actually working right now, which one is sitting there waiting on a question that I haven't answered yet, which one finished 2 hours ago and I just haven't checked in with it. There is extra tooling that can add this to tmux, but that does bring me to Herder, which fixes a lot of this by default. Think of Herder like tmux, but it was designed from the ground up to manage agents.
4:04 · It manages the sessions, so I'm not the one holding five or 25 mental tabs open. Now, I don't want to turn this into a Herder tutorial, but it's been a huge win for me and solved a lot of the minor annoyances I had with tmux. So, tmux will always have a special place in my heart, but this does raise an immediate problem when you've got dozens of agents running. Every one of those agents is still running on the machine in front of me. If I close the laptop, then all of it stops.
4:31 · That brings us naturally to level four, which is getting the agents off of your machine. Now, I kind of backed into this one a couple of years ago before cloud agents were really common. I have a laptop and I have a desktop and I ran into two issues pretty quick. I needed the desktop GPU for training ML models or other GPU intensive stuff, but that tied me to the desk, which isn't really fun. Number two, I'd be working on my laptop at a coffee shop or on a plane or whatever, have a bunch of agents at work, and then they'd all die and I'd have to resume it later.
Level four remote machine
5:02 · It was just annoying. So, I put the laptop and the desktop on the same Tailscale network. I SSH from the laptop to the desktop, fire up tmux, I hadn't found Herder yet at that point, and boom, I'm working on my desktop from my laptop. As long as the desktop doesn't die, the agents continue to run. I can run GPU-based workloads, shut the laptop down, and nothing is lost. It was a massive productivity gain. But with Herder, it's even easier.
5:28 · I just start Herder with the remote flag, point it at the desktop machine on my laptop over the Tailnet, and it handles the SSH connection for you.
5:36 · Super cool, another win for Herder, which is why it's become my daily driver. The catch here is obviously you need a second machine and you need to keep it on and reachable all the time.
5:46 · It's worked really well for me for months, but it does naturally lead to the next and final level, which is level five. Level five is where you just move off of physical hardware completely and all the agents run in the cloud. Now, Cursor, Codex, Claude, they all have cloud agents now and that's one really simple way to accomplish pushing all of your agents into the cloud. It's not my preference most of the time. For me, this is the same reason I moved from IDEs to the terminal a long time ago. I just want more control than the vendor managed solutions give me. I want to choose the agent.
Level five cloud
6:16 · I want it to feel like my desktop, just disposable and in the cloud. So, I've been testing this out with control plane sandboxes and I'll just walk you through what I've been doing with those recently. First, I put together a custom image with my usual tools, my dot files, Claude code, open code Herder and then I just launch a sandbox from that image. Control plane spins this up in like a minute and then I connect to it, start Herder and hand a few agents some work. And just like before, the agents can now work uninterrupted and it's not dependent on any of my hardware. Super cool.
6:45 · The compute in control plane does have a cost while you're running it, but if you're not actively doing anything with it, you just suspend the sandbox, your compute goes to zero and then later on you can resume that instance again. Same as if you turned off your desktop machine. So, it gives you a ton of control and flexibility and the really cool thing about this versus something like Cursor is that I get to decide how connected that sandbox is.
7:07 · I can leave it completely isolated, reaching nothing outside itself, which is super safe, or I can connect it to my whole infrastructure in control plane if I want it to have access. Because the sandboxes run inside control plane, I can give it access to resources in AWS, GCP, Azure, whatever, including all the identity management and credentials that are controlled and managed in control plane.
7:32 · So, think of it like this, Cursor, Claude and Codex give their agents remote computers, control plane gives you remote computers that any agent can inhabit and then you decide where that computer lives. So, I think there are things at each level here that are absolute wins. For me, Herder and remote agents of any kind was a huge productivity boost. Some of these are preference or they depend on specific use cases. If you haven't tried something on this list, give it a go.
7:59 · Let us know in the comments how it worked. There's links in the description if you want to try out Control Plane.
8:04 · And definitely give tmux or for short Herder a try if you haven't made that jump yet.