VS Code comes with a feature you could almost call a miracle in modern software development — Remote SSH. As the name suggests, it lets you use VS Code as if you were working locally, while your code ...
The agent is doing the actual work, and VS Code is just a window.