Plugin development: were to put additional binaries

That you want to ship an extra binary with your agent was not clear from your first question. I thought that you need to binary on the server.
You have two options - custom bakery script that ships your agent plugin and additionally the binary. Pay attention to the right target directories or the second one is the “Custom files” option inside the agent bakery.