A Telegram client for your terminal and AI agents, using your own account.
npm i -g @leemour/tg-cli{row.label}
+ )} +Connect Claude Code, Codex or another agent to Telegram and MAX. Find what matters, keep track of commitments and reply with the full context.
\nMessaging tools for your AI agent. Free and open source.
\nUse tg cli, gather context for tomorrow’s Atlas call: decisions, risks and questions.
tg chats list --search \"Atlas\"{\n \"items\": [\n {\n \"id\": \"101\",\n \"title\": \"Atlas · team\",\n \"kind\": \"group\"\n },\n {\n \"id\": \"102\",\n \"title\": \"Atlas · design\",\n \"kind\": \"group\"\n }\n ],\n \"hasMore\": false\n}tg review --chat \"Atlas · team\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas · team\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Anna\",\n \"text\": \"We’re launching on Friday.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Marco\",\n \"text\": \"Anna needs the final copy by Thursday.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48212\",\n \"senderName\": \"Tom\",\n \"text\": \"Tom needs staging access.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}Tom: needs staging access to test payments.
For the callAgree who will provide access and when testing will be finished. I also found the design group — I can check it and your direct messages with the people involved.
Check the design group and my DMs with Tom too. He may have sent the results there.
tg review --chat \"Atlas · design\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas · design\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Anna\",\n \"text\": \"The design is ready. We’re still waiting for the final copy.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}tg chats list --search \"Tom\"{\n \"items\": [\n {\n \"id\": \"503\",\n \"title\": \"Tom\",\n \"kind\": \"private\"\n }\n ],\n \"hasMore\": false\n}tg messages list 503 --limit 30{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Test payments work. I still need access to production.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}tg messages search \"Atlas\" --chat 503 --language legacy{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Test payments work. I still need access to production.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Payment testing is partly done — only the production check is blocked. Focus the call on that, rather than starting from scratch.
Make a 20-minute agenda covering risks, owners and deadlines. Don't send anything.
tg messages context 503 48210 --before-n 2 --after-n 2{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Test payments work. I still need access to production.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Tom\",\n \"text\": \"I need access to production.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Draft ready, based on the project group, design group and your DMs with Tom. Nothing has been sent.
Keep track of agreements, help customers and keep your groups useful. Ask your agent to work through Telegram and MAX.
\nConnect your own account, just like adding another device. Access your chats, history, groups, channels and contacts.
All Bot API methods. Every method of the official Telegram and MAX Bot APIs is exposed through the CLI, alongside simple commands for messages, files and chat administration.
Keep your community useful: unanswered questions, clear decisions and conversations that follow your rules.
Find messages across both. Bring agreements and files together from your saved history.
\n \nBuilt for agents and scripts: fast, predictable and easy to audit.
\ntg messages search \"contract\" --offlinenpm i -g @leemour/tg-clitg messages search \"contract\"tg store backup · tg store restorepermissions.messages.send · --confirm-sendtg server installtg work inboxtg sends list · tg runs list · --recordtg session startA few moments with your agent. The rest of the day is yours.
Get one short summary of the chats that need your attention.
Bring together the relevant messages before the conversation starts.
Reply to a request or follow up with someone you are waiting for.
See what was resolved and what needs attention tomorrow.
Choose Telegram or MAX. The guide takes you from installation to your first answer.
\n \nConecta Claude Code, Codex u otro agente a Telegram y MAX. Encuentra lo importante, recuerda lo acordado y responde con todo el contexto.
\nHerramientas de mensajería para tu agente de IA. Gratis y de código abierto.
\nUsa tg cli, reúne el contexto para la llamada de Atlas de mañana: decisiones, riesgos y preguntas.
tg chats list --search \"Atlas\"{\n \"items\": [\n {\n \"id\": \"101\",\n \"title\": \"Atlas · equipo\",\n \"kind\": \"group\"\n },\n {\n \"id\": \"102\",\n \"title\": \"Atlas · diseño\",\n \"kind\": \"group\"\n }\n ],\n \"hasMore\": false\n}tg review --chat \"Atlas · equipo\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas · equipo\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Anna\",\n \"text\": \"Lanzamos el viernes.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Marco\",\n \"text\": \"Anna necesita los textos finales para el jueves.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48212\",\n \"senderName\": \"Tom\",\n \"text\": \"Tom necesita acceso al entorno de pruebas.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}Tom: necesita acceso al entorno de pruebas para comprobar los pagos.
Para la llamadaAcordar quién dará acceso y cuándo terminarán las pruebas. También he encontrado el grupo de diseño: puedo revisarlo junto con tus conversaciones privadas con los participantes.
Revisa también el grupo de diseño y mi conversación privada con Tom. Puede que haya enviado los resultados por ahí.
tg review --chat \"Atlas · diseño\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas · diseño\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Anna\",\n \"text\": \"La maqueta está lista. Aún faltan los textos finales.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}tg chats list --search \"Tom\"{\n \"items\": [\n {\n \"id\": \"503\",\n \"title\": \"Tom\",\n \"kind\": \"private\"\n }\n ],\n \"hasMore\": false\n}tg messages list 503 --limit 30{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Los pagos de prueba funcionan. Todavía necesito acceso a producción.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}tg messages search \"Atlas\" --chat 503 --language legacy{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Los pagos de prueba funcionan. Todavía necesito acceso a producción.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Las pruebas de pago están parcialmente hechas: solo queda la comprobación en producción. Conviene centrar la llamada en eso, sin empezar de cero.
Prepara una agenda de 20 minutos con riesgos, responsables y plazos. No envíes nada.
tg messages context 503 48210 --before-n 2 --after-n 2{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Tom\",\n \"text\": \"Los pagos de prueba funcionan. Todavía necesito acceso a producción.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Tom\",\n \"text\": \"Necesito acceso a producción.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Borrador listo a partir del grupo del proyecto, el de diseño y tu conversación privada con Tom. No se ha enviado nada.
Ten presentes los acuerdos, ayuda a clientes y cuida tus grupos. Pide a tu agente que trabaje con Telegram y MAX.
\nConecta tu cuenta como si añadieras otro dispositivo. Accede a tus chats, historial, grupos, canales y contactos.
Todos los métodos de la Bot API. Todos los métodos de las Bot API oficiales de Telegram y MAX están disponibles desde la CLI, junto con comandos sencillos para mensajes, archivos y administración de chats.
Ayuda a que los miembros reciban respuestas, conserva las decisiones y cuida los debates.
Busca mensajes en ambos. Reúne acuerdos y archivos de tu historial guardado.
\nUn cliente de Telegram para la terminal y los agentes de IA, con tu propia cuenta.
npm i -g @leemour/tg-cliConecta tu cuenta de MAX o usa tus bots a través de la Bot API oficial.
npm i -g @leemour/max-cliDiseñado para agentes y scripts: rápido, predecible y con un registro de acciones.
\ntg messages search \"contrato\" --offlinenpm i -g @leemour/tg-clitg messages search \"contrato\"tg store backup · tg store restorepermissions.messages.send · --confirm-sendtg server installtg work inboxtg sends list · tg runs list · --recordtg session startUnos minutos con tu agente. El resto del día es tuyo.
Recibe un resumen breve de los chats que necesitan tu atención.
Reúne los mensajes relevantes antes de empezar la conversación.
Responde a una petición o retoma una conversación pendiente.
Consulta qué se ha resuelto y qué necesita atención mañana.
Elige Telegram o MAX. La guía te acompaña desde la instalación hasta tu primera respuesta.
\n \nПодключите Claude Code, Codex или другого агента к Telegram и MAX. Находите важное, вспоминайте договорённости и отвечайте с учётом всей переписки.
\nИИ-переписка через CLI для агентов. Бесплатно, с открытым кодом.
\nИспользуй tg cli, собери контекст к завтрашнему созвону по Atlas: решения, риски и вопросы.
tg chats list --search \"Atlas\"{\n \"items\": [\n {\n \"id\": \"101\",\n \"title\": \"Atlas · команда\",\n \"kind\": \"group\"\n },\n {\n \"id\": \"102\",\n \"title\": \"Atlas · дизайн\",\n \"kind\": \"group\"\n }\n ],\n \"hasMore\": false\n}tg review --chat \"Atlas · команда\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Анна\",\n \"text\": \"Запускаем в пятницу.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Марко\",\n \"text\": \"Анна ждёт финальные тексты до четверга.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48212\",\n \"senderName\": \"Том\",\n \"text\": \"Тому нужен доступ к стенду.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}Том: ждёт доступ к стенду для проверки оплаты.
К созвонуНазначить ответственного за доступ и срок проверки. Нашёл также группу дизайна — могу проверить её и личные договорённости участников.
Посмотри ещё дизайн и мою личку с Томом. Он мог прислать результат туда.
tg review --chat \"Atlas · дизайн\" --since-time 7d{\n \"chats\": [\n {\n \"title\": \"Atlas\",\n \"messages\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Анна\",\n \"text\": \"Макет готов. Финальные тексты ещё ждём.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"more\": false\n }\n ],\n \"skipped\": [],\n \"partial\": false\n}tg chats list --search \"Том\"{\n \"items\": [\n {\n \"id\": \"503\",\n \"title\": \"Том\",\n \"kind\": \"private\"\n }\n ],\n \"hasMore\": false\n}tg messages list 503 --limit 30{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Том\",\n \"text\": \"Проверил тестовую оплату. Для боевого стенда всё ещё нужен доступ.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}tg messages search \"Atlas\" --chat 503 --language legacy{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Том\",\n \"text\": \"Проверил тестовую оплату. Для боевого стенда всё ещё нужен доступ.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Не вся проверка оплаты заблокирована — осталась проверка в боевой среде. На созвоне стоит обсуждать её, а не начинать с нуля.
Сделай повестку на 20 минут: риски, ответственные и сроки. Ничего не отправляй.
tg messages context 503 48210 --before-n 2 --after-n 2{\n \"items\": [\n {\n \"id\": \"48210\",\n \"senderName\": \"Том\",\n \"text\": \"Проверил тестовую оплату. Для боевого стенда всё ещё нужен доступ.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n },\n {\n \"id\": \"48211\",\n \"senderName\": \"Том\",\n \"text\": \"Нужен доступ к боевому стенду.\",\n \"timestamp\": \"2026-10-02T09:00:00Z\"\n }\n ],\n \"hasMore\": false\n}Черновик готов. Учтены проектная группа, дизайн и личная переписка с Томом. Ничего не отправлено.
Следите за договорённостями, помогайте клиентам и поддерживайте порядок в группах. Поручите агенту работу с Telegram и MAX.
\nВаш аккаунт как ещё одно ваше устройство: все чаты с историей, группы, каналы и контакты.
Все методы Bot API. Все методы официальных Bot API Telegram и MAX доступны через CLI — вместе с удобными командами для сообщений, файлов и управления чатами.
Помогайте участникам получать ответы, сохраняйте решения и поддерживайте порядок в обсуждениях.
Ищите сообщения сразу в обоих. Собирайте договорённости и файлы из сохранённой истории.
\nКлиент Telegram для терминала и ИИ-агентов, на вашем собственном аккаунте.
npm i -g @leemour/tg-cliВаши боты MAX через официальный Bot API и ваш личный аккаунт.
npm i -g @leemour/max-cliСделано в первую очередь для агентов и скриптов: быстро, предсказуемо и с журналом.
\ntg messages search \"договор\" --offlinenpm i -g @leemour/tg-clitg messages search \"договор\"tg store backup · tg store restorepermissions.messages.send · --confirm-sendtg server installtg work inboxtg sends list · tg runs list · --recordtg session startНесколько обращений к агенту. Остальное время — ваше.
Получите короткую сводку чатов, которым нужно ваше внимание.
Соберите нужные сообщения перед началом разговора.
Ответьте на запрос или напомните о том, чего ждёте.
Посмотрите, что решено и к чему вернуться завтра.
Выберите мессенджер. Гайд проведёт вас от установки до первого ответа.
\n \n