chilly-france-44439
05/13/2026, 2:58 PMFrom Hiep: Previously, I had a discussion with Robert and Tim regarding the display of the Code tab. We agreed that, when connecting to local backends, the Code tab should not be displayed, as users may prefer to use their own IDEs instead.
For cloud environments, displaying VSCode seems like a reasonable approach.Are we sure we want to do this? I really don’t like the fact that you cannot modify local files just from the UI (especially the file is sandboxed & put into some random git worktree) -- especially when you want to throw a few files into the workspace / run some commands to see what's going on there. If we are worried about this, I think it is especially true since we are actually launching a Dockerized agent server as backend. I think the better flow would be: 1. Dockerized Agent Server: If the user is launching a Dockerized agent server, VS Code should already be a dependency inside that Docker image. In that case, I think we should just support the Code tab. 2. Local Agent Server: With respect to the local agent server, we should be smart and show the user that the agent server is not installed. We can include a prompt to tell the user how to fix this; they can just send this prompt to the agent to get it resolved, or showing that this tab is disabled and they can use their local IDE. More detailed description here: https://github.com/OpenHands/agent-canvas/issues/401 If we are worried that this could create confusion for the user. We could just hide it under the three "dots", but I don’t really like the fact that we support VS Code but we just remove it.
chilly-france-44439
05/13/2026, 2:59 PMelegant-branch-54423
05/13/2026, 3:00 PMcalm-artist-7206
05/13/2026, 3:10 PMcode / forks command?chilly-france-44439
05/13/2026, 3:20 PMhundreds-twilight-32833
05/13/2026, 3:21 PMAlternatively, add a capability/feature-detection endpoint on the agent server that reports which services are available (VS Code, terminal, browser, etc.).There is a lot of back and forth requests happening already and I'm weary of adding another one that impacts UI visibility. So a static supported array from the server at launch sounds like a good call. Either the code editor with vscode shows because your backend supports it or it doesn't.
hundreds-twilight-32833
05/13/2026, 3:22 PMchilly-france-44439
05/13/2026, 3:32 PMAlternatively, add a capability/feature-detection endpoint on the agent server that reports which services are available (VS Code, terminal, browser, etc.).I think we already have this supported in agent-server irrc, if it is not yet supported, it is not hard to get it in (one prompt away). With respect to sending prompts, I think sending the prompt to the agent depends on the assumption that the agent has access to their local machine, which i proposed here: https://openhands-ai.slack.com/archives/C06QT0AGY4W/p1778686194092719
What would that prompt look like to get an agent to set it up? Would it work just that one time or for every time you run the agent canvas going forward?You just send it ONCE and agent configured the vscode dependency locally so local agent-server can access it. In the future, everytime reload canvas, you can reuse that
calm-artist-7206
05/13/2026, 3:33 PMchilly-france-44439
05/13/2026, 3:34 PMcalm-artist-7206
05/13/2026, 3:39 PMchilly-france-44439
05/13/2026, 3:40 PMcalm-artist-7206
05/13/2026, 3:45 PMhundreds-twilight-32833
05/13/2026, 3:46 PMchilly-france-44439
05/13/2026, 4:41 PMmy setup right now is 3-4 agent-canvas instances running with docker containers for my different local workspaces.This is something I really want to do too. Basically, we want to have a consistent way of setting up child-agent-canvas so that we can just have one master agent canvas that uses the local agents themselves to help you configure different agent server backends on different machines. The agent could just SSH on your behalf and install stuff there. If you actually turn on the confirmation mode, the agent will ask you to confirm risky actions, so in that case, it is kind of okay to have non-sandboxed agent runs wild on your system. More details here: https://github.com/OpenHands/agent-canvas/issues/233
chilly-france-44439
05/13/2026, 4:42 PMhundreds-twilight-32833
05/13/2026, 4:45 PMchilly-france-44439
05/13/2026, 4:47 PMchilly-france-44439
05/13/2026, 4:48 PMssh my-remote-vm && npx @OpenHands/agent-canvas --setup-backend-only --secret XXX and the setup will be done