Building AI Agent Swarms That Actually Scale
- Published:
- Length: 54:19
- Channel: Eugene Vyborov
- Video: https://www.youtube.com/watch?v=S2HQZeFdRWY
- YouTube video id: S2HQZeFdRWY
Description on YouTube
Most AI agents can't scale past a handful of concurrent tasks. Learn the architecture patterns that let you run thousands - even millions - of agents in parallel. In this deep dive, we break down the actor model for AI agents, why traditional architectures fail at scale, and how to build enterprise-ready agent infrastructure with proper security, orchestration, and credential management. In this video, we cover: - The actor model: why agents should "wait" most of their life - Running 1 million agents in 4GB RAM (and how it actually works) - Real use cases: FinTech loan processing in 25 seconds vs 25 minutes - 5,000 agent swarms for parallel code review - Cryptographic identity and ephemeral credentials with OnePassword - Scatter-gather, sequential, and peer-to-peer agent orchestration patterns - The SaaS vs Sovereign agents debate - "Creativity per second" as the new business metric Whether you're building autonomous products or scaling agent infrastructure, this is the deep technical conversation you need. --- TIMESTAMPS: 0:00 - Introduction 0:26 - Mrinal's background: 22 years of distributed systems 2:05 - What is Autonomy? Platform as a Service for autonomous products 4:53 - What is an agent? The state machine definition 6:41 - Why the actor model matters for AI agents 8:53 - 1 million agents in 4GB RAM experiment 11:11 - Use case 1: Multi-tenant agent deployment (fitness coaches) 14:09 - Use case 2: 5,000 parallel agents for code review 16:28 - Use case 3: FinTech - 25 seconds vs 25 minutes 18:48 - Agent orchestration and communication patterns 23:01 - Scatter-gather, sequential, and peer-to-peer patterns 26:08 - Cryptographic identity and credential management 30:24 - OnePassword integration for ephemeral credentials 31:04 - Trinity: Eugene's sovereign agent orchestration platform 38:47 - The great rebuild: why first-gen agents will be replaced 41:06 - SaaS vs Sovereign agents debate 48:47 - Will we see billion-dollar one-person companies? 53:44 - Closing thoughts --- Connect with Mrinal: LinkedIn: https://linkedin.com/in/mrinalwadhwa Autonomy: https://autonomy.computer Trinity: https://www.ability.ai/trinity Related Articles: https://www.linkedin.com/feed/update/urn:li:activity:7421959799707291649/ https://www.linkedin.com/feed/update/urn:li:activity:7424590997717823488/
Full transcript
[0:00]All right, let's go, guys. Today, I have an amazing guest, a friend of mine, Renaud, who is a founder of a company called Autonomy. These guys are building amazing agent swarms and technology that actually handles them, and that's what I want to talk about today. But, before we dive into the actual technology and use cases and all this interesting stuff, let's do a quick round of intros. So, Renaud, let's start with you. Sure. Hey everyone. Thanks Evgeny for having me. My name is Renaud, and
[0:32]let's see. I've been building distributed systems all my life for now 20 223 years, and that's kind of been my focus. Basically, systems that involve lots of little components that are distributed around the world, and systems that deal with a lot of data. And I've been thinking about autonomous systems now, I think, for approximately 10 years, especially because of a lot of time I spent deploying distributed fleets of IoT sensors and controllers in
[1:06]many cities around the world. So, this was just like heavily distributed system. So, that made me think a lot about how do you autonomous have machines that autonomously operate and collaborate with each other? So, that's kind of been a long time coming, and that work led to Occam and now Autonomy. So, yeah, that's my background. Beautiful. So, listen. The reason I'm so excited to talk to you today is because I'm also in the space of autonomous agents. So, we're building ability AI, and we recently launched this platform called Trinity, which is a
[1:41]bit of a different flavor than what you are building, but basically the objective is also to have an orchestration and infrastructure that is enterprise ready for autonomous agents, intelligence-first autonomous agents. But, we will talk about Trinity a little more maybe at the end, but so far I want to learn about autonomy. And what exactly is that you guys are building and how does it work and why is it good? So, autonomy is a platform as a service or deploying autonomous products, for shipping autonomous
[2:14]products, right? So, let me to sort of lay down those words. First, we're building for people who are building products, which is that they have many users. The thing they're building has many users and customers. Now, these users might be internal in a company where, you know, some of like we have we have people using autonomy to build internal products where their teams have thousands of people internally or these products might be external facing, like a startup building a product for healthcare or logistics or
[2:45]pharmaceuticals, right? So, we're targeted We're targeting people who are building products, either internal or external. Specifically, we're targeting people who are building autonomous products. And what's an autonomous product? It's a product that uses one or thousands of agents to achieve some goal that might be complex to do manually on its own, right? So, you just give it a goal and it goes and does it. Mhm. And the interesting challenge that happens when you're building an autonomous product is you need an at least an agent per user of your product.
[3:20]Mhm. >> you're trying to do something complex, you might need many agents per user. So, very quickly scale and security and safety become really important challenges, right? So, this is where the platform as a service part comes in. So, instead of you having to think about everything that goes into how to scale a set of agents for a thousand users or 10,000 users or even a million users, we've done that thinking and we've packaged it, right? Instead of you having to think about how to do security
[3:53]in this setup, we've done that thinking and packaged it in an easy way, right? So, that's the platform as a service part. So, instead of building from scratch and trying to either build the whole infrastructure step-by-step or cobble together 20 different little services that give you the final product, we just give you a experience that um 20 minutes you can launch your first version of your product and then iterate on this live version step-by-step. So, this is all to say, we're building a platform as a service for autonomous
[4:25]products. Beautiful. Look, this is a great uh pitch. I do have questions though. Uh can you define what is an agent in this setup? What do you use technologically and how do you define this this one agent? And the reason I'm asking, we will talk about this uh article you published where you put a swarm of 5,000 plus uh agents uh all together. So, it's important for us to understand what are the building blocks of that. So, uh tell me a little more. So, in my mind, an agent is a state machine, right? It's a state machine
[5:00]that goes something like this. You give it a set of instructions, it initializes with some context and some initial data. And then you give it a goal saying, "Hey, go achieve this goal." To achieve that goal, that state machine goes and calls an LLM and says, "Hey, here's my goal. How do I get there?" The LLM responds and says, "You can take these steps." And actually the LLM usually in this state machine is responding with, "Take this next step," right? So, in an agent, you give the LLM a goal, the LLM says, "Do this next step."
[5:32]The state machine receives that instruction. The state machine receives that instruction and it says, "Okay, the LLM is saying do this next step." That next step is call a tool, right? Or fetch some data, right? So, the the way this loop goes is that the state machine gives the LLM a context. The LLM says, "Do these next steps." The state machine goes and invokes those tools that are the next steps and takes the results and gives it back to the LLM and the LLM says, "Do these other next steps, right?" And this loop
[6:06]continues until the LLM is satisfied as to the goal has been achieved or you have some exit conditions that say, you know, "Don't do more than a thousand steps, right?" Or something, right? So, that's just That's in my mind a simple agent. In Autonomy, we model that agent as a uh actor. An actor is this computer science uh primitive that has been around since the '60s. Uh it was popularized by programming lang- languages like Erlang
[6:39]or later Elixir and Scala. Uh but in our system, each agent is designed as an actor. And an actor has specific properties, which is that uh the actor runtime, the Autonomy environment that is operating all these agents, gives the actor the CPU only when the actor has a message for it. So, uh if I have, let's say, uh 10,000 actors, I can only schedule them onto the CPU if there is a message for them
[7:12]to handle, right? And I set up a messaging system between these actors. So, that's our basic actor runtime that's available in Autonomy and each agent is modeled as an actor. And why is this important? This is important because if you think about what agents do, they go in this loop. We talked about this, right? They go They go in this loop of call the LLM, the LLM says, "Call these tools." So, they go call the tools, they take the response of the tools, call the LLM again, right? And in this loop quite typical. So, when this loop is happening, the
[7:45]state machine, the actor of the agent, is mostly waiting on either LLM inference to complete or a tool call to complete. Correct? True. >> you very much do that, and you model it as an actor, then the actor is waiting, you can give the CPU to someone else. So, that's a key kind of design primitive in our system is because we assume that agent execution of the state machine is very fast compared to tool invocation or LLM inference,
[8:20]most actors spend most of their life just waiting. Mhm. And so, since most agents spend most of their life just waiting, designing them as actors allows us to run thousands of them in tiny infrastructure. So, we can, for example, last night I created a million agents in single container with 4 GB of RAM, and it didn't even consume all of that. >> Right? Beautiful. Uh this this that's just sort of tie this idea together before before you ask the
[8:52]next question. Basically, the key point is that inference currently is too slow. Tool calling to another tool is too slow compared to how fast the state can transition. And with that foundation, you it's really helpful to to think of agents as actors. Look, this is this is beautiful. I want to take it so many directions, but one very quick question. In this experiment that you run with a million agents that you started, how many of them can you keep running simultaneously? All of them. Provided they all don't want the CPU.
[9:26]>> They all Correct, right? So, Yeah. if all of them are consuming the CPU, then obviously you get a constraint. You shouldn't be running a million of them in the the machine. >> Yeah. >> But if all of them are invoking LLM and invoking a tool outside of this machine, then you can run a million of them in that machine. The trade-off is how much CPU and this really comes from measurement, right? So, for example, in autonomy, we can give each agent a sandbox, right? So, they get their own shell, they get their own file system. And the moment you give them their own
[9:58]shell, they might be invoking tools that consume CPU. Like, for example, we have we've run agents that invoke FFmpeg to encode a video. The moment the FFmpeg invocation happens, that starts consuming the CPU. And at that point, you can't run a million a million agents in one environment, of course, right? But the the example I ran yesterday was someone on LinkedIn posted, "Hey, you know, what if you are a consumer brand and the consumer brand has a million customers, and you as the consumer brand want to give each customer
[10:33]a helper agent. How would you do it?" Well, yeah, your architecture works for that perfectly. Right, because all those million people aren't asking me to do things all the time. They're asking me to do things at different points in time, and so I can host them all in very tiny infrastructure and on demand spin up the tool commute compute that they need, right? So, that's what Autonomy automatically does. So, we can run lots of agent state machines in very tiny infrastructure. And when they need to do more work, we can dynamically spin up the sandbox that they're operating in.
[11:06]And we can dynamically spin up the environment. So, that's kind of how this this plays out. Beautiful. Look, it seems to me that the use cases that will work best for you are those that require high performance and low latency in the first place, as well as multi-tenancy. And can you outline a few of the real use cases that maybe you already are exploiting with your clients that fit your model well? Yeah, good question, right? Here are some examples. So, one example is someone who has many customers, uh someone building a product with many customers. Think thousands of
[11:39]customers is kind of the scale we are operating in currently, right? The 1 million example was me just doing an example, but we have customers that are running thousands of their customers as and their agents on Autonomy, right? And in that scenario, the challenge becomes if I have to let's say let's let me without naming them, let's imagine a fitness app, okay? And this fitness app gives each agent uh each customer a coach. And the coach is an agent, right? And they have thousands of users, and they're a mobile
[12:13]app. And whenever someone is doing a workout, they want their coach to be in the workout and help them and do things with them, right? So, that type of model where you have you want to time share simple infrastructure across a bunch of machines, it works really well. Their alternative before Autonomy was this really complex setup they had built with Autonomy where what they were doing was each agent was running in its own container. Communication between agents Actually, in their case, they were each agent was running as a lambda. And it was a series
[12:47]of chained lambda calls that they were doing, and they built this like complex messaging infrastructure between the lambdas that would be like they were running basically SNS queues in AWS, etc., right? So, if they if they have to support 5,000 customers, they were running tens of thousands of lambda invocations for for supporting those customers. So, they had this like complex messaging queue distributing work to the lambdas. And when you're doing this with lambda, you start hitting timeout limits with AWS because lambdas are designed to be
[13:19]short-lived. Agents are completely opposite. Agents are long-lived. The architecture is just mismatched, right? But it's I'm surprised how many people I encounter who are trying to run agents on top of Lambda, which is just fundamentally the wrong primitive in my view. Um so, that's one example of like someone who has lots of customers. I'll take a different example. It's someone who has some customers, but each customer's workload is a lot involves a lot of data processing. So, this is the example of like that the
[13:51]5,000 agents form, right? So, the example I paid out in that example was let's say I want to review all the code in a code repository. Not one file, not one PR, but all the code, right? Let's say I have 10,000 files and I want to do a deep code review of that code base. Let's say I'm building a code auditing product for security reasons or for compliance reasons, right? And there are a lot of industries where you need that. So, I anytime my customer comes, I want to run
[14:24]a full audit of their code bases. And I have many customers, so I want to keep doing this for every customer, right? So now, in that example, you give it a single code repository on GitHub. It downloads that code repository and it spins up a reviewer agent per file in that code repository. So, if you have 5,000 files, 5,000 parallel agents spin up that look at each file and conduct a deep code review of it from many angles.
[14:57]And for each angle, those agents spin up sub-agents because it's easier to manage context in a sub-agent context rather than trying to do a big review in a bigger bigger agent. So, in autonomy, we can easily spin up sub-agents because they're all just actors. So, each file is now reviewed from a security angle, it's reviewed from a documentation angle, it's looked at from bugs, sub-agents can write tests and run those tests against the code to see if this this file has some problems, etc., right? And they do all of that in this
[15:29]workspace. So, that's an example of you want to do deep data processing and deep work on a single work for for a single customer, but that work is very involved and complex and takes many hours and that type of thing. So, Mhm. That's it. That's another example. And I'll give a third example. So, so far we looked at I have lots of users where you need a >> Yep. this architecture. The second one was each user has lots of work I need to do and it's deep and it it will take hours to do, right?
[16:01]>> to run. Yep. Right. And the third example is I need to do things quickly. So, this is an this is an example of uh let's say we have a they're fintech. They they issue loans to businesses. So, business Yep. calls them and says, "Hey, I would like a business loan." Uh the person who picks up the call at the bank, which is which is a human, says, "Okay, sure. Can you give me all the documents about your business? Give me past bank statements, give me payroll
[16:34]records, give me past contracts, etc." And so, and they give them an upload URL to box.com and say, "Hey, upload all your all your documents here." So, the the customer uploads uploads all the documents and each each customer uploads, let's say, 100 documents about their business, different contracts, payroll statements, etc. And while on the phone call, they want an agent to look at all those 100 documents Yep. >> if they want to give this customer a loan or not and make a recommendation to
[17:08]the human. Okay. So, but this has to happen quickly. So, before Autonomy, they were using a Mulesoft and Salesforce AgentForce and they built a setup. And it was taking 25 minutes to come to a recommendation using those agents that they had built. With autonomy they were able to do the same work in 25 seconds. And the reason was they created parallel agents that looked at each document in parallel and did the assessment really, really quickly rather than in some some
[17:42]complex sequential pipeline, right? So, this is a scenario where a customer wants stuff to happen quickly. And if you think about it, they don't they're not talking to one customer at a time. They're a large financial institution. They're talking to hundreds of customers at a time, right? So, for each customer they want hundreds of agents working in parallel. So, their product needs thousands of agents working at all the time and that's what autonomy unlocks. Beautiful. Listen, you did explain to me some of the concepts of why, but I can't
[18:15]tell I guess what I'm missing over here a little bit in the story. I do understand the focus on latency and parallelism and I do understand the efficiencies that anyone can gain with running multiple users or running multiple agents doing the same stuff against different data sets. But I wanted to ask you about actually communication between those agents because that's like the actual orchestration in between them and whether it's happening within your platform and if it's happening then well I guess how, broadly speaking, you know
[18:48]what I mean? Like is is it a use case for you when you have I don't know, a thousand agents and 200 of them is one type and 500 another type and 300 a third type and they somehow communicate between each other. Yeah, that's a core functionality in in autonomy. So, excuse me. This started with work I was doing in an open source project called Akka starting from 2020. So, Akka is a highly performant message encrypted messaging system for use
[19:21]within other systems, right? So, it's like WhatsApp, but for applications, right? So, that's a good way to think about it. So, if you're building an application with a distributed Yeah, it's like a distributed environment, you want all of them to talk to each other. Akka is a really good toolkit for that. It's a Rust library. And so, in Autonomy, we use Akka for all of that communication between agents. And so, the combination is in a single machine, our actor runtime is moving messages between agents, right? But, when it goes across machines, Akka
[19:57]messaging is moving the messages between agents. And because it is Akka, and Akka can do encrypted channels from anywhere to anywhere, you can have agents in Autonomy talking to other agents on the same machine, or you can have agents in Autonomy talking to other agents in a distributed cluster of machines that are all operating inside Autonomy. Mhm. You can have agents in Autonomy collaborating with agents in my private data center, or agents inside my private VPC, right? So, this collaboration fabric that Akka unlocks allows us to
[20:30]have distributed fleets of agents. These could be in a data center, in a private VPC, or even a you know, an autonomous car, right? All of these agents can collaborate with each other using the Autonomy framework. And to do that, you need some primitives. You need to be able to trust who you're talking to, right? And you need to be able to reach who you're talking to. So, Akka provides that reach because it can do encrypted channels over multiple hops of transport layer connections, and these transports can be in different protocols if you want. And
[21:03]so, it can traverse NATs and network boundaries in very interesting ways without requiring public endpoints. Secondly, you need to do trust and to do that all agents in Autonomy have a cryptographic identity and they can be issued cryptographic attribute-based credentials. Which allows them to do mutual authentication and then reason about trust and make policy decisions around access control based on the credentials the other side presents. So, if the the financial system um says, "Hey, this agent is my
[21:37]agent operating in a different data center." then the agent that's asking it for context around a certain piece of information can trust it, right? So, in Autonomy that primitive that foundation is built in because we build Autonomy on top of Akka. So, that's one piece of the puzzle. The other piece of the puzzle is how does work even get distributed? Which is I think partly where you were going is like how does work even get broken down and orchestrated, right? So, once you have this basic mechanism to create sub agents and delegate work to
[22:12]them, which in Autonomy they're just actors and so we've written tools that we can give a parent agent that allows the parent agent to spin up a set of sub agents. It can spin up one agent or it can spin up 10,000 agents. Doesn't matter. It just has a tool to do that, right? And so, it can autonomously spin up lots of agents and we tackle all the infrastructure under the hood. But then comes the question of what is how is work distributed? And different patterns apply here. So, a really common pattern is uh like a scatter-gather, right? Or a fan-in fan-out or
[22:45]map-reduce. These are the names for very uh of the same thing, which is I have a list of things to do. I will take each item in the list and give it to one agent. Right? So, uh let's say I have 5,000 documents to assess or I have 5,000 source code files to assess, I take one file and I spin up a sub agent and give that one file to that sub agent. And so now 5,000 parallel agents are tackling these 5,000 files and at some point they're going to reply back and
[23:18]when they reply back, I have to summarize this result and compress it into a final output, right? So this is the simple kind of scatter and gather flow. Mhm. That's That's the most common pattern and it's a really powerful pattern in my view because most problems, if you think about it of like how could I scatter gather this problem, it unlocks very quickly that most problems can be broken down like that. Most work is parallelizable [clears throat] in that way. There are some exceptions. There There are work that must be happen in sequence and at
[23:52]that point scatter gather doesn't work and then you have to have the orchestrator agent or the parent agent trigger different tools one by one. But uh you know, the latest models are very good at that type of decision making. They can choose that hey, this work is parallelizable, so I will create a parallel fleet of agents. Whereas they can choose in a different case, this work needs to happen in sequence, so I will do agent number one first then agent number two first and so forth. So those are the two common patterns and the third piece is when you need sub agents to collaborate and communicate
[24:24]with each other and do some negotiation for example or arrive at a consensus. That also is supported in autonomy because agents can send each other messages. So what we do is we spin up an agent with a tool to deliver a message to any other agent or any other subset of agents and then they autonomously [clears throat] exchange messages and arrive at a consensus. This one is the least successful as a solution in my view because the current models tend to go in infinite loops a lot. Like
[24:59]they don't arrive at a conclusion all the time, right? So Yeah. I think we'll get there in some time, but in autonomy the basic infrastructure for all these primitives exist, whether you have a deeply parallelizable problem, like lots of documents and lots of source code files, or you have a sequential problem and you want to do one at a time multiple agents, or each step might be on it its own swarm of agents, you can do that also. And then the third piece is you want agents that collaborate peer-to-peer and negotiate peer-to-peer. That also is possible. So the fundamentals exist, but I think the on
[25:31]the last one the models are still catching up. Yeah, I agree with you. I think we're still I was actually looking at the research the other day on specifically the orchestration of the agents. And beyond basic models, like hub and spoke and the ones you mentioned, there's not much that we know on how to properly orchestrate them. So, uh, you mentioned a lot that you have this cryptographic identity, which is very interesting, and as well as, uh, you know, the constant problem that I'm seeing and that I'm dealing with is credential management. Uh, so I saw your post about, uh, collaboration with 1Password.
[26:05]Uh, can you tell a little more about that? What does it bring you? What does it bring to the table for Autonomy? Right. Uh, good question. Thank you. So agents don't operate in isolation. They need to work with other systems. And these other systems need credentials so you can access them, right? So uh, you need a secret to make an API call, or you might need a >> Yeah. key to talk to some system, right? So you need these ex- keys to external systems. And the problem is partly that traditionally
[26:39]most secrets weren't designed to be used by agents. They were designed to be used by humans. And so the challenge we have with protocols like OAuth, or protocol or approaches like having an API secret is that those the the secrets tend to be very long-lived, relatively speaking. >> Yeah. And agents actually can do scary things autonomously, and so we want to kind of it's it'd be good if we can scope their access and tightly control what they are allowed to do, right? Um and to do that,
[27:15]first step is you need to be able to know which agent is asking for what action. So, identity is a first step. You must know reliably that this is the agent that's asking for this access, and this is the agent that's going to take the next step. So, in Autonomy, we have this baked-in primitive that every agent is has a cryptographic identity, and all communication is authenticated, which means that all actions are attributable to a specific agent, which is a really important first step. Next step becomes
[27:49]this agent wants >> So, the next step becomes that this agent wants access to other systems. So, it needs to access secrets that we all that that give it act the ability to talk to other system, let's say an API. So, traditionally, what used to happen is that uh these API keys, you'd, you know, go get them manually on some dev portal, and then you'll add it to your back-end system, and then you won't change it for like a year, right? It would stay there. But, if you're giving it to an agent, the risk is that some leak might happen, some
[28:22]problem might happen. And so, instead, what you want to do is you want to create an API key that is specific to one agent, and it only lives for the time span that the agent needs it, and then it cannot be used later. You want to go from long-lived keys to short-lived, time-bound, scope-limited keys. Um and so, our collaboration with 1Password was to show how you can have uh a system where secrets are accessed in this sculpt way with human approval. So, when I when an
[28:56]agent is asking for a secret to a specific thing, a human gets to approve whether or not that secret is allowed. Once they approve it, the the secret is time bound and expires after a little time. So, the the exact scenario I showed with one password is let's say you have on-call SRE agents and a swarm of them. So, a problem is that is detected in your cloud infrastructure. The SRE automatically spins up and [clears throat] starts a swarm of diagnostic agents. In that case, we
[29:29]showed like 184 agents diagnosing the problem in parallel across your services. So, initially for diagnosis, they only need read-only credentials, right? So, we showed that the the agent can ask a human to give it approval to just access read-only access to the database. But then later, when it has figured out the problem, it now has a plan to remediate. And at that point, it can ask the human again, "Hey, can you give me a different credential that allows me to make some changes to disable a feature flag or to kill some queries in the database." And at that point, the human can approve and
[30:01]say, "Yes, you have access to this for 10 minutes." And in 10 minutes, fix the problem and the credential you'll have will expire after this. So, this combination of autonomy and one password allowed us to show how having agent identity and a good protocol for authenticated communication and time-limited credentials unlocks agents that can be more capable like automatically fixing problems in your cloud. Now, this is this is beautiful. I I use similar concept called like it basically it's like ephemeral keys that
[30:33]are limited in time and you give it to an agent and it expires in a bit. But I really really like this approach that you guys used for uh, kind of asking for permission from a human, like a human in the loop kind of thing, where human approves by giving credentials for like 10 minutes and say like, "Okay, there's a little open door, go fix it." But then, yeah, you know, you're back to normal. Yeah, that's that's really interesting. Okay, let's switch topics a little bit. Tell me a little bit about uh, what you're building and uh, what types of use cases are you seeing for your
[31:05]platform? So, actually, it's very interesting to talk to you exactly because of what we are building. Uh, we just recently uh, dropped uh, Trinity, which is our platform for sovereign agent orchestration and infrastructure. And there's a bunch of ideas that go into that. Yeah, my idea is that actually, as well as in your case, uh, in order to get the best uh, results out of the agents, you actually do need to own them and to be able uh, to very quickly change what you have within them and put it on production and put it in the autonomous mode where it can function. So, again, the goal of the
[31:39]whole Trinity platform is to orchestrate autonomous agents and do that in a way that enables humans to have full control, observability, visibility, encryption, and all of these enterprise bells and whistles that are absolutely required, as you know, in order to function there. However, unlike you, we're using a bit of a different approach. So, and it serves a bit of a different use cases. The agents that we run are separated into sandbox within their own Docker containers. And each of them is given enough, you know, resources depending on what the task they need. Uh, they are
[32:12]basically synchronized through the uh, GitHub as the main uh, kind of exchange framework uh, for and and the version control for the agent and the rest of that. And the main use case that I'm enabling right now, at least for myself, because I honestly I have built that for myself first of all. Uh, let me tell you a story. Probably familiar to you as well. For last uh, well, a little less than a year, I'm a big fan of Cloud Code and Gemini CLI and other things. And sometime ago I started building, well, about a year, I think. I started
[32:47]building my first business-oriented agents rather than coding agents. So, I made myself Corbin that manages all my business operations and keeps track of everything. I built a Ruby that is working on my entire social media. And I I would be excited to just talk about that for hours, honestly. That's pretty cool. But, I run into a wall because my Cloud Code agents are running on my local computer. Uh you know, they're not parallelizing properly unless you're calling like sub-agents and orchestrating it differently. I have to keep it open. I have to keep resources
[33:20]busy. And I cannot enable autonomy mode on those. So, I was like, "Okay, what do I do?" And I built Trinity where I can in like one click deploy it to the remote version. And now I have two identical agents. One of them running locally on my local computer. And another one running in a self-contained sandbox in the Docker instance in Trinity with all the bells and whistles of control over the containers and credentials and the rest of the stuff. And I built a process around that that
[33:54]allows me to basically connect them from local to remote and have remote execute autonomous tasks of the local. So, say I'm building this Ruby agent that is doing my social media. In Ruby agent I have this skill that searches Twitter for the potential replies, for example. And once I get to the point that I develop this skill to the level that I'm happy with that and it works perfectly every time, I can simply schedule that on on Trinity and it will run autonomously from exactly the same version of the Cloud Code,
[34:27]some exactly the same version of the agent, actually, which guarantees exactly the same results and notify me back in my cloud code if something requires my attention. So, that's the use case that I use it for. There is a bit of a different angle if we talk about the use cases as well. We as a company, we are solution provider. We go to businesses and we implement business process transformation with the use of agents. And now we're using our tool to do that. And there's plenty of various use cases that can be described there that are
[35:00]implemented on this platform, but the those that I think would would be interesting to share are around content pipeline automation and the one that I mentioned with Ruby. There's around knowledge management automation that is Cornelius agent that has this whole second brain concept behind that. There is business management and operations workflows that are running there. And uh I even published my first movie yesterday. There's that was created fully by an agent running on Trinity. from beginning to an end. And which was
[35:33]like it was pretty exciting anyway. And uh uh Yeah. And the idea again is that I can have whatever number of them. I'm not running thousands, but I'm running something like 12-15 agents simultaneously. And these agents are aware of each other. They they can talk to each other as long as this permission is enabled and they can talk to each other through the standardized MCP, obviously. And we can implement and successfully implement various kind of orchestration patterns over there. Usually what actually works for us in
[36:05]several use cases is the orchestrator model when we have a controlling agent that runs the rest of them and gives them command and validates it. And then what we added to the platform is basically an ability to set permissions carefully to share folders between those agents so they can work in each other's workspaces if that's necessary. And add it on top of that, observability and uh evaluations, evals, that we need for these agents, as well as the human in the loop control, which I think is one of the key elements
[36:39]of this because it basically enables to build it into the business process of a company and literally define that that listen, this agent is responsible for that. This agent is running this procedure, this agent is running that procedure. All of these procedures are nicely stored in a GitHub repository, so we can go ahead and edit them. And then we can just sit and observe how these agents are running, exchanging messages, and doing doing their own stuff. So, yeah, that was a long answer. No, that was super super interesting, and I can totally see how the approach you've taken is different. I can also see how
[37:14]what we're doing is like complimentary. So, let me let me illustrate. So, in my mind >> Yeah. scripts, there there's a set of automation that should be scripts that are highly personalized and are almost like an extension of the person. And I think what you're doing with Trinity is kind of like that. I have some work that I would have traditionally done manually locally on my machine, Yeah. >> and I want to extend that to the cloud and have agents help me do that better, more scalably, and move forward, right? And autonomously,
[37:47]yeah. Yeah, and autonomously, right? And they the workflow is is very tailored to me, and I try to tweak it all the time cuz it's my my personal extension, my personal script, right? Yeah. So, there's that category. And there's this other category, which is I think where where autonomy is, which is we as a product builders think lots of people have this exact same use case, and we're going to productize a solution for that use case, and offer it as a service to many users. And I think what will happen
[38:21]is the personal script agents that are extensions of me will work with productized services to further go get new capabilities, right? So, I think that the the the two approaches are almost like complementary and very powerful areas on their own. So, that was really interesting to hear. And there are a couple of other things that you said that are I think are very important to highlight, which is um I think there were agents built over two years
[38:53]Yeah. that are effectively going to get rebuilt, all of them. They're giant companies with billions of dollars raised that have built agents and you know, the way you described it and the way I described it, we already realized this. But they've built agents for technology that is not not the bleeding edge anymore, right? What they've done is build like little workflow orchestration things with you know, some simple thing like a LangChain or whatever. But if you think about where the world is now what you need what what is possible is you can
[39:26]have agents that can do complex deep work autonomously. And this require this allows the agent to take thousands of autonomous steps. Whereas the last generation of agents could take two or three autonomous steps and then would go get lost, right? So, by giving an a file system, a workspace, the ability to take notes, the ability to run shell commands, the ability to generate code on demand and run it, which both of our platforms have uh in your case with cloud code, in our case autonomy agents have these exact same capabilities, a new level of
[40:01]autonomy gets unlocked, right? A new level of autonomous work gets unlocked. Um and I think what will happen is a lot of investment that happened over the last two years in uh agent the first wave of agents, I think is going to get redone, right? So, I think there's a ton of opportunity in the market as people realize that actually the first generation of agents weren't very capable. And to have really capable autonomous agents, you need to give them a full working environment. 100% >> like Trinity or autonomy.
[40:34]100% meant that to take it even a step further and I think that can reinforce the concept that you guys are running in that we got running as well. I am not a believer in SaaS type of agents anymore. Those that are built by one company and reused in the same fashion by thousands of people. Simply because well, not simply there's there's a number of reasons. But the the fact that they have to put too many guardrails around it and make it dumb because they have to limit from the public attacks on the prompt injections and stuff like that. The fact that there are slow to change and adjust to the new
[41:08]technologies that are appearing, which is what you basically mentioned. And I think this whole narrative of let's build sovereign, let's build on you know, on the edge basically on on our own on premise installations and our virtual private clouds, things that we can control. Because when we can control it, that means that we can adjust it and change it very quickly to whatever comes next. I don't know, maybe there's some other revolution that is coming. But Yeah. Just a thought that I really am betting on this. >> a thing I think because everything is changing, it's good to hold opposing
[41:42]views and different teams to go after different things. So, I am very much a believer in that approach. I think products have value that accrues in some very interesting ways, right? So, product um allows one user to benefit from learnings across thousands of users. Right. That's true. >> someone is is operating in their own environment, that learning slows down. And it becomes more challenging. The other thing is that a product offered as
[42:15]a service can share actions across these users. So for example, let's say a security vulnerability comes out. And let's say someone has has done these sovereign deployments across many customers, getting all of them to upgrade and get to the latest state can be be quite challenging. Whereas in a product, a central service can control this, right? This is not to say that both things are not needed, but this is to say that there is different value propositions in products offered as services, um given how much success our current
[42:47]customers are having by operating that as a service product model, I continue to kind of like bolster my belief in we're in a transition currently where people are kind of like experimenting with both approaches, but my bet is that we will lean back towards lots of things are offered as products, but also lots of things operate in my control. Yeah. Now, that's interesting. Look, it's a good discussion to have. It's It's a good to have opposing views, obviously, cuz we can find find the truth somewhere in the middle. But to give you a bit more
[43:20]of my thoughts on on this on this topic. And maybe we're talking a bit of a different things when we mean agents offered as a product. But I think one of the key metrics going forward for any business that is running is going to be a sort of a creativity per second, meaning that they need to move fast with their agents or change them fast. And they need to put in a lot of creativity into that in order to make the difference. And once if you're relying as a company on usually 20, 30, 40 different agents that you're renting from other companies, you are limiting yourself to their speed of
[43:53]change. That's one of the factors to to take into account. And you're limiting it to averaging out of their products. What I mean is every company that is proposing a product for rent or proposes an agent as a service, they have to satisfy a large amount of audience by making this agent kind of similar for everybody. Good for ever more good for everybody than individually for you. And I think that's where the competitive advantage in the future is coming going to be coming from. You need to be unique in a way with what your agents are doing in
[44:27]order to make the difference. That's my kind of futuristic a little bit look into the >> Yeah, this is a super interesting discussion. We're making different bets, which is okay, right? Cuz this is a time to bet on the future. But I illustrate my thinking on a different era, okay? So when cloud was getting started. I had a friend who ran a chain of hotels. Like he was hotelier, okay? And cloud was just getting started and he was like, "Hey, I everybody's moving their email to the
[44:59]cloud, but I'm really scared. Like it, you know, there's like a lot of sensitive business information in our email. Uh we operated as exchange servers internally. This might be 2000 I think I'm thinking like 2005, six, seven. So that's the time frame, okay? Um and um So he's like, "Hey, you know, I'm really scared. Like what should I do?" And I was like, "Okay, how many people do you have on your team that manages these email servers?" He's like, "We have two full-time IT people. We also have some outsourced consultants that help us, but you know,
[45:33]those two people are the operators." I was like, "Okay, that's interesting. And where is your Where does your exchange server live?" He's like, "We have the the main hotel in its basement. There's like a data center room. That's where, you know, we're running our email server." And so I was like, "Okay, now think about that two people versus the number of people employed by Google to operate Gmail or the number of people operate employed by Microsoft to operate their email as a service. Yeah. the background of that group versus the two people you hired. You
[46:08]hired the best two people you could find. They hired the best two people best 100 people or 1,000 people they could find the world over. And so, the benefit of those teams of people starts to accrue into that Gmail product, which was admittedly inferior at the time compared to what they were operating in many ways. >> Yep. But, it had a curve of improvement that could be a lot better because it was funded in this other way, right? So, the story is my way of sort of
[46:42]illustrating that there are different trade-offs in play when choosing thing to operate yourselves versus a thing that is operated by a team that's where their entire job is to operate that thing well, whereas the two people in my IT org might have 10 things to worry about. Right? So, there's different trade-offs, but you know, we could debate this for years and not arrive at a consensus. I My my view is that there are different bets to make and I think different things will take off and we'll see how this next wave plays out. Yeah, it's exciting.
[47:16]>> But, let let me let me let me throw in something else. It's just so so interesting. Look, I am not not arguing against SaaS software necessarily. I'm arguing specifically against agents over there. I do think that we will still have software as on a subscription and we will still have uh data on the subscription, which is what is driving the agents to make good decisions. But, that's not what I wanted to mention. You see that uh we're going in the direction uh and what you mentioned is completely valid for 2007, where you know, in order to build and maintain
[47:50]your own software or your agents on premise, you actually needed a ton of people. And those people needed to be good in order for that to be good. The difference is now you don't. Now you only need agents who can be doing that. And the further we go, the more of the agents you're going to need. So, my bet is that we're going to end up with the systems that are so autonomous that they're both building the systems and maintaining that. And the input of a human, the level of creativity that human puts in their input in terms of what they want the agents to do is what is going to be making the difference.
[48:23]But again, as you said, I totally agree. We can talk about that for ages. It's very exciting. But >> I now have one more point to make, and it's actually outside of this debate. I'll make it differently, okay? So, I've been what you just said reminds me of um you know, a meme that's kind of going around in uh technology circle that I've seen. Like you have seen people talk about, "Hey, you know, we're going to see a single-person company be worth a billion dollars soon, right?" And my reaction always to that is, "Well, okay. So, if I have if I figure out leverage where I realize that one person can create a
[48:59]billion dollars in value, it's not going to be that today I don't know this and tomorrow it's suddenly a billion dollars. It'll be over a period of time, right? Over a period of time, I realize that actually, 'Oh look, I made a million dollars. Oh look, I made 10 million dollars.' And I think that someone who gets to 10 million dollars will suddenly go, 'Well, okay, on my own I made 10 million dollars. If I find someone else that has almost the same skills as me, could I make the next 10 even faster?' And when I uh so, so I'm going to start looking for the next person that could
[49:31]help me grow faster, right? And when I add the second person, if it works out well, I'm going to go, 'Well, what happens if I add a third person? Do I grow even faster?' So, this is to say that in my view, humans have always added leverage to whatever our automation technology is of the day, right? So in the last generation of club was that if you hired the right expertise quickly, if that was your skill, that was Google's skill, that was Amazon's skill. Hire the best people in the world
[50:04]as quickly as possible. If you do that, you create this point of leverage in being able to produce more capable things faster than others can move, right? So I take that to go on a complete tangent in this billion-dollar company example. I think no rational person will get to get to a billion dollars alone because they will realize along the way that actually they can hire more people like them and get to a lot more and billion dollars faster, a
[50:39]lot more money overall because the market they're operating in is is not capped at a billion dollars, right? So there's there's room to grow. So this is to say I think that the way it will play out and we'll see how it goes, but the way it will play out is everybody will get amplified. But we will still have the same org structures. We'll still have people involved because people are levers in that amplification. So this is my kind of personal view thinking about like how it will play out. Like in currently a
[51:11]lot of people are talking about we'll produce the size of teams, but I suspect what will happen is we'll just do more things faster and we'll again need more people to do it. Interesting. Interesting view, but I think Yes, so as part of what you were saying you mentioned that human is a leverage because if we take an example of Google for example or Amazon that were hiring a lot of the smart people faster and created leverage because of that. If we take that analogy and look at what is going on right now, now whoever is capable of building agents faster and more intelligence and
[51:44]orchestrating them in a way that brings a lot of additional value is going to be creating this leverage. And it feels to me that those can still be very small teams. I can tell you myself like I have like we have 11 people in the in the team. Everybody is a bit of a like a full stack not in terms of engineering but in terms of the business. So, they all build agents, they operate this agents and they do something with that. That's a new way of organizing kind of this this sort of a teams. But I can tell you that it's and maybe you notice that yourself as well. It is very easy for me to work on an agent and build an agent that is very
[52:18]high performance and deep in what it's doing and thoughtful with the right procedures and the rest of that. It is way easier for me to do so myself than to explain to any other human what exactly I want them to do there. And I'm running into this issue all the time because if I can explain what I want this agent to do then it's as easy as prompting this explanation with all this other stuff to the agent to make it happen. And for me that creates So, what has been our leverage in terms of team collaborations is becoming the
[52:51]weakness. I feel like the more links if I have to have an agent that is controlled by multiple people, it's going to develop way slower than if it's controlled by one people who knows what they're doing. One person. >> Possibly. Possibly. I I I agree. I think I've also encountered there multiple companies there in San Francisco that I've met that are trying to become that middle manager. Basically, you give your description to an agent. The agent writes more detailed descriptions to delegate to humans and agent teams, right? Yeah. So, that's
[53:24]also working. >> There's there is that potential layer in the middle that could exist. But I agree. I think like everybody is discovering what is the right way to work as we go forward. But it's an interesting time to be a builder >> exciting time. of agents. >> Yeah. For sure. Man, thank you so much for your time today. It was an exciting discussion and I hope we can pick it up next time. But thank you. Maybe you have some closing words over here as well. And thank you so much for for having me. Super fun discussion. I always enjoy talking about this topic. Um so, thank you. And thank you to all your audience for joining us and
[53:57]listening to us talk through this. Just give me one more second. My camera will come back. All right, folks. Thanks everybody for listening. Don't forget to subscribe and like this video and watch the other stuff that comes out. And other than that, have a great weekend. Bye-bye. Or no, maybe not have a great weekend. Have a wonderful day. Bye-bye. Because I don't know when I'm actually going to get it done.