During one of our Friday demos <@U07EZMGJFBJ> expl...
# proj-sdk
c
During one of our Friday demos @straight-sundown-84319 explained the two levels of REST API that exist in the v1 architecture. There is the v1 SDK server which I understood would run on the runtime and another level of api in OpenHands repo v1 branch that is the control plane for SaaS and Enterprise. Do I have that right? Are there names we are calling these two different APIs?
f
Could you be referring to the agent server (sandbox-related API; e.g., pause / resume sandbox, upload file to workspace, etc...) vs the OpenHands server (app-related API e.g., user details, conversation-related API, webhooks, etc...)?
c
yes. Is that the language we are using: agent server vs OpenHands server?
f
That's what I've heard it being referred to on multiple occasions, so I've assumed yes
c
And new UI will be communicate with both OpenHands Server layer and agent-server layer or will OpenHands Server proxy or encapsulate agent-server?
f
There are instances where we need to communicate with the agent server directly. Once a conversation / sandbox is running, the OpenHands server can also return the sandbox URL, which we then use to make the necessary calls to the agent server. For example, in order to get the VSCode URL we render through an iframe, the client will make a request to
/api/vscode/url
on the agent server. Another example of the client making a request to the agent server is to pause a conversation (this one stops the agent and not the container)
/api/conversations/{conversationId}/pause
s
The names are : • OpenHands Agent Server ( This lives in the sdk and does not include sandboxing or user management) • OpenHands App Server (This is the part that coordinates agent servers)
👍 1
ty 1