The OpenSource Managed Agents — Transcript
Full transcript
- 0:00Okay, so vendor neutral MIT licensed on
- 0:04your own hardware without a runtime
- 0:06bill. These are all things that Claude
- 0:09managed agents doesn't have. Also, the
- 0:12new OpenAI agent and API or Gemini
- 0:15agents doesn't have them. But all of
- 0:17these things are the things that the
- 0:19agent system I'm going to show you today
- 0:21actually has. Today I want to talk about
- 0:24a way to run managed agents fully
- 0:26locally or in your own private cloud
- 0:29with any model that you want, adding in
- 0:31any tools that you want, skills that you
- 0:34want, MCPs that you want, and being able
- 0:37to do it all really easy without you
- 0:39having to go into low-level code and
- 0:41tinker with every tool call or every
- 0:43skill that you add. Today, I want to
- 0:45talk about a self-managed agent
- 0:47execution harness called True Forge.
- 0:50Now, before we get into it, this video
- 0:52is sponsored by True Foundry, the
- 0:54creators of True Forge, but everything
- 0:57I'm showing you today is in an
- 0:58open-source repo. There's no paid tier
- 1:01in anything that you'll see. And the ask
- 1:03from them is basically that if you find
- 1:05this useful and interesting and you
- 1:07would like to see them work on it more,
- 1:09just go and start the repo. That's it. I
- 1:12wor with True Foundry earlier on in the
- 1:13year and made a video about their
- 1:15gateway platform and it seems to me that
- 1:18as they're developing things for
- 1:19enterprise, they're also looking at how
- 1:22they can make some of these cool tools
- 1:23available to the open-source community
- 1:25as well. In this video, I want to try
- 1:27and untangle that a little bit. I want
- 1:29to talk about how you should be thinking
- 1:31about the different kinds of harnesses
- 1:33that are out there and how you can be
- 1:35using them for your different kinds of
- 1:37projects. So let's start with the word
- 1:39because I think this is where a lot of
- 1:41the confusion is. When most people hear
- 1:43the words agent harness right now they
- 1:45tend to think of coding harnesses.
- 1:48That's things like claude codeex pi om
- 1:52open code a whole bunch of these and
- 1:55those are harnesses right they wrap a
- 1:57model they give it a file system a shell
- 2:00some tools and they run the loop for you
- 2:02but they're really built for one job
- 2:04right which is writing code. The second
- 2:06kind of harness that's out there at the
- 2:08moment is what I would call the assemble
- 2:10itself framework. So this is Langraph,
- 2:12deep agents perhaps agent SDK or ADK and
- 2:16these give you all the pieces and you
- 2:19write a loop and you wire up everything
- 2:21yourself, right? You decide how the
- 2:23state gets persisted, how approvals work
- 2:26and so on. And I've done quite a number
- 2:28of videos on those over the years, but
- 2:30nowadays can be actually really tedious
- 2:32to use a lot of those frameworks if
- 2:34you're trying to build your own harness.
- 2:36The third kind and the one that's most
- 2:37recent is what I actually just made a
- 2:39video about recently, which is the whole
- 2:41idea of a hosted runtime harness. So,
- 2:45this is what people are calling managed
- 2:47agents. So, you've got Claude managed
- 2:49agents, you've got Gemini managed
- 2:51agents, and I made a whole video about
- 2:54this talking about the different kinds
- 2:55of managed agents that are out there.
- 2:57But the whole idea with those is that
- 2:59you define an agent, give it a model,
- 3:02almost certainly it's going to have to
- 3:03be the provider's model. You'll have to
- 3:06give it tools, which again will be often
- 3:08provided for you, and a system prompt.
- 3:11And then that company's going to run the
- 3:13loop. So session, tool calls, sandboxes,
- 3:17approval, all of that is handled. You
- 3:19just hit an API. And that third category
- 3:22can be really nice to use, right? I've
- 3:24built with it, etc. But here's the
- 3:26thing. Up until pretty recently, that
- 3:28category really meant you only had one
- 3:30choice in that it has to be hosted with
- 3:33the actual provider. And perhaps even
- 3:35worse than that, you're often just tied
- 3:37down to certain models that may just be
- 3:40not a great fit for what you're trying
- 3:42to do. So, True Forge is an open-source
- 3:46version of that third kind. And the
- 3:49readme puts it really nicely. Building
- 3:51an agent is easy, but running one well
- 3:54is not. The running it well part is all
- 3:56about streaming, session persistence,
- 3:59tool servers, sandboxes, approvals, a
- 4:02UI. That's all the stuff that really
- 4:04honestly most people don't want to
- 4:06write. And it's the stuff that managed
- 4:08agents have been charging you a premium
- 4:11for. True Forge is that layer as a repo
- 4:15that's fully open- source, MIT licensed
- 4:18that you can clone and then run with any
- 4:20particular model that you want to. All
- 4:22right. So the question should be why
- 4:24does it matter what kind of managed
- 4:26agent I'm using? And this is the bit
- 4:28that I think many people even myself at
- 4:30times have gotten wrong that you tend to
- 4:33think of the cost of all of this as just
- 4:36being related to which model that you're
- 4:38using and how much you're paying per
- 4:40token. And then often you don't think
- 4:43about the harness and all the plumbing
- 4:45that is actually going on around this.
- 4:47But when you start running managed
- 4:49agents at volume, you start to realize
- 4:52that actually that harness really is
- 4:55often the key thing because it's that
- 4:57harness that is actually deciding how
- 5:00many tools calls you make, what tool
- 5:03calls you make, in what order, how it's
- 5:05going to actually decide what goes in
- 5:07the context window. Remember, really
- 5:09what we're paying for is whatever's in
- 5:11the context window. So, if you've got
- 5:13lots of tool calls in there, if you've
- 5:15got tool bloat, right, where you've just
- 5:17got so many tool definitions and stuff
- 5:19in there, and you're not using
- 5:21progressive disclosure and things like
- 5:23that, you're going to run up a much
- 5:25bigger bill than you would with a very
- 5:28efficient harness. And this is where the
- 5:30True Foundry team actually put out a
- 5:32benchmark that shows all of this. They
- 5:35took 14 tasks from DevRev's enterprise
- 5:39bench, the kind where the agent has to
- 5:41join data across a CRM, an issue
- 5:44tracker, a document store, multiple MCP
- 5:47servers, all with the same prompt. And
- 5:50they ran three trials each and used a
- 5:52blind LLM judge. And here's the thing,
- 5:54they didn't even go for cheaper models.
- 5:56They actually ran it on Opus through
- 5:59three different harnesses. And you can
- 6:01see from this diagram here, they
- 6:03basically showed with the actual true
- 6:05forge harness that even using the same
- 6:08model, they were able to get the cost
- 6:10down by 30% with the same amount of
- 6:13accuracy. And that's because Claude
- 6:15managed agents was using 10 million
- 6:17tokens per run on average versus only
- 6:203.8 million tokens on the true forge.
- 6:23And of course, when they moved that to a
- 6:25model like GLM 5.2, suddenly the model
- 6:28cost came down. the whole thing now was
- 6:30down 75% compared to the original claude
- 6:34managed agents version. So even if we
- 6:37skip the GLM 5.2 and just look at the
- 6:40same model, same answers for roughly a
- 6:43third of the tokens, that was all
- 6:45harness decided. So the fact that True
- 6:48Forge is actually open source means that
- 6:51you can pick any model that you want
- 6:53here. You can decide if you want to go
- 6:55for a more expensive clawed model or
- 6:58open AI model, etc. But you can also go
- 7:01for much cheaper open models like I'm
- 7:03going to show you in here. So, if you
- 7:05just take one thing away from this
- 7:07video, it's this. The harness, not the
- 7:09model, is usually what's driving your
- 7:12agent costs. And the harness is the part
- 7:15that you've actually got a lot of
- 7:16control over, even if you're not running
- 7:18your own models with your own GPUs, etc.
- 7:21Now for me I would say while the cost
- 7:23savings here are the headline for me the
- 7:26lockin thing is probably a bigger deal
- 7:28than a lot of people are watching just
- 7:30in the park sweep we've seen a number of
- 7:32different news items about what user
- 7:35data these people are actually training
- 7:37on and how they're actually using user
- 7:39data and you've got things like data
- 7:41retention if you want to have zeroday
- 7:43data retention you cannot use clawed
- 7:45managed agents if your agent definition
- 7:48lives inside a hosted runtime then and
- 7:51the system prompt, the tool wiring, the
- 7:53approval rules, the session history, all
- 7:56of that sits on someone else's product.
- 7:59And perhaps that's fine up until the day
- 8:02you want to try a different model or you
- 8:04want to try a different sandbox or you
- 8:06want to try a different configuration,
- 8:08etc. You don't want to get locked into
- 8:10these services where you become
- 8:12dependent on them for a lot of things
- 8:14beyond the model. We're already seeing
- 8:17open models get so good that really high
- 8:20levels of intelligence are now being
- 8:22democratized so you can access it over
- 8:24lots of different providers. Even if you
- 8:27have objections or legal things around
- 8:29sending your data to certain countries,
- 8:31the cool thing now is with open weights
- 8:34models, there are providers popping up
- 8:36everywhere. They're running the same
- 8:38weights with the same API endpoints. And
- 8:40I hear this a lot from people building
- 8:42inside larger companies. They often have
- 8:44a mandate to run things on prem or at
- 8:46least inside their own cloud account and
- 8:48a hosted agent system just isn't going
- 8:50to get through procurement through
- 8:52compliance no matter how good it is. So
- 8:55they fall back into a category of trying
- 8:57to write the entire loop themselves and
- 9:00that can also become both an inefficient
- 9:02and expensive option. And then of course
- 9:04if you do have some local hardware that
- 9:06you can run some local models on we're
- 9:09already seeing the smaller models get
- 9:11better and better and this whole system
- 9:13allows you to integrate with things like
- 9:16Olama with things like LM studio to run
- 9:19models locally. All right so True Forge
- 9:22is a MIT licensed TypeScript repo from
- 9:24the True Foundry team with one MPX
- 9:27command. You can basically spin this up.
- 9:29It takes care of a local SQL light
- 9:32database. all your data is staying
- 9:33locally and it's running on a local
- 9:35host. There are also hosted modes if you
- 9:38want to do it with things like Postgress
- 9:39or Reddus and Docker, but the whole
- 9:41local mode is a very deliberate step on
- 9:43True Foundry's part to make this as easy
- 9:46as possible for you to get started
- 9:48trying it out. Now, they have a whole
- 9:50chat UI, but don't be fooled into
- 9:51thinking that this is another chatbot.
- 9:53It's not. The chat interface there is
- 9:56the test bench. It's where you poke
- 9:58around and play with the agent and test
- 10:00things out before you actually save it.
- 10:02The actual main thing here is the
- 10:04runtime and it's actually exposed a few
- 10:07different ways. You've got the UI that
- 10:09you can start off with, but you've also
- 10:11got an HTT API endpoint and then also
- 10:15you can use that with a TypeScript SDK.
- 10:18This means that you can build something
- 10:20in this very quickly, expose the API
- 10:23endpoint, and then have other apps ping
- 10:26it. So, this makes it ideal if you've
- 10:29got people on your team, for example,
- 10:31that you want them to basically run
- 10:33different agent workflows, but you don't
- 10:36want them having to worry about how to
- 10:38configure the tools, how to actually
- 10:41prompt it, right? How to do all of that.
- 10:43You can actually just bake this into
- 10:45something like Slack, a mobile app, any
- 10:48sort of software that you wanted to
- 10:49write. So, let's jump in, have a look at
- 10:52how this actually is all put together.
- 10:54All right, so to get started here, this
- 10:57is pretty simple. We're just going to go
- 10:59to the readme docs and see go to the
- 11:01quick start and then I'm going to just
- 11:04install this locally to get started. And
- 11:07you can see this this will basically
- 11:08install all the components in here.
- 11:10everything from being able to deal with
- 11:12sandboxes, MCPs, skills, all those sorts
- 11:15of things and it's actually now running
- 11:17locally so that I can get started. Okay,
- 11:20so once you're in the actual interface
- 11:22in here, you can come into the settings
- 11:25and you can set up models, connectors,
- 11:27skills, and sandboxes. So models here,
- 11:31you've got your standard sort of
- 11:33offthe-shelf models. If you do want to
- 11:35use Claude, you can use Claude. If you
- 11:37want to use Gemini, you can use Gemini,
- 11:39etc. You've also got a bunch of open
- 11:41providers or you can configure something
- 11:44totally private. Here I've configured up
- 11:46my own API endpoint to run DeepSeek
- 11:49Flash 4.1. So this model is just out.
- 11:52The previous four Flash was one of my
- 11:54favorite models. So I think like a lot
- 11:56of people I'm quite excited to see how
- 11:57this new model goes. But you could
- 11:59configure lots of different models in
- 12:01here. Next up you've got connectors. So
- 12:03you can see I've already gone and
- 12:05configured Tavilli which is a really
- 12:07good search tool. You can get a free API
- 12:09call. I think you get a thousand calls a
- 12:11month or something for free. Also, Deep
- 12:13Wiki is one of the ones that I like, but
- 12:15there are lots of others in here. So, if
- 12:17I wanted to add my notion, I can go
- 12:19ahead and do that. If I wanted to add
- 12:21bright data for doing any sort of
- 12:22scraping or things like that, I've got
- 12:24that in here. Or I can just come in here
- 12:27and totally configure up a personal MCP
- 12:30server. So, that could be running
- 12:32locally, that could be running in the
- 12:33cloud, etc. And then you've got skills.
- 12:36Now skills is obviously one of the best
- 12:37ways to actually get started. So I'm
- 12:39going to put in the Tavi research skill
- 12:42there. So I'm going to enable that so
- 12:44that the folder contains the skill.md. I
- 12:47can then just import that and use that
- 12:49as well. And then lastly, we've got
- 12:51sandbox providers. So they're a bit
- 12:52light on this at the moment. I think
- 12:54True Foundryy's also got some
- 12:55interesting things around sandboxes that
- 12:57you might see coming in the near future.
- 12:59But once I've got this set up, you can
- 13:02see I can just come along and I can do a
- 13:04new chat. Now the chat ID here is really
- 13:07just to allow you to test that
- 13:10everything's connected up and stuff like
- 13:11that. So you can see I've got my
- 13:13DeepSeek VFL.1
- 13:15flash model in there. I've put on to
- 13:18Villi as a tool in there. And if I
- 13:21wanted to import some files or something
- 13:23like that, I can use this just like a
- 13:24normal chat interface. But it's very
- 13:26important that you understand that this
- 13:28is not the product, right? This is just
- 13:31to basically test the product. So the
- 13:33idea here is that okay, now I can see
- 13:37that okay, everything looks like it's
- 13:39running. I'm getting reasoning tokens
- 13:41back from 4.1 flash. I can see that it's
- 13:45running through the different tests and
- 13:47we've got the ability now to run and see
- 13:50what actually is going on here. You can
- 13:51see that the agent has gone off and just
- 13:54me saying that this is basically a test
- 13:56to wire things up. I actually was just
- 13:58planning on testing the actual LLM, but
- 14:01it's gone through the whole system. And
- 14:03this is the cool thing of this, right?
- 14:04All of these things are now integrated
- 14:06as an agent. So, it's acting as an agent
- 14:10with these tool steps and with this
- 14:12thinking. So, it's taken this as like my
- 14:16task that hey, we want to check that
- 14:18everything's set up. It's gone through.
- 14:19It says right, yep, we've got the date
- 14:21time, we've got the MCP setup, we've got
- 14:24our tool execution, everything on that
- 14:26is working. We can see it failed on a
- 14:28sandbox because I haven't set up a
- 14:30sandbox yet, right? So, it's good to
- 14:32know that this is already starting to
- 14:34work. Okay, so if I want to build a new
- 14:38agent, let's say I want to build an
- 14:40agent that's going to go and get AI news
- 14:43for me. So, I'm just going to do a very
- 14:44quick one here just to sort of show you
- 14:46how you would do it. Okay. So, you can
- 14:48see I've got my prompt there. And what
- 14:52I'm doing here is basically just going
- 14:54through this, letting it work out the
- 14:56different things to do. And the cool
- 14:59thing is it's doing all this in the
- 15:01background. It's using Tilly. I didn't
- 15:02need to tell it to do that. It basically
- 15:04worked out to do that. It's also then
- 15:07gone to the VengeB site, which is the
- 15:08link that I gave it. Worked out that
- 15:10okay, we probably want the category A in
- 15:12there. Now I don't have a sandbox set up
- 15:15so it's obviously working out that
- 15:16that's going to be an issue but you can
- 15:18see very quickly it's basically worked
- 15:20out itself what it needs to do like
- 15:22extracting the homepage trying out
- 15:24different things etc for doing this and
- 15:27then the cool thing is it's then used to
- 15:29villi to actually do searches passing in
- 15:32info knowing that I'm just looking for
- 15:34the last 48 hours we can see what it's
- 15:37actually done there with Tavilli and you
- 15:40can see that finally it goes through it
- 15:42finds out like the Deepseek v 4.1 flash
- 15:45release different releases that have
- 15:47come up chat GPT for financial services
- 15:49etc. And then even for other ones it's
- 15:51then focused on checking the date right
- 15:53to see if those are right now once we've
- 15:56got that we can then come over here to
- 15:58actually save this I then basically put
- 16:01in my instructions which is like my
- 16:04system prompt here for doing this. I can
- 16:06add any skills that I want. So I'm going
- 16:08to put in the actual Tilly research
- 16:11skill in there. And then I've got to
- 16:13decide some things like, okay, do I want
- 16:15the agent to ask clarifying questions?
- 16:18Do I want it to have dynamic sub agents?
- 16:20Do I want it to have basically like
- 16:22return a generative UI? Actually, I
- 16:24don't want the generative UI or the
- 16:26clarifying questions on this. I just
- 16:28want to sort of ping it and basically
- 16:30have it return the result. So now I can
- 16:32save the changes and it will go through
- 16:36and create this agent for me. And you
- 16:39can see now if I want to basically just
- 16:41try this out, I can come in here and put
- 16:44in the prompt to kick it off. And you
- 16:46can see sure enough it's going off. Even
- 16:48though I wrote just get me the news, it
- 16:50understands that this is going to be AI
- 16:53news. I actually changed it to be 72
- 16:55hours in the system prompt there. It's
- 16:57got today's date. It's got the different
- 16:59parts that it's going to basically get
- 17:01there. And you can see that already it's
- 17:03got a bunch of sort of the recent
- 17:06stories that have come up. And so now
- 17:08it's going to basically check the dates
- 17:09of those. And all of this is running
- 17:12with the deepse model, right? So this is
- 17:14a very cheap model to run. And you can
- 17:16see that its final output is coming back
- 17:19with the actual stories with a summary
- 17:22and with the the source URL for each of
- 17:24these. So this is pretty good, right? If
- 17:26I check something like this, sure
- 17:28enough, this was written in the past day
- 17:29or so. And then it's also put in some
- 17:32honorable mentions there. Okay. So if I
- 17:34want to use this with Python, I can
- 17:36actually just come in here and basically
- 17:39set up a a little UV project with just a
- 17:41single Python file. If we look at this,
- 17:44it's just going to basically call the
- 17:47local host version of this. This is
- 17:50where the agent is currently being
- 17:51hosted. You could actually have it
- 17:54running in the cloud if you wanted to do
- 17:55that. Obviously, I think going forward
- 17:57you'll see True Foundry have their own
- 17:59sort of managed versions of this which
- 18:02lets you prototype everything locally
- 18:03and then ship it to their cloud to run
- 18:05regularly at scale kind of thing. But
- 18:08you can see if I want to basically run
- 18:09this now, all I have to do is UV run
- 18:12main.py. It will basically set it up. It
- 18:15will go through setting up the different
- 18:18tools, etc. And then it will go off and
- 18:20do the task. And here I'm just streaming
- 18:22all the things back. But if you wanted
- 18:24to, you could get it to basically just
- 18:25give you an output file or to save to a
- 18:29database or something like that at the
- 18:31end. And you can see now that it's
- 18:32finished off here. We've got all the
- 18:35results back. We've got the Open AI
- 18:38launches financial services. We've got
- 18:40Deepseek V4.1 Flash in there. And for
- 18:43each of these, we've got the Venturebe
- 18:45article. We've got the date. We've got
- 18:47the different information in there. So
- 18:50just to finish up, I would say this is
- 18:52definitely worth checking out if you
- 18:53wanted to run agents locally on your own
- 18:56machine, etc. And the cool thing is once
- 18:59you've actually created these agents,
- 19:01they're stored there. So you could
- 19:03actually install this in the cloud and
- 19:04import them in there and use that. Now
- 19:06looking at their road map, it looks like
- 19:08they've got a bunch of things coming up.
- 19:10You can see that they've planned to have
- 19:11a gateway integration, which totally
- 19:13makes sense. True Foundry has a lot of
- 19:15sort of gateway features both for
- 19:17models, for MCPs, for locking things
- 19:19down like that. It looks like they're
- 19:21addressing probably my biggest issue
- 19:23with it is that I would like them to
- 19:24have a local sandbox execution and it
- 19:27looks like that's coming. It'd be great
- 19:28if you could also lock that down with
- 19:30Docker sandboxes or something like it
- 19:33just to make it fully safe and secure.
- 19:35And looking at the rest of the road map,
- 19:36it all seems very sensible stuff if you
- 19:39wanted to do this kind of thing. And a
- 19:41lot of it is perhaps stuff that is in
- 19:43the lockdown versions of managed agent.
- 19:46So it's great to see that this is all
- 19:47coming in the near future. So go give it
- 19:49a star on GitHub. The links are in the
- 19:51description. Really this is giving you
- 19:53all the advantages of a managed solution
- 19:56without the vendor lockin and without
- 19:58the downsides etc. So let me know in the
- 20:00comments what are the biggest features
- 20:02you would like to see added to this.
- 20:05Talking to the team at True Foundry,
- 20:06they do seem very committed to making
- 20:08this work, both for their customers who
- 20:12are using it, but also for the general
- 20:14open-source community. Anyway, as
- 20:16always, if you found the video useful,
- 20:18please click like and subscribe, and I
- 20:20will talk to you in the next video. Bye
- 20:21for now.
About this transcript
This page contains the full transcript of The OpenSource Managed Agents by Sam Witteveen, generated from the public captions YouTube serves with the video. The transcript has 3,928 words across 535 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.