AgentChat: Run and Approve Your Coding Agents From Your Phone
Developer tools · Creator, sole engineer · prototype
Chat with the coding agents running on your laptop from your phone, and approve or deny each command they want to run.
The detail
A long agent task stalls on its first permission prompt the moment you walk away. AgentChat puts each agent session in its own chat, with notifications and Allow once / Deny buttons. There are two ways in: a Telegram bot that takes about three minutes to set up, or a private web app over your own network.
The private path is end-to-end encrypted with per-device-pair keys and forward secrecy, so the relay only ever sees ciphertext. Pairing shows the same security code on both screens. Each message shows its delivery state, a failed message can be re-sent, and a device can be revoked.
The relay has no runtime dependencies, stores state transactionally, recovers from a crash without manual cleanup and ships as a container with automatic HTTPS.
Goals turn it into more than a remote: describe what done looks like, and the agent works on its own branch until every condition is proven again from scratch, then a second agent on the other runtime re-checks the work before it can be called done. Push notifications arrive with the app closed and never carry agent text, and there is an Android app. Each Claude or Codex login is its own agent, and any earlier terminal session can be continued on the phone from a copy, so the original is never touched. An independent security review found eight issues, each fixed with a test.
Node.js, SQLite, Web Crypto, Web Push, PWA, Android, Docker, Playwright.
What I did
- Built a relay and a desktop connector that put each coding-agent session in a chat on a phone
- Added Allow once / Deny buttons for every command an agent wants to run
- Designed per-device-pair end-to-end encryption so the relay only sees ciphertext
- Made the relay self-healing with transactional storage, structured logs and a health endpoint
- Built a responsive web app with delivery receipts, offline queues and device revocation
- Grew the suite from 72 to 171 unit tests, plus browser and stress runs
- Built goals with cross-runtime verification: one agent works, an agent on the other runtime must sign off
- Added Web Push with the app closed (encryption checked against the RFC test vector) and an Android app
Stack
Node.js, JavaScript, SQLite, End-to-End Encryption, PWA, Telegram Bot API, Docker, Playwright, AI Agent Development, Web Push, Git
Case study: https://www.siddhvasudev.com/projects/agentchat-run-and-approve-your-coding