You can just hook up Claude Code to a Telegram bot and get basically the same result in 50 lines of code.

https://github.com/a-n-d-a-i/ULTRON

Well, it's a work in progress, but I have self-upgrading and self-restarting working, and it's already more reliable than Claw ;)

I used the Claude Code SDK (Agents SDK) originally, but then realized I can get the same result by just calling `claude -p the_telegram_message`

The magic sauce being the --continue flag, of course. Bit less useful otherwise.

I haven't figured out how to interrupt it or see what it's doing yet though.