How to make an existing agent ACP-compatible
uv add acp-sdk
@server.agent()
. The agent name comes from the function name, and the description comes from the docstring. You can add more metadata like capabilities, dependencies, and content types - see the Agent Manifest section for details.
This creates an ACP-compliant agent that can receive messages and respond via HTTP using the ACP protocol:
@server.agent()
decorator registers your function as an ACP agentinputs
contains the messages sent to your agentcontext
provides request metadata and utilitiesyield
statements send responses back to the callerbeeai-framework
: