Comment by cedws

5 hours ago

I've been building something similar except it uses iroh for P2P instead of SSH. Would really like to use this but I don't want to use SSH.

edit: nevermind I see it presents a console rather than wrapping the agent with a native GUI. This won't work well on high latency connections.

I also built a similar thing a many. And in my experiments (even though iroh is great) iroh took significantly longer to reconnect vs mosh and ethernal. And actually plain old autossh was the best XP for me to close laptop get on traincopen again on mobile Internet.

So eventually I removed everything other than autossh.

Seeing as how many people are building similar things I'd love to share more. Maybe wanna ad each other respectively to the repo's ?I can share some of my benchmark results

  • For me connect time is not really a concern, it happens once when I open the app. In my project I'm wrapping agents using ACP and presenting an actual GUI, so latency doesn't really have a perceptible impact. Running Claude Code in a console over any kind of remote connection is gonna feel bad.

    Rather than for network performance I'm using iroh because I don't want to need a direct network path to the machines running my agents. Yeah I have Tailscale but that's more work to set up and I don't want my app to depend on users have a TS network.

  • To elaborate on my usecase that herdr didn't so at all the the beginning but still does not do well: I have many vm's in different clouds working on different projects with different secrets that I want to keep isolated ( now also at home lan machines which when im travel get aliased to their tail scale address)

    So my biggest requirements are around making isolation between environments convenient but safe from supply chain attacks .

    I wonder what usecase you were optimizing for