Switching agents in Cloud ADE (self-hosted) fails

In the Cloud ADE, when using the drop down in the upper left to change between Agents in a self-hosted server, the resulting page states “This agent does not exist or is not owned by your organization”.

I noticed that the URL for my main agent is: Letta/agents/ but when I switch in this manner it directs to: https://app.letta.com/agents/.

I suspect this is the Cloud ADE not recognizing I’m accessing a self–hosted server an directing me back to it but rather trying to send me to the agent in Letta Cloud.

Repro steps:

  1. Open an agent in a self-hosted server via the web ADE
  2. Use the drop down in the upper left to select a new Agent
  3. Observe Error

Browser: Firefox 146.0

I don’t believe we can fix this easily, as it would require iterating across all self-hosted servers available. Docker users should use the full agent URL, and not the convenience /agents/ URL we provide for Letta API users.