🚀 IMPORTANT UPDATE
ACP is now part of A2A under the Linux Foundation!👉 Learn more | 🛠️ Migration GuideThis guide uses
uv. See the uv primer for more
details.Create an agent
Let’s create a simple “echo agent” that returns any message it receives.
Create an
agent.py file in your project directory with the following code:agent.py
Start the ACP server
Verify your agent is available
In another terminal, run the following You should see a JSON response containing your
curl command:echo agent, confirming it’s available.Build an ACP client
Here’s a simple ACP client to interact with your
echo agent.
Create a client.py file in your project directory with the following code:client.py