Set Longstanding Remote Agents Free
Motivation Right now there is a major discrepancy in how a remote agent is treated and an agent that exists within the desktop. For reference just today being able to mention an appropriately managed remote agent is now mentionable in the upstream code.
Many people myself included run agents in a virtual machine environment where code lives, harnesses and skills. Swappable backend is great for ssh and kubernetes, but it doesn't solve the desired long and persisted state of an always on vm.
Beyond this, just serving to that layer eliminates some of the unique advantages of having agents that can communicate that live in different places.
Proposed solution A formalized contract for remote agents that treats them as a real virtually owner attested agent.
A first principles approach that leans on what exists in the codebase, and rides where it can, only making necessary changes so that a remote agent feels more native but is clearly in it's own environment.
Alternatives considered Only having agents on the desktop that can dispatch out to the virtual machine.
This doesn't work well for always on devices that you can communicate with the agents at all times, because they still have to be triggered from the desktop environment.
Additional context We have this currently fully working, and dependent really only on raising the host virtual machine into the relay to make the addition of agents on the remote machine seamless.
Before opening: please search open issues and PRs for duplicates — link the closest one, or say "none found".