🚀 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.1
Initialize your project
2
Add the ACP SDK
3
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
4
Start the ACP server
5
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.6
Run the agent via HTTP
7
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
8
Run the ACP client