ACP: The Universal Remote Control for AI Agents — Alex Hancock, Block https://www.youtube.com/watch?v=YkNulwcc5jk AI Engineer · 11 min · 128 sentences · sentence-level transcript from YouTube's caption track; each line begins at the time shown [00:01] [music] [00:12] Hey everybody. [00:13] Um my name's Alex Hancock. [00:16] Today I'm going to talk about a universal remote control for AI. [00:19] And before I start, I just want to say the previous speaker said that MCP client maintainers haven't implemented support for tasks because they're smart. [00:25] I'm an MCP client maintainer. [00:27] I can tell you it's just because I'm lazy. [00:29] I haven't done it. [00:30] Um Okay. [00:33] So, a little bit about me before we start. [00:35] I am a software engineer at Block, which is the parent company of Cash App and Square and Title. [00:40] We have a few different things going on now. [00:42] Um and I've worked there for a long time. [00:44] I worked on Square product stuff and Cash App stuff, but I've been doing open source AI for the last couple years. [00:49] Specifically, I work on this open source harness project called Goose, which started as an internal project at Block. [00:57] Yeah, some Goose fans out there. [00:58] And then uh yeah, we open sourced it and we donated it to the Linux Foundation. [01:03] So, now the IP is there, but we still lots of us from Block still work on it. [01:07] Um I'm also a maintainer of MCP, the Model Context Protocol. [01:12] I work on the Rust SDK for that project. [01:14] And more recently, I've also started some work on ACP, the Agent Client Protocol, which is what I'm going to talk about today. [01:23] So, I think I think we have an issue with harnesses that I want to I want to try to put to you all today, uh propose to you all today [01:30] as a problem and then and then recommend a a solution. [01:34] So, what I've been noticing recently is that we've got lots of great harnesses out there, right? [01:39] There are ones from the labs, there are one from ones from different companies, there's lots of open standards-based ones. [01:45] Um but I noticed that the interface to them is often custom or bespoke. [01:51] And in in the worst case, it's like you might have some harnesses where there's literally only one client application you can use to control that harness, right? [01:59] And I think this has a couple issues with it, but the analogy that I'll make with the web is it would be like if you had to use one browser [02:07] or a one given protocol to connect to a to every website, right? [02:12] That just wouldn't work. [02:13] You wouldn't have something like the open web if if that were the reality with browsers. [02:18] And so I think we can do better. [02:20] And the thing about standards by finding a standard and the thing about standards is that they create ecosystems and markets. [02:27] And I would argue that in the agentic AI space, we have a good standard for the agent going out and doing things, right? [02:36] Calling tools, taking actions in other systems, reading resources, reading data. [02:40] We've all benefited as a community from having MCP. [02:44] Right? [02:44] And the most powerful thing about MCP is not anything about MCP itself, but it's that everyone uses MCP. [02:52] And that's why we have, you know, thousands or tens of thousands of servers around the world and all the agents can connect to them and go and do things in those other systems. [03:02] I would say that we don't yet have a good solution or a standard for client software to tell agents what to do. [03:11] Giving it tasks, telling it what to work on and getting updates. [03:15] And so I'm going to put forward an option today that I think is a good option that that we on our team have been working on and we think is a good [03:24] a good solution in the open standards space. [03:27] And this is ACP, so agent client protocol is the name of this project and it came from the editor companies. [03:34] It came from like if you've used the Zed text editor or you've used any of JetBrains products, the Zed folks and the JetBrains JetBrains folks teamed up and proposed a standard for [03:45] um clients to be able to control harnesses. [03:47] And it makes sense if you put yourself in their shoes, right? [03:49] What they wanted to be able to do is write a single high quality client implementation in an editor, maybe in Zed or in IntelliJ or something like that, and be able to control any harness [04:00] by with that single client implementation, sending tasks, getting results back, seeing what files are being edited, etc. It makes a ton of sense if you put yourself in their shoes, right? [04:11] But we saw this on the Goose team, and we think that there is a much broader utility than just editors, right? [04:17] So it's a it's it's relatively neutral and it doesn't have many editor specific features. [04:22] And so we think that this can can go to a be spread to a wider range of client software. [04:28] To go into a little bit more depth about ACP's design and and what you can do with it, it lets you establish connections between clients and agent harnesses that have a given [04:40] a set of capabilities associated with the the connection, and then you can make sessions. [04:46] Within sessions, you can send user messages, the things that a user is maybe typing into the app or that the client software wants to send. [04:53] The agent can then respond to those with text, uh more images or audio, text, etc., or updates about what's going on. [05:02] So like, if a tool is called, it can send a tool call notification and explain what tool was called and what the metadata was. [05:08] Um and it can also send things like permission requests, so that if the client software needs to show the user, you know, "Should I do this tool call? [05:16] Yes or no?" [05:17] It can go over this uh this protocol. [05:20] And it's it's pretty simple in its design. [05:23] Uh it uses JSON RPC messages, and the thing we like about it most is that it's extensible as well, so you're not limited to just what's in the vanilla protocol. [05:31] You can add custom methods. [05:33] So the the convention is you put an underscore, and then you start to put your custom methods. [05:39] And the thing I like about this is that if enough harness projects or client projects adopt this, we can start to see what we're all doing that's the same, [05:47] right? [05:47] Like if the Codex team has some custom methods, the Goose team has some custom methods, uh the client team has some custom methods, whoever, we can see what emerges in the in the ecosystem [05:58] and what makes sense to get on a standards track and bring into the protocol itself so that this is sort of shaped by usage and shaped by the community. [06:06] Um I'm going to do a demo of a standard IO version of this. [06:12] So, I'm going to open Zed and I just have a really simple project here where I'll say, "Tell me about this project." [06:19] And so, this is a single HTML file. [06:22] So, you can see I was able to type my query into Zed and this is the agent in play here is Goose, so it's using Goose's ACP interface. [06:30] And it's you can see it's like sending text back, it's sending tool call information back um about what it read and what it did and then it found, you know, that it's a single HTML file and then explained it. [06:41] And I'll do another I'll do another one. [06:43] This is one from a company called Poolside AI. [06:47] Uh I'll say, "Tell me about this project." [06:50] In the same project. [06:51] And so, this is a terminal-based client getting exactly the same experience from the same agent, one implementation on the harness side, and you can now use any client. [07:01] Right? [07:01] And so, you can see it did the same thing. [07:02] It showed me some text results back, it showed a tool call, and then it showed a It's it's streaming in a summary. [07:09] Um So, that's a basic demo showing two clients talking to the same agent uh over standard IO locally in this case. [07:18] But local obviously isn't enough, right? [07:20] If you want this to take off, you have to be able to do remote as well. [07:23] Agents are going to be running in the cloud. [07:25] And so, when we came to this project, we saw that it did not have remote support yet. [07:29] So, we specified an HTTP transport. [07:32] There's an HTTP version and there's a websocket upgrade. [07:35] And so now, the messages are the same, the protocol semantics are the same, but there's a new transport that is just landing now that enables remote. [07:43] And the way we think about this on the Goose team, the agentic stack, is there's sort of these four important components, right? [07:50] You have the client, which is like the app that the user is using or a headless app running somewhere on a machine. [07:57] There's the harness, which is the program that implements the tool calling loop. [08:01] There are the tools themselves. [08:02] This often MCP. [08:04] And then there's the model, right? [08:06] And if you do a remote transport for the agent client protocol, and MCP has remote transport for tool calling, and the models have kind of all had remote endpoints like responses APIs for a long time. [08:19] Now you have the flexibility to move all of these four components around. [08:23] They could all be on the same machine. [08:25] The harness could be on a different machine than the client. [08:28] Uh the model could be the only thing that's remote. [08:31] The tools could be the only thing that's remote. [08:33] Uh aligning on standards and making sure that they have good transport stories is what's going to let us move all the pieces of this agentic stack around. [08:43] And I can show a quick demo of this as well. [08:46] So, this is a a client just to show how easy it is to create clients for this. [08:51] I just live-coded this, you know, last night. [08:54] And I'll say, "Write a poem." [08:56] So, this is again connecting to that same process on my machine. [09:01] Uh in this case I'm running it over the network, but it's on my machine. [09:03] It's connecting and sending Goose instructions for what to do uh remotely. [09:08] So, this could be in a container, could be up in the cloud, but the messages are the same and the library you use is the same. [09:15] So, you can just switch between local and remote very, very easily. [09:19] Um So, if you want to get plugged into this ecosystem, start experimenting with support, either making your own clients or adding stuff to harnesses, this is a this will link you to the agent client protocol site for [09:32] how to get started. [09:33] There's a number of clients and and agent servers are out there. [09:37] This ranges from editors, desktop applications, mobile applications, terminal based things, like there's a proliferation. [09:45] And I I think the use cases are are are potentially huge, right? [09:50] If we if we get some interoperability going here because you can have people can make personal clients that's exactly how you want it orchestrating your agents. [09:58] You could have sort of clients created for certain business domains or an individual company or a set of clients from a company you could customize like a white label [10:08] client have it work with all the harnesses. [10:10] And I also think if we make a new category here, we're going to see quality of the clients go up, right? [10:16] Because any anytime you get an ecosystem or a marketplace going and there's many options, users can vote with their feet if clients aren't meeting their needs and so people will start to compete on the quality of the user experience and and like overall I think this should drive up [10:30] uh the user experience of using AI. [10:33] That's what I've got today. [10:34] Thank you very much. [10:35] And if you want to chat with me, find me after or send me an email. [10:39] Um happy to get you plugged into this work. [10:42] Thank you. [10:57] [music]