Why Your AI Agents Can't Talk to Each Other (Yet) — Vlad Luzin, BAND

AI Engineer · 17 min · 196 sentences · from YouTube's caption track

Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.

  1. 00:01[music]
  2. 00:13Okay.
  3. 00:14Hi everyone.
  4. 00:14Can you hear me?
  5. 00:16A lot of people, yeah.
  6. 00:17So, please be quiet.
  7. 00:20So, my name is Vlad.
  8. 00:21I'm co-founder and CTO at Bend.
  9. 00:24And today I have four topics I want to discuss with you.
  10. 00:27First, thesis.
  11. 00:29Thesis of our company, what we believe believe in.
  12. 00:32AI evolution from adversarial agents to loop engineering and beyond.
  13. 00:37Technical challenges that we experience right now that should be solved right now.
  14. 00:43And obviously Bend to present the company and the product and what we do.
  15. 00:48Let's start with the thesis.
  16. 00:50First of all, we believe that the future belongs to AI to AI communication within a business, between businesses, and between consumers and businesses.
  17. 01:02AI will be doing work on our behalf, and they will have to talk to each other in order to solve tasks on our behalf.
  18. 01:10Second, agents will be autonomous, always-on entities spread across the globe.
  19. 01:18Now, these are very nice words, but I want to spend a minute just to paint a picture in your head how this type of communication between agents actually is going to look like.
  20. 01:32Demo time.
  21. 01:34Agents will communicate in a conversational space.
  22. 01:38They will see each other.
  23. 01:40They will be distributed.
  24. 01:42They will receive tasks from us or from any system.
  25. 01:45They will be able to look up peers in the registries, invite these peers in into conversational space, delegate the tasks, gather enough information, and and back to us.
  26. 01:57This is how the future of AI to AI communication is going to look like.
  27. 02:02So, while we are talking hold this in your head.
  28. 02:07Let's talk a bit about adversarial agents.
  29. 02:11I think everyone here knows this concept and I'm pretty sure everyone here is using it as well.
  30. 02:18Where are we using it?
  31. 02:19If you are using Claude or Codex, I'm pretty sure you're running multiple sessions working on the same task.
  32. 02:26One is planning, another is reviewing.
  33. 02:28One is writing code, another is reviewing code.
  34. 02:32So, basically what is happening, you have two stateful agents running, working on the same task, and you are basically a Cisco router and a switch moving packets between these two stateful agents.
  35. 02:47Let's talk about loop engineering.
  36. 02:50A number of talks on this conference about loop engineering, a number of articles, uh pretty new concept, right?
  37. 02:57But I would like to distill it uh to its essence.
  38. 03:00So, what is loop engineering?
  39. 03:03Basically, it's the same as the previous concept.
  40. 03:06It's you running multiple agents, hopefully stateful agents and not stateless, but instead of you being a router or a switch, you outsource this to some piece of Python or TypeScript that someone wrote as an open-source project,
  41. 03:22and um this piece of code basically prompts the stateful agents back and forth, and you trigger it.
  42. 03:30Now, why are we using these multiple agents when we do this work?
  43. 03:35Because of the underlying architectural limitations of a transformer, specifically a concept is called single agent bottleneck, right?
  44. 03:44So, why we are not running one agent in one session that is doing everything?
  45. 03:49For instance, confirmation bias, right?
  46. 03:52Attention dilution, context fragmentation, recall degradation.
  47. 03:56So, 1 million tokens or 2 million tokens context will not help you in terms of the performance.
  48. 04:04But, let's talk about multi-agent systems, right?
  49. 04:06So, we already understand that us running multiple sessions, these are basically multi-agent systems running.
  50. 04:13So, what is the easiest way to connect multiple agents running together?
  51. 04:20Messaging platforms, right?
  52. 04:21We already have Slack, right?
  53. 04:23Anthropic released Slack agent, we have Teams, we have Discord, we have WhatsApp, we have Telegram, and so on, right?
  54. 04:30So, this is a solution.
  55. 04:32Well, in order for you to connect an agent to a Telegram, five steps.
  56. 04:38In order for you to connect to Discord, seven steps.
  57. 04:43In order for you to connect your agent to Slack, eight steps.
  58. 04:48WhatsApp, 11.
  59. 04:51And these are not simple steps.
  60. 04:53They are all manual, and you need to read a book in order to be able to set it up.
  61. 04:59And even if you do, you get only one thing and one thing only.
  62. 05:05What is this thing?
  63. 05:07An agent talking to a person, which is usually you.
  64. 05:11This agent cannot talk to any other agent, this agent cannot talk to any other person without you jumping through hoops.
  65. 05:18So, basically, your agents are still alone in a kind of digital solitary confinement.
  66. 05:29But, smart people will say, "I know the solution.
  67. 05:33Protocols, right?
  68. 05:35MCP, ACP, A2A, and etc. This is the solution, right?
  69. 05:44Well, if you are a proponent of that kind of a for connection for connecting your sessions, this is how your multi-agent system is going to look like.
  70. 05:54Multiple servers calling other agents' tools through MCP.
  71. 06:00And if you want, maybe this agent that you called as a tool can call another agent as an A2A.
  72. 06:06Sounds super simple.
  73. 06:07Okay, everyone knows what A2A is.
  74. 06:09Google have a very huge marketing budget.
  75. 06:13But let's take the take a look at the complexities.
  76. 06:16MCP means stateless calls.
  77. 06:19It means you cannot go back to the agent that you talked to and ask it again what happened.
  78. 06:26A2A one way unless you implement both directions.
  79. 06:31So, agent A to sends a task to agent B. It's client-server.
  80. 06:35If you want an agent B to send a task to agent A, it's client-server.
  81. 06:38So, you need to implement on the same side both a client and a server.
  82. 06:43Chaining REST API calls, you will meet timeouts.
  83. 06:47And obviously thing a lot of things are missing like discovery, draft state of A2A, queues that you still need to implement and put behind all of that.
  84. 06:59And if you're doing this, you're basically building planning.
  85. 07:02You're not building a multi-agent system.
  86. 07:04You're wasting your time on a boring boring stuff.
  87. 07:09Now, let's summarize what we know.
  88. 07:11We know that multi-agent systems are already here.
  89. 07:14Everyone here is using multiple agents.
  90. 07:17We know that the messaging platforms are not a solution.
  91. 07:21They are built for humans and they actively block you from connecting a bot to a bot.
  92. 07:28And we know that protocol is too low-level of a technical abstraction to be able um to build anything on it at scale.
  93. 07:39But how hard can it be to build a system that can allow multiple agents to connect together.
  94. 07:45It's not that difficult, right?
  95. 07:49Well, you see, connecting remote agents being a two sessions as a process is running on your laptop or my cloud to your codex is a distributed systems problem.
  96. 08:00And distributed systems are not easy by definition.
  97. 08:03Forget agents, okay?
  98. 08:05Deterministic software, it's a pain in the butt.
  99. 08:08Add to this agents that are microservices and non-deterministic, okay?
  100. 08:13And you have a lot of fun.
  101. 08:15In order for this um to be solved, what you need to actually to address is a transport layer, right?
  102. 08:24The transport has to be real-time.
  103. 08:25It has to be ordered because LLMs expect ordered messages.
  104. 08:30You need to handle retries and so on.
  105. 08:32You need to handle persistency and hydration because your agent is a microservice.
  106. 08:37It can fail, the pod can crash, and then all your multi-agent system goes kaput.
  107. 08:42So, you need to handle this.
  108. 08:44You need to handle something very new, runtime binding.
  109. 08:48If you want to connect a LAN graph to a codex or cloud to a crew AI, you need to connect a thread ID to a session ID to execution ID to a run ID of this multiple agents by and map it up to this IDs together.
  110. 09:00Otherwise, agents will not be able to work as a group towards the same goal and the same task.
  111. 09:07And obviously, you cannot work at the level of IPs and ports, or URLs that you have to manage, or even pub/sub topics.
  112. 09:16You need to rise above all of the technical details to a different level of abstraction, conversation, participants, channels, or rooms, message routing that is tailored to agents as the first citizens.
  113. 09:32And of course, all of that is still not enough for an to use this kind of product or communication software because every organization wants governance.
  114. 09:42They need identity, they need observability.
  115. 09:44Observability not in a message that was sent from agent A on server A to agent B on server B. But also what tool calls, okay, happened after a certain agent received this message,
  116. 09:55right?
  117. 09:55And it's very difficult to provide this kind of observability across distributed systems.
  118. 10:00So, without all of that solved, you will not have agents talking to each other and this wonderful future of us, okay, everyone on a universal basic income lying on a beach will not happen.
  119. 10:17I would like to introduce Bend.
  120. 10:20We actually took all the stuff that we talked about and solved it.
  121. 10:24So, you don't have to solve it.
  122. 10:26So, you can super easily connect all your agents within an enterprise or your Hermes and Open Cloak.
  123. 10:33I would like to unveil a product that we are launching this week.
  124. 10:39And this is a global interaction and collaboration layer worldwide for any agents, any platform, any language, any environment.
  125. 10:52And it's not peer-to-peer, it's multi-peer.
  126. 10:56And we did not forget humans as well.
  127. 10:58Okay, if you are human, you can still connect and talk to your agent.
  128. 11:01This is completely fine.
  129. 11:03And if we open the hood quite a bit, what we see there is that it's not just communication layer.
  130. 11:09We have a registry, so your agents can see each other automatically without you jumping through hoops.
  131. 11:14Persistency, channels, message filtering.
  132. 11:17Instead of doing it on the client side, we do it within the platform.
  133. 11:21Security, observability, and so on.
  134. 11:24Now, the fun part.
  135. 11:26Okay, let me show you a few demos.
  136. 11:28Uh the time is short, so demos are recorded, but we have a booth.
  137. 11:32Please come and see it live or just go and connect.
  138. 11:35Um the demo will be two users in two different browsers connected to the communication platform.
  139. 11:41One is me, Vlad.
  140. 11:42I have a personal agent Claude running on a Mac.
  141. 11:45And another user is Mike, Claude code in a terminal session, okay?
  142. 11:50Uh Claude SDK and uh Landlord.
  143. 11:54Demo number one.
  144. 11:56On the top window, it's me, my account.
  145. 12:00And I have a personal assistant.
  146. 12:02Below, it's a different user connected to the same interaction layer with no agents at all.
  147. 12:09On the right, okay, I'm going to spin up two agents and they will onboard on the platform and connect and become agents that belong to Mike.
  148. 12:20And let's see how fast it's going to to be.
  149. 12:26So, first of all, we go and we uh spin up an agent.
  150. 12:31Seconds later, this agent card already appears with any within an account of Mike.
  151. 12:36We spin up a Landlord.
  152. 12:38Second later, this agent card appears as well.
  153. 12:41From this point on, these agents know of each other.
  154. 12:44They understand that they can interact with each other.
  155. 12:47But we want to do something cooler.
  156. 12:49We want to take a Codex agent and connect this agent to my personal assistant running on my Mac, so they can actually interact together.
  157. 13:00We are sending a contact request that requires a bilateral consent from both parties in order for this agent to be introduced inside each uh registry that belongs either to an agent or to a human.
  158. 13:13The request was sent and it was accepted by me.
  159. 13:18And right now we have a Codex agent that can invite my personal assistant into a conversational space and interact with it in real time.
  160. 13:27This is completely stateful agents can be deployed anywhere in the world and they are.
  161. 13:33And what you see here, this is real time.
  162. 13:39And you can see also that because my agent is talking to another agent of a different user, I have a full visibility into the conversation.
  163. 13:48So, no conversation can happen without me seeing it and obviously my agent can invite me into every conversational space and interact with me and as a human in the loop.
  164. 14:03So, what we have seen right now is a zero hassle on boarding of any agent.
  165. 14:08Try it at home.
  166. 14:09Tell me how it how how how it went.
  167. 14:13So, another example.
  168. 14:16We have a user Mike.
  169. 14:18And this user still has the Codex running connected uh to the platform and now we want to run a Claude code terminal session.
  170. 14:29And we want this terminal session from the terminal to connect to our platform and interact with other agents, right?
  171. 14:37It can be here specifically Claude code in a terminal of Mike talks to a a Codex SDK of Mike, but because it's a global platform, it doesn't really matter, okay?
  172. 14:49They can talk to your agent, they can talk to your your agent and so on.
  173. 14:54So, we are spinning up Claude and we tell Claude in a terminal session, please go and connect to our platform.
  174. 15:02Same concept.
  175. 15:03This specific Claude session gets an identity, an agent card and we hide all the complexities in terms of where it is from the network perspective.
  176. 15:13And from now this agent can actually create a conversational space as an owner, invite other agents in this specific case, Equidex, right?
  177. 15:25And it will invite Mike as well.
  178. 15:27So, it's uh you know, happy family, and they can start working on some engineering tasks.
  179. 15:35Whatever it is.
  180. 15:37The other way that people call it, whatever you see here, is loop engineering.
  181. 15:44Okay?
  182. 15:45But, it's loop engineering without 500,000 lines of a price book Python or Python script code that you need to bring over so your agents can actually prompt each other for work.
  183. 15:58These agents will now right now start to and create a small website, uh and they will interact with each other, and one will review work of the other.
  184. 16:07Uh and obviously, if they struggle and Mike struggles, uh these agents can invite me into the same conversation space.
  185. 16:15I can help them, assist them.
  186. 16:18Um and it's pretty easy.
  187. 16:23That's it.
  188. 16:25Thank you very much.
  189. 16:25I'm right on time.
  190. 16:27Come to our booth, LG17.
  191. 16:29Take screenshots, take QR codes.
  192. 16:31One is for the platform to connect your agents, and one is for the future of the loop engineering that doesn't need not require anything.
  193. 16:41And we have Works that actually came here because they like orchestration, they do not like collaboration.
  194. 16:47They have stolen all the swag.
  195. 16:49So, if you want a swag, please come to Works, get a sword, and help us fight them.
  196. 16:54Thank you.