Control your AI agents
from anywhere, via Telegram
ClicLaw is a bridge that connects your CLI agents to Telegram. You don't need to install a heavy terminal app to give your PC or VPS superpowers โ just carry them in your pocket.
npm install -g cliclawcopyWhy ClicLaw?
Real CLI power in your pocket
Real CLI, not API
Drives actual binaries on your server โ no HTTP APIs, no token billing, just your subscription.
Mobile-first control
Control your VPS from anywhere via Telegram. Works on phone, tablet, or desktop.
Per-session Forum Topics
Each thread = one AI session with full conversation memory. Organized, parallel, persistent.
Permission modes
Choose auto (fast), session (confirm once), or ask (confirm every action). Full control.
Persistent sessions
Session IDs saved to disk. Context survives bot restarts and VPS reboots.
Multi-agent support
๐ฃ Claude Code + ๐ข Codex today. More agents coming โ OpenCode, Gemini CLI, and beyond.
Get started in minutes
Self-hosted on your VPS or local machine
# Install ClicLaw globallynpm install -g cliclaw
๐ฑ Telegram Group Setup
- Create a Telegram group (or use an existing one)
- Enable Topics: Edit group โ Topics โ Enable
- Add your bot as admin with Manage Topics permission
- Send /id in the group โ copy the Chat ID
- Paste it as FORUM_GROUP_ID in your .env
See it in action
A real conversation with Claude Code on a VPS
// interactive simulation โ you can type too
Bot commands
Available in any Forum Topic