HeadlinesBriefing favicon HeadlinesBriefing.com

Loopsy Enables Secure Cross-Device Terminal Control via Cloudflare Workers

Hacker News •
×

Loopsy bridges terminals and AI agents across devices using self-hosted Cloudflare Workers and WebSocket relays. Developed to repurpose idle MacBooks, it enables file transfers, remote command execution, and cross-machine AI agent control. Devices connect via a Cloudflare Worker relay, establishing WebSocket links without port forwarding or public IPs. Security relies on HMAC-signed pairing tokens and SHA-256-hashed secrets, with iOS app support in review for mobile pairing via QR scans.

The tool integrates with coding agents like Claude Code and Codex CLI, allowing agents to spawn persistent terminal sessions, execute voice-dictated commands, and auto-approve workflows. LAN-based agent-to-agent communication uses ECDH encryption, while Cloudflare Workers enable free-tier self-hosting. SQLite-backed Durable Objects store relay configurations, and CLI commands simplify setup. Security notes emphasize the relay's access to terminal content, though end-to-end encryption is planned.

Practical use cases include multi-agent pipelines, pair programming across networks, and offloading tasks to powerful hardware. By avoiding VPNs and public IPs, Loopsy prioritizes simplicity and resource efficiency, letting users leverage existing infrastructure for seamless cross-device workflows.