mohammadhadijavidi

Agent Telegram Remote — AI skill for Claude Code

AI community

Run and supervise AI coding agents (Claude Code, Codex CLI, Aider, any CLI) on your own VPS from Telegram: policy-gated approvals with inline buttons, live progress, diffs as images + .patch, per-user.

How to install Agent Telegram Remote

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mohammadhadijavidi/agent-telegram-remote and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Telegram Remote does

Run and supervise AI coding agents (Claude Code, Codex CLI, Aider, any CLI) on your own VPS from Telegram: policy-gated approvals with inline buttons, live progress, diffs as images + .patch, per-user allowlist, session history.

Alternatives in AI

  • Gh PR Review — GitHub CLI extension that adds full inline PR review comment support — view, navigate, reply to, and resolve r 174 ★
  • Sidekick Agent Hub — See what your AI coding agent is doing 80 ★
  • Address PR Feedback — Address any PR feedback we've received on this PR 58 ★

README

agent-telegram-remote

**Run and supervise AI coding agents (Claude Code, Codex CLI, Aider, or any CLI agent) on your own VPS from Telegram, with policy-gated approvals, diff images and session history.**

[![CI](https://github.com/mohammadhadijavidi/agent-telegram-remote/actions/workflows/ci.yml/badge.svg)](https://github.com/mohammadhadijavidi/agent-telegram-remote/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.10+](https://img.shields.io/badge/python-3.10%20%7C%203.12%20%7C%203.13-blue.svg)](pyproject.toml) [![aiogram 3](https://img.shields.io/badge/aiogram-3.x-2CA5E0.svg)](https://docs.aiogram.dev/)

![agent-telegram-remote: a Telegram chat waiting for approval of an Edit, then the finished session with a diff image](assets/hero.png)

The screenshot is a real recorded session: the offline **mock agent** (a scripted plan, no LLM) ran on the bundled sample project, its commands and edits really executed, and the messages are exactly what the bot sent, drawn in a Telegram-style frame by [`scripts/render_assets.py`](scripts/render_assets.py). Raw recording: [`assets/demo-session.json`](assets/demo-session.json).

Why

Coding agents are good enough to leave running, but not good enough to leave **unsupervised** on a server. You want to start a task from your phone, see what the agent is doing, and stay the person who says yes to `git push`, to an edit of the deploy config, or to anything that touches `/etc`.

There are already several Telegram bridges for Claude Code. Most of them are chat relays: they forward your message to one agent and send its answer back. This project is a **supervisor**:

  • Agent-agnostic. One bot for Claude Code, Codex CLI, Aider and any CLI agent you define with one env var.
  • Every risky action passes one approval broker. A JSON policy auto-allows safe reads and tests, hard-denies sudo, pipe-to-shell, force-push and paths outside the workspace,