๐ 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