java.io.IOException: Agent version 4.13 or newer is required

Well, it’s kind of difficult to offer more information than “Update your agent”. Jenkins has already told you what you need to do.

Now, it sounds like you have a static agent. Depending on how you installed that in the first place, you will have different steps to upgrading that agent. Ephemeral agents are easy because they self update.