Latest version en Agent transfer

If I perform an agent transfer and select the latest version, it works correctly. If I modify the agent I’m transferring to, the new version is no longer selected, but it is selected. However, if I modify the agent I’m transferring to again, the second time the system replaces the latest version with the original one, it no longer works correctly.

In short, it only retains the version for the first modification; it doesn’t work for the second. In a complex system, there are always modifications. This is how it is.

When configuring Agent Transfer in Retell AI, you can select either a specific version number or the latest version of the destination agent(1). The Agent Transfer tool allows you to configure the “Transfer agent” setting, which includes the ID and version of a specific agent to transfer to, and you can select the latest version as well(1).

Based on the agent versioning system, when you publish an agent via the “Deployment” button in the dashboard, Retell automatically updates the version number(2). Published versions cannot be changed, and only the latest version can be modified(2). The version number is a monotonically increasing integer, and both the agent and the corresponding retell_llm or conversation flow have the same version number(2).

The behavior you’re describing—where selecting “latest version” stops working correctly after the second modification—suggests there may be an issue with how the Agent Transfer tool tracks version updates when you repeatedly modify the destination agent.

I don’t have specific documentation explaining this exact behavior pattern. I recommend:

  1. Checking if you need to re-publish the transferring agent (not just the destination agent) after each modification to the destination agent
  2. Verifying in the Agent Transfer tool configuration whether “latest version” is still selected after each publish
  3. Comparing agent versions to see what’s changing between publishes(3)

For production systems with frequent modifications, you might want to consider explicitly specifying version numbers rather than relying on “latest version” to ensure predictable behavior.

Check out these potentially useful sources: Agent Transfer, Setup versioning for agents

If this issue persists, I’d recommend reaching out through the official support channels:

Hello @Jaime_Ferrer

Just to make sure I get it right

You have an agent X, That have agent transfer function that transfers to the agent Y version (Latest)

When updating the Y (twice), the version of Agent Y changes on the function,to the original one not the latest (What do you mean by the original one).

If you can make a quick video becuase I tried to reproduce, but the agent version stayed at Latest.

It’s during the call transfer when you issue a “warn transfer to human” and assign the agent to be transferred. If you set the version to “latest,” the first change you make to the agent you’re transferring the call to is detected and updates the version. However, instead of retaining the “latest” version, it sets the new version number. Therefore, subsequent changes to the agent for the human call don’t modify the version of the agent from which the call transfer is initiated.

Thanks @Jaime_Ferrer , I’ve reported it as a bug

I will update you on it.