Claude Code Remote Control

464 points - today at 7:22 AM

Source

Comments

fny today at 1:53 PM
This is an extremely clunky and buggy prerelease, so don't try to hot fix prod from the toilet without a different mobile frontend.

Right now:

- You can't interrupt Claude (you press stop and he keeps going!)

- At best it stops but just keeps spinning

- The UI disconnects intermittently

- It disconnects if you switch to other parts of Claude

- It can get stuck in plan mode

- Introspection is poor

- You see XML in the output instead of things like buttons

- One session at a time

- Sessions at times don't load

- Everytime you navigate away from Code you need to wait for your session to reappear

I'm sure I'm missing a few things.

jasonjmcghee today at 4:00 PM
Posted elsewhere but will copy here. Been doing this for a while.

- - -

get tailscale (free) and join on both devices

install tmux

get an ios/android terminal (echo / termius)

enable "remote login" if on mac (disable on public wifi)

mosh/ssh into computer

now you can do tmux then claude / codex / w/e on either device and reconnect freely via tmux ls and tmux attach -t <id>

- - -

You can name tmux and resume by name via tmux new -s <feature> and tmux attach -t <feature>

dizhn today at 11:46 AM
Opencode's 'web' command makes your local session run on the browser with same access rights as the cli. It's a pretty slick interface too. I sometimes use it instead of the cli even when I can access both.

You can test it right now if you want with the included free models.

https://opencode.ai/docs/web/

Fizzadar today at 2:51 PM
There's https://happy.engineering/ which already does this with many fewer bugs and supports codex.
raunaqvaisoha today at 12:48 PM
I feel like a lot of folks are saying this kills the Code on your Phone opportunity some start-ups are building for. I don't agree. I feel like coding agents are like streaming services, we will subscribe to multiple and switch between them. So for one there's value in a universal control plane. The other is that mobile as a coding interface should offer more than a remote control to the desktop. I think there's still some space to cook, especially if people are investing 8 hours a day talking to agents, the interface surely matters.
rgbrgb today at 10:56 PM
FWIW I just tried this to monitor / shepherd a PR while I was on the exercise bike and it was pretty seamless. Way easier than the tailscale/vibetunnel thing I got burnt out on last fall.

I was using the Claude app on my iPhone and claude code on a MacBook pro. PR is merged, still on the bike :)

advael today at 4:23 PM
Weird all these companies struggle so much to support remote services, ssh has been working for me pretty seamlessly for like the 20 years I've been using it and has allowed me to remote-control any computer I own with relatively reliable authentication (with some hiccups that tend to be patched pretty rapidly when found) throughout that entire period. I hear tell it worked even before I was using computers professionally, too
renonce today at 10:03 PM
I built a project achieving similar goals. You launch a web server then connect to it using either browser or Android app, then create a session to talk to Claude Code. The sessions are synchronized in real time across all devices and automatically saved to disk and continued when server restarts. Recently I've added features to schedule tasks in the future and to assemble agent teams. The project is mostly vibe-coded with Opus 4.6 with few supervision beyond trying its functionalities out.

Project is at http://github.com/vincent-163/claude-code-multi/. Can be installed easily with nodejs.

Please provide feedbacks and suggestions!

dnw today at 4:06 PM
Claude Code Team: Please fix the core experience instead of branching out into all these tertiary features. I know it is fun and profit to release new features but you need to go deeper into features not broader into there be dragons territory.
Robdel12 today at 2:03 PM
This is buggy to no end. Anthropic needs to slow down

The daily ā€œwhat broke and changed nowā€ with claude code is wearing me out fast.

bandrami today at 11:11 AM
We've re-invented GNU screen in the most inefficient way imaginable
exitb today at 5:29 PM
Maybe it’s related to what I tend to use the agents for, but I guess I don’t understand what is this for. Typically I try to structure the tasks in a way that require me to do or check something important when the agent gets back to me. If the agents query is trivial enough I can respond from my phone, it was likely not needed at all. If the agent finished - fine. It will have to wait until I get back in front of the computer anyway.
hmokiguess today at 12:43 PM
Too many limitations, for now I'll stick with self-hosted https://github.com/tiann/hapi and Tailscale
bachittle today at 3:58 PM
I've been running something similar for a few months, which is a voice-first interface for Claude Code running on a local Flask server. Instead of texting from my phone, I just talk to it. It spawns agents in tmux sessions, manages context with handoff notes between sessions, and has a card display for visual output.

The remote control feature is cool but the real unlock for me was voice. Typing on a phone is a terrible interface for coding conversations. Speaking is surprisingly natural for things like "check the test output" or "what did that agent do while I was away."

The tmux crowd in this thread is right that SSH + tmux gets you 90% of the way there. But adding voice on top changes the interaction model. You stop treating it like a terminal and start treating it like a collaborator.

Here is a demo of it controlling my smart lights: https://www.youtube.com/watch?v=HFmp9HFv50s

jaunt7632 today at 4:39 PM
If you want this to compete with tools in the OpenClaw space, I’d prioritize first class Telegram and Slack support. Push progress into a chat thread, and let me approve, retry, cancel from there. That’s where teams live. A separate mobile frontend will always feel clunky and fragile.
nineteen999 today at 12:32 PM
Worth noting that this is currently broken for a number of users, I'm on a Max plan and I get the message "Error: Remote Control is not enabled for your account. Contact your administrator" which isn't helpful since I'm my administrator and ... this gets recursive quickly.

There's an open issue on github for it:

https://github.com/anthropics/claude-code/issues/28098

deleted today at 10:21 PM
therealmarv today at 12:09 PM
On Android app it needs Claude GitHub connection with scope to act on my behalf! Otherwise it won't work in the app. Really do NOT like that!

Why does the remote control needs that? For what?

I rather use the common developer tools like termux or mosh etc. on a phone if I need that functionality.

Arubis today at 11:09 PM
Yes, yes. The Dropbox meme. But come on, you can literally just use ssh.
quatonion today at 9:45 PM
I used it to add a MIDI driver and support to my OS this afternoon. Worked okay, but I agree it is a bit clunky yet. I think it is pretty good for a preview release. Much better than nothing.
kstenerud today at 8:23 PM
I just built yoloAI https://github.com/kstenerud/yoloai

Gives me full sandboxing with bypass permissions, tmux, and cherry-pick level control over what gets pulled back out into my work dir.

Mix in tailscale and I can control it from anywhere, on any device, with full transferrability using established and battle proven tooling.

fy20 today at 6:21 PM
Can anyone recommend a tool that gives a 'mission control' overview of multiple agents, but also combines some basic project management functionality.

For example, maybe I have an idea for a feature and I want to spin up a new branch and have agents work on that. But then I get stuck or bored (I'm talking personal usage), so decide to park it. But maybe after a few days I have a shower thought and want to resume it.

The current method of listing sessions and resuming them can work, but you need to find the right session. If there is something that shows all the branches, a docs overview of what that feature it, and the current progress it would make this workflow a lot more effective. Plus I switch LLMs when I hit rate limits.

I'm probably going to just build it myself, but wondering if anyone has something that does this already.

johnhamlin today at 7:43 PM
New speed record for time from LaunchHN to getting Sherlocked set by that company everyone was dunking on a couple of weeks ago
conesus today at 6:33 PM
This new remote control handoff is neat but still requires you to remember to do the handoff. Oftentimes I’m waiting on an agent and then walk away.

I built Crabigator[1] and it's a wrapper around `claude` and `codex`, so its ready for coding on the go on start and already streaming. Plus, crabigator shows many parallel windows, separated by repo/project/machine, so you can manage multiple agents seamlessly.

[1]: https://drinkcrabigator.com

piker today at 12:07 PM
Running Claude Code from a phone just seems like a recipe for Alzheimer’s. Rest, then focus and build.
rob today at 3:28 PM
I would have hoped for them to at least support the "/clear" command or some form of it, especially to manage context if we're limited to a single session between the terminal and Claude iOS app. I like to work on things one at a time and /clear my way between them to get back to 0% context, which seems impossible with the current setup here?

Typing "/clear" in the terminal clears it, but the Claude iOS app just outputs raw XML instead and doesn't actually do anything:

    <command-name>/clear</command-name>
    <command-message>clear</command-message>
    <command-args></command-args>

    <local-command-stdout></local-command-stdout>
siva7 today at 6:43 PM
I don't think they target the pros here who already solved this problem with vpn/tmux/ssh but to those whose thrilled serious reaction will be "whoaaa crazy i can command claude code now from my phone while on the toilet or on a date?" It's basically a defense attempt against Openclaw.
qwertox today at 7:41 PM
I would rather have them commit to make a standard out of --sdk-url. I really want to use it in production, but it being undocumented means they can take it away anytime, so stdout it has to be (and hooks).
smallerfish today at 3:23 PM
This seems like an excellent thread to plug the TUI I've been working on that makes using bubblewrap relatively easy and somewhat pleasant. I have a recipe in the README for using it with Claude. Granted that Claude has --sandbox, but probably better that sandboxing be done by something outside of the Anthropic ecosystem.

https://github.com/reubenfirmin/bubblewrap-tui

pshirshov today at 10:54 AM
That's what I've been doing with termux, mosh, and tmux.
mglvsky today at 12:10 PM
so is harnessing tmux/tailscale new "rsync/FTP is enough" thing nowadays?
sailfast today at 2:32 PM
I’ve been doing this with a tmux tunnel and an app on my laptop that connects sessions you select to a virtual terminal using sockets. I asked Claude to build it and it works great - full terminal functionality and Markdown review with comments so you don’t need to cross your eyes to review plans.

Excited to see how this matures so people without that inclination can also be constantly pestered by the nagging idea that someone, somewhere is being more productive than them :)

amarant today at 7:39 PM
Could I not achieve this with a ssh client on my android, and use regular Claude code remotely that way? Or am I missing something?
skeptic_ai today at 4:25 PM
One more step closer to a closed source system. I think their objective is to move all your code on their systems so you can only modify the code through their AI so they have a moat and will be difficult to move away. They will ā€œguardā€ your source code and you’ll never see it.

Imagine if tomorrow they make a 10x smarter AI, but they say: you can only use if you upload your source code to us and you can’t see anymore the source code.

So you either stay on lower end models or you give up and use a 10x model.

I only see one issue: will be very difficult for them to ā€œguardā€ the source code and don’t let you access.

interestpiqued today at 4:27 PM
I don't get it, just ssh?
iblaine today at 5:29 PM
Boggles my mind that this is actually a thing that still needs to be solved. Just remote into your computer (I prefer TeamViewer). That is it. One step.
mikkupikku today at 7:13 PM
Very nice, maybe my days of wasting my work breaks on HN are coming to an end.
KronisLV today at 3:17 PM
> Unlike Claude Code on the web, which runs on cloud infrastructure, Remote Control sessions run directly on your machine and interact with your local filesystem. The web and mobile interfaces are just a window into that local session.

For the vibe'y workflows, this would easily solve parallel long running work without skipping permissions: schedule 10 different tasks and go for a run. Occasionally review what the hallucination machine wants to do, smash yes a few times, occasionally tell it not to be silly, have a nice run. Essentially, solving remote development, though perhaps not quite in the way how people usually think of it.

> Limitations

> One remote session at a time: each Claude Code session supports one remote connection.

Hmm. Give it 1-12 months.

sebastianmaciel today at 12:03 PM
Small UX note: the first time you run the command it only shows a URL. It's not until you run it again that you discover it also generates a QR code, which is actually the fastest way to open it on your phone. Would be nice if the QR showed up on the first run too, almost missed it.
adriand today at 11:36 AM
Does anyone know if it caffeinates automatically? I sometimes see caffeinate appear in the terminal tab title so clearly they are using it, but I’m just curious if I have to run caffeinate separately if, for instance, the agent finishes its task and is waiting for a new one and I want to keep it alive.
paxys today at 2:34 PM
SSH app on your phone + Tailscale is already a much better experience.
gregoriol today at 11:54 AM
I really don't want to trust an AI company with a remote access door on my setup
alex7o today at 4:47 PM
I have been, doing doomcoding with tmux and ssh and oddly enough it was better experience than this.
ashot today at 8:44 PM
check out codecast.sh for cross agent experience with this and much more!
clarity today at 7:36 PM
all i get is: "Error: Remote Control is not enabled for your account. Contact your administrator."
8cvor6j844qw_d6 today at 11:29 AM
How does this handle deauthentication / logging out all sessions?

Claude Code only supports logging out the current session via /logout

There's no logout all sessions equivalent unlike the web UI.

max8539 today at 4:38 PM
I was just thinking about it two days ago - how nice it would be to use my local Claude code instead of the limited cloud version to make some ad hoc changes when I have a fresh idea on a hike. And two days later - here we go, a new release
cahaya today at 11:27 AM
Hoping OpenAI/ Codex will launch this soon too.
jcmontx today at 12:49 PM
I feel closer to realizing my dream of walking by a forest and whispering back and forth to an LLM to get shit done
weikju today at 11:00 AM
even more reasons to sandbox it to a container or vm
marinhero today at 3:16 PM
Is this compatible with Bedrock powered Claude Code setups?
ark4n today at 1:03 PM
News flash...now you can continue to work whilst brewing a coffee, walking the dog or taking a shit.

jfc no

johnwheeler today at 5:19 PM
I don’t know what open claw is really, but I’ve heard so much about it like everyone else. Is this anthropic’s answer to that?
synergy20 today at 1:54 PM
have been using tmux and ssh-on-the-phone doing for forever, what's new?
schnell88 today at 4:36 PM
Claude -browser /Remote-controll ??? Win?
moontear today at 12:27 PM
Oh come on, now that I have a personal remote control already set up using hooks, specifically the PermissionRequest, and Home Assistant push notifications where I can allow or deny a specific action?
spiderfarmer today at 1:09 PM
I want this for Codex.
bpodgursky today at 4:48 PM
Anthropic is spitting out software in 2 weeks that took enterprises 24 months to ship 5 years ago (and was still buggy AF, let's please actually think about all the vmware citrix enterprise trash you tolerated). It'll get hardened over the next couple weeks.

You all can pretend the software dev cycle hasn't changed... get real.

KeplerBoy today at 11:51 AM
So Microsoft/Github copilot was ahead of its time with AI driven PRs?
Razengan today at 1:53 PM
WOW I had been using the Codex app (Claude/Anthropic have a few annoying problems) and wishing there was something like this!

I often get ideas while I'm in bed or outside away from my computer, and was thinking that the ability to code on your computer from your phone, through AI, would be such a killer app.

My favorite use case would be asking the AI to review code and going over its findings/suggestions while I'm away from the computer or trying to fall asleep.

deleted today at 1:39 PM
squirrellous today at 11:07 AM
Would be great if it supported API keys. I’m getting by with slack threads of all things for work.
SignalStackDev today at 6:02 PM
[dead]
aplomb1026 today at 6:31 PM
[dead]
cboyardee today at 5:44 PM
[dead]
yakkomajuri today at 11:39 AM
I guess this is Anthropic's early version of a "claw"?
VadimPR today at 3:11 PM
Pretty happy to see this. I've previously tried happy.engineer for this, but that wanted my Anthropic API token for itself (!) which is a no-no.

Seeing how the labs tend to copy the best functionality in any FOSS developments, I decided to wait - happy I did, here's the official functionality for this that is much more trustworthy.