Agents' next frontier: agent-to-agent and network effects — Jean-Denis Greze, Town https://www.youtube.com/watch?v=REascnFlq_8 AI Engineer · 21 min · 291 sentences · sentence-level transcript from YouTube's caption track; each line begins at the time shown [00:01] [music] [00:12] Can you all hear me? [00:13] All right. [00:14] Um Well, first things for coming. [00:16] I can't believe there's anybody in the room, but that's very nice. [00:20] Uh Uh my name is Jean-Denis. [00:22] Um I'm CTO at a company called Town. [00:25] We're not going to really talk about Town, so you can go to town.com and check that out if you want, but that's not the point of the talk today. [00:31] I was CTO at Plaid for 7 years, and then I was at Dropbox before. [00:36] And then before that I built software for hedge funds. [00:38] I've done lots of stuff in my career, and right now I'm working on uh assistance agents for for normal people, not not for engineers, but for like basically everyone in America and the world. [00:50] And one of the things we've been working on are systems where agents work with other agents. [00:54] So, agent-to-agent. [00:56] And the main idea is that we think there's huge network effects if agents can work together to get things done for people because in the real world the way most of us do work [01:07] is with other people, right? [01:09] Uh more is better. [01:11] But, actually I don't think agent-to-agent makes much sense as a concept. [01:16] So, I want to reframe the entire talk in terms of search. [01:20] So, I think most LLM systems are just a search problem. [01:25] And what you're trying to do is you're trying to make sure the context window right before you either return results to the user or before a tool call, you're trying to make sure the context window has the right information for the user. [01:37] If you put the right information in the context window then based on the intelligence, so to speak, of the LLM, you will get the best result possible. [01:46] Um so, you know, 4 years ago the way we did that is humans would populate the context window manually. [01:52] Then a couple years ago, most people are ragging, so they were like, let's have a tool, like a search tool, that can look across systems and bring the data in there. [02:00] And then people were like, well, that doesn't scale super well, has issues. [02:04] And now we're all about agentic search, which is the idea that you give the agent a lot of tools, and it'll search through the space of all content, and then hopefully before it makes a tool call, it has exactly the right content [02:15] to make the right tool call to return the right information to the user. [02:19] Um and in this, by the way, there's no there's no people. [02:21] It's just a one LLM call at the like the one that matters having the right context. [02:25] That's That's what you're trying to do. [02:26] You're trying to engineer um that system. [02:30] Cool. [02:30] So, what what does that have to do with agent agent? [02:32] So, I want you to imagine the following world. [02:35] There's not many agents that can do things. [02:39] There's just one agent, right? [02:41] And it has one context window, and it has access to all the information in the universe. [02:47] It can look at any one person's email, can look at any company's information, can look at any government's information, and it has it right there in the context window, [02:56] and then you ask it to do something. [02:58] You You have your little system prompt with all that data, and what's going to happen is it'll give you the best possible outcome. [03:05] And that actually That is a multi-agent world. [03:09] It's just an agent that has access to all the world's information. [03:11] That's the natural state of things. [03:13] That's the ideal state of things. [03:14] There's a problem with this state of things, and the problem comes from a few So, you're learning economics something called the Coase theorem, and it says that basically even humans, if they all have access to all the right information and there's no transaction costs, we get the economically [03:30] ideal outcome out of a out of a contract or negotiation. [03:33] Well, it's the same thing. [03:34] We can't put all of the world's contacts We can't make it available to the LLM. [03:38] Like theoretically even with infinite context window, because of privacy and security. [03:44] We're humans. [03:45] I don't let you look at my email, so there cannot be an agent that I'm willing to just let it look at my email all the time. [03:52] But, if it existed, it would be very, very powerful. [03:55] So, I I think this is like this is the test for a multi-agent system, which is how well does it approximate this? [04:02] If it approximates this, that means if you can get the same data in your window that a perfect system that has access to all the world's data could, then you get the optimal outcome. [04:10] That's what you need to try to do. [04:11] So, we're going to talk about five strategies that people use at various companies to try to get the right data into that that LLM call with an externality. [04:22] So, the first one is approximate access to everything within a trust boundary. [04:28] So, my wife and I, we have an agent together, and that agent has access to my email and her email, uh including emails before we were married. [04:39] Uh and it's okay, she doesn't ask my agent questions about that, but she does ask about, you know, whether I like schedule something for our kids or, you know, uh if I followed up on some third-party thing. [04:48] And so, the fact that our agent has access to both of our systems is wonderful. [04:52] Um and the work context, this might be there's a an HR team agent that has access to all the HR systems, just like an employee of the HR team would, or maybe as much access as the lowest employee in the HR team. [05:03] All the employees in the HR team have the ability to ask this agent questions, and boom, it gets pretty good results. [05:10] And this is very popular right now. [05:12] Uh it's very popular with IT teams and security teams cuz it's the same model as SaaS for security, so it works really well. [05:20] I think it has a problem, which is a fundamental problem that if I wake up in the morning, it's like basically the only thing I think about, which is [05:27] does it get Over time, does this system naturally require fewer humans? [05:32] And then, as the models get better, does this approach get better? [05:36] And the problem with this approach is the answer is no to both. [05:39] Uh you still need humans to think about all the data, and you don't get magical de-siloification of your data. [05:45] You've just created a new silo cuz a human thought about it. [05:49] So, the problem with this is I do think if this is your approach to building better AI, you're going to be in the next couple years. [05:56] Um but that's okay. [05:58] Your is my opportunity. [06:00] Uh I'm just I'm just not an I'm sorry. [06:03] That was mean. [06:03] But like I think it's not I think it's a good now way to think about it. [06:06] It's not the good end game way to think about it. [06:09] The other approach which is I think is a little more clever and then I'm going to try to explain it is basically you try to have tools that make a different trade-off between power and privacy. [06:18] So, I'm going to give you an example here. [06:20] Um the use case is I want to ask my agent, does anyone in my company is anyone in my company connected to someone on the finance team at Acme Corp? [06:29] And so, what the the no silo way to do that is just give me access to everyone's Gmail in my company. [06:36] I'll see who has emails with people from Acme Corp. [06:38] Then I'll look at their profile on Google or LinkedIn and then I'll be like, oh, you seem to email a lot with the CFO. [06:44] Can you do the intro for me? [06:45] But right, obviously silos, we don't want that. [06:48] So, what if you build a tool and what the tool did is it looked at everyone's Gmail. [06:53] So, that tool had access to everyone's Gmail and it just returned a relationship strength score. [06:58] So, the tool you would give it like a domain and you would say I'm looking for someone who's a CFO. [07:04] It would look at everyone at the company who sent emails to that company and then it would like rank their score and they would give you back the score [07:11] and then the agent would get the score and it would be like cool. [07:13] Then they would use a Slack tool to text that person the company. [07:15] It's like, hey Bob, I see that you're connected to the Jane who's the CFO at Acme Corp. [07:20] And then Bob would be like, yes, I am. [07:21] And then your AI would be like, oh, can you draft an e- can I draft an email or can you draft an email introducing me? [07:26] And then Bob would say, yes, and he would do that and you'd be connected and everything would be wonderful. [07:31] So, this is actually very cool approach. [07:33] I don't know how many of you do it. [07:34] Like we we do this at Town for a few things that we see a lot of our users do. [07:38] We ask ourself, what is a privacy preserving tool that all of our users would be okay existing? [07:42] They can opt out if they don't want it, but it has a natural network effect because it breaks through silos in interesting way. [07:49] Um, like another one that's interesting here is letting other people put draft emails in your inbox. [07:54] You let other people at your company draft emails on your behalf cuz they're going to ask you to anyway to get intros if they're on the sales team, so might as well save yourself a few clicks. [08:02] So, the question here is like are people going to be okay with a privacy trade-off that you make within a corporation? [08:08] Uh, bad. [08:09] Bad. [08:11] Oh, boy. [08:13] Within a corporation that will, you know, mostly it works. [08:16] Um, so the problem here again is it's again manual and not dynamic. [08:21] It's manual cuz humans need to think about the tools. [08:23] Maybe I could build the tools. [08:25] Uh, and it's also manual cuz you need to explain it to everyone that it's happening. [08:29] Humans may not like it if this is happening if they're not okay with the privacy security the privacy kind of power trade-off that you've made. [08:36] Cool. [08:37] And again, this doesn't really get better as they I guess better. [08:40] That's the problem. [08:41] Cool. [08:41] So, now the third category. [08:42] This one's super popular, but only mostly in the single user context. [08:46] So, this is, you know, like personal wikis in claw land. [08:49] That's what we would call it. [08:50] But it's across teams. [08:51] So, it's a shared silo. [08:54] Create a new place where data accumulates within your company within subgroups at your company. [08:59] Um, and you start to put more and more stuff there over time. [09:03] And all the agents have access to that stuff. [09:05] Because they have access to it, you no longer have information that would be okay to be shared that's stuck in a silo. [09:11] It now automatically filters out into this public space. [09:13] So, examples, shared skills. [09:16] If you code in an organization, probably in your repo you have shared skills. [09:20] Anyone can make them better. [09:21] Someone has a better way to, you know, profile your database or whatever. [09:25] They can write the skill. [09:25] Next time someone's sitting there is like, "Oh my god, the database query is slow." [09:29] It uses the profiling skill and everyone's a better engineer. [09:33] So, that's one version. [09:34] The other one that's pretty popular is people decide they have some shared mediums, like a wiki, airtable, etc. And they uh they have a scale that says, "Hey, put more data in there over time." [09:44] So, these are cool. [09:45] Um and they work as long as your your agents have those tools and also some trajectory incentives to really like get data out in and out of of these shared silos. [09:56] Um I think the next version of this that a few people are working on is like you have a sweeper AI. [10:02] So, this actually if there's one good idea in this talk that I think works really well is this. [10:08] It's a sweeper AI. [10:09] So, you have an AI inside each private silo. [10:12] An AI has a policy about what has to stay in the silo. [10:17] And then it also has a description of all the shared spaces that you have. [10:21] And at the end of the day, it looks at new information in the silo and it puts it in the public spaces. [10:26] Well, public, public to your company. [10:28] So, this is the same as the personal wiki that you all have AI building for you at the end of the day so that I can know your goals and your friends and all that stuff, but it's at the company level. [10:37] Um the hard part is how do we pick what private information is okay to to share and to put it in shared silos. [10:44] And I think there's two approaches. [10:45] There's the ask a human approach. [10:48] So, this is like the LLM comes up with a list of things to contribute and then it asks the user, "Hey, are you okay with me putting this in the shared space?" [10:56] And you read it. [10:57] You're like, "Yep." [10:58] Saved you a bunch of time. [10:59] Right? [11:00] I mean, you weren't going to do it otherwise. [11:02] Uh I think the other version is you actually ask the LLM to enforce a policy. [11:07] And I think that actually is where things are going to go very, very quickly. [11:11] Um and I think in the next 6 months we'll have a bunch of systems where companies have trusted an LLM with a policy to automatically surface more and more information that otherwise would have been private into a public space. [11:22] If you're like at a Fortune 500 enterprise company, unfortunately, I don't think that's going to happen for a while, but I think if you look at smaller companies, like 10, 50 person employees, high trust, [11:32] like low likelihood of something one one doing bad with the data, which really clear to know what data couldn't be shared, basically finance and HR data, you're going to see a ton of this. [11:41] And the cool thing here is this really improves trajectories of systems on on common work. [11:47] All right, that was third approach. [11:49] Fourth approach pretty obvious, use humans as the conduit for information. [11:52] So this is like traditional agent to agent. [11:55] My agent ask your agent, "Hey, who is connected to someone on the finance team at Acme Corp?" [12:03] You as a human see the request and you're like, "Yeah, I'm okay with that. [12:07] Go and find the information inside of my email." [12:10] And then it shows you the result. [12:12] And then you're like, "Yes, I'm okay with that result going to the person who asked." [12:17] The big problem with it is for for any request that has low where it's like only a few people will have the information, you're kind of spamming everyone the request. [12:25] So if I ask this question to 100-person company, 100 people are being pinged on Slack, being like approves on these requests to like farm your personal network for this for this, you know, for this like the answer to this question. [12:38] That's not very efficient. [12:39] Um And so that's why there's a better version of it. [12:43] Um which I this is this is very powerful, but uh I haven't seen it in practice much. [12:48] It's it's a black box approach. [12:51] I wish I had a diagram for this. [12:52] Unfortunately for you all, I do not. [12:54] So here's what this means. [12:56] The black box approach is where when you ask a question that can only be answered by looking at information in other people's silos. [13:04] You have an LLM, the trace of which no one has access to, that gets access to all of the data, and it gets to the answer. [13:13] Right? [13:14] Like by say get to the answer, either gets the answer or it's about to do the the the any tool call that's all right. [13:20] And then it looks at what information did it need to make that tool call, and it only ask the people who own that information for their approval to do the tool call. [13:30] So, in the example before that I gave, when I ask 100 people at my company, "Hey, do you know the CFO at Acme Corp?" [13:36] The request goes to everyone's agents in my company. [13:41] All of their agents look in their Gmail and their private silos to see if they're connected to the CFO. [13:47] That happens automatically. [13:48] No No human is being asked for approval for that to happen. [13:51] Then it the agent in the black box ha gets the list of the 20 people who are connected. [13:59] It looks at contacts from the emails to determine who has the strongest connection. [14:03] It determines that it's Bob. [14:06] And then, it just asks Bob, "Hey, Jean-Denis wants you to introduce him to Jane, the CFO at Acme Corp. [14:14] I know you're well connected to her. [14:16] Am I okay sharing that bit of information with Jean-Denis?" [14:19] And you're like, "Yeah, sure." [14:20] You click yes. [14:20] No big deal. [14:21] The important thing is you have to trust the black box. [14:23] So, you have to trust that you can break down all the silos for an LLM that has full access and that doesn't ask for permission until there's this sharing moment or this right step. [14:37] So, actually, within a company, this is not impossible to do. [14:40] Uh and actually, your security and compliance team can get okay with it. [14:45] Um you just have to have You have to be sure that the human in the loop step is correct, and you have to be sure that you're not letting other information go through without last answer. [14:56] So, you know, like the the nightmare scenarios and things like this are things like uh um Sorry. [15:03] I'm like We have plenty of time. [15:06] I'm almost done. [15:06] So, it's great. [15:07] Um the nightmare scenarios with things like this is someone asks a question like, "Are you connected to a recruiter at the other company that you have no business being recruited to as a way for them to find out that you're interviewing somewhere else, right?" [15:19] So, you know, there are you you still sometimes with a black box inadvertently get an information out that you shouldn't be able to. [15:26] You have to really think about how you would build a great system. [15:30] So, those are the those are the approaches. [15:32] I think if I were to bet on one that has immediate ROI that we're going to all see in both like open source claw-ish worlds and then like small companies, it's going to be the wiki that's automatically created by AI [15:44] like the information base that's kept up to date. [15:46] I think there will be database versions of it, wiki versions of it, and I think more and more we're going to trust LLMs to make the decision about what's okay to share and what's not. [15:55] There are problems. [15:56] So, prompt injection in in the silos can be a real problem. [16:01] Obviously. [16:02] So, if you have a silo that has like that's more open and someone can put something bad in there and then that as part of the energetic search you pull it out, you know, bad things can can happen. [16:12] Uh you can have it's very easy to have a shared wiki that just goes like totally off the rails, you know, like the information there one piece of information there is incorrect cuz LLM made a mistake [16:23] and then it like poisons it forever. [16:24] I have a personal wiki that thinks my agent's name is Apex right now, but I renamed my agent a month ago to Ivy. [16:30] And like somewhere in memory bank uh uh of my like setup uh Apex lives and so I can't get rid of it. [16:38] Uh that's fine for Apex. [16:39] That's a funny one, but it's like much more difficult if it's a really wrong piece of information about your business. [16:45] Um if you don't have human in the loop for any of the steps, obviously there'll be false and wrong disclosures. [16:53] You know, sometimes when there's a wrong disclosure of information, someone gets fired. [16:57] Someone there's a wrong disclosure, it doesn't matter at all. [17:00] Sometimes a customer sues you. [17:02] So, you know, uh you got to be careful. [17:05] Um and then I think this all sounds nice, but like who approves what, what's logged, what's reversible? [17:12] The black box idea is really great, but it can't truly be a black box. [17:16] Someone at your company will want to audit it at some point. [17:19] They want to understand what's going in there, right? [17:20] So, at some level there must be some person in the CISO suite or somewhere that has access to all the data. [17:26] Um Yeah. [17:29] So, um what do I think? [17:32] Well, I do think the frontier is auto. [17:33] So, I've said that. [17:34] I think in coding we used to approve everything. [17:36] Then we were like, "YOLO, live dangerously." [17:39] And now the gods at Anthropic have granted us auto mode. [17:42] And auto mode tries to figure out when we're maybe being a little silly and it tells us. [17:46] Well, I think A to A across information silos will be the same way. [17:50] I think what's going to happen is we're going to get comfortable with low sensitivity information being pulled out and put into common spaces. [17:56] And then we will have a place that's like human review or always human approved. [18:00] And then over time what's going to happen is the LLMs will get more powerful. [18:04] We will be better at encoding safe policies within them. [18:07] We'll be better at designing for the really hard areas tools that get the privacy trade-off correct. [18:13] And it'll just be more and more auto for building shared silos and even sometimes for deciding whether involve a human. [18:19] So, the example that I have is like if I ask for notes from a weekly recurring call with, you know, a supplier of ours and their finance team, maybe the the LLM's like, "Oh, well, in giving your role, [18:32] I don't need to ask anyone on those teams for permission. [18:34] I can just share the notes with you. [18:36] It's like it's fine. [18:37] I they can it can look at the content. [18:38] It can see what my role is. [18:39] It can decide from a risk perspective I'm okay with that disclosure." [18:43] Um and the cool thing about auto, by the way, is if you design your systems that way, it'll scale with model capacity. [18:49] So, my encouragement would be like, you need to start if you have agent to agent or or work across silos, which is I think the better way to think about it, definitely define a low sensitivity zone [18:59] where you're okay with the LLM making a call. [19:02] And get okay with that. [19:04] And then magically, as time goes on, it'll get bigger and your system will naturally get more powerful, which is what you you So, you want to be on a beach. [19:13] That's what you want to do. [19:14] That's where I want to be. [19:15] My kids in Hawaii. [19:17] Okay, network effects. [19:18] I've 1 minute. [19:19] Uh this is the conclusion. [19:20] So, we talked about five approaches, blah blah blah, trust boundaries, custom tools, shared silos, humans in the loop, and this human in the black box version. [19:30] Uh I think this stuff is very powerful. [19:32] I think the interesting questions a little bit are in within companies, I think this will all work very soon. [19:37] The big question is where how how how comfortable are we are we with something like an auto mode around privacy? [19:43] And I think the really interesting question that I don't have an answer for, but I think whoever does this will be wealthier than I am, is if you can think of [19:52] scenarios where you can get multiple companies to agree to their information silos having a common agent working across them. [20:01] So, there's like a company that I won't name in in in in somewhere in the world, uh working on like finance stuff where they have a lot of investment banks. [20:08] And actually the investment banks there's a benefit to them sharing private data about private companies for purposes of things like lending. [20:15] And they're starting to look in this direction. [20:17] Where they're trusting each other's agents to be able to work across what before would have been private information, with agents deciding what can be accessed or not. [20:25] And it's it's cool. [20:26] It's very cool. [20:27] And I think once you find some use cases across across companies, uh I think that'll be a really good beachhead to to move more in this direction. [20:36] So, yeah. [20:38] You know, as a human though, I ask myself, do I trust the future where agents make all the decisions about privacy? [20:44] I don't know about that. [20:45] I just think it's a it is for better or worse the direction things are going. [20:50] And I just I'm like so good on time. [20:52] So, I'm on time. [20:52] Thank you for coming. [20:53] I again, uh yeah. [20:56] [applause] [20:56] Thanks for being here, and [21:13] [music] [21:16] Mhm.