Open Source · MIT License

Your AI assistant,
right in Telegram

Chat with GPT-5, Claude Sonnet 4, o3, and more β€” directly from Telegram. Extend with plugins for Gmail, Google Calendar, or build your own.

npm install -g @hmawla/co-assistant Click to copy

Everything you need

A complete AI assistant framework β€” batteries included, infinitely extensible.

🧠

Multi-Model AI

Switch between GPT-5, Claude Sonnet 4, o3, and 10+ models on the fly. Premium, standard, and free tiers.

πŸ”Œ

Plugin System

Isolated, sandboxed plugins with auto-disable on failure. Built-in Gmail and Google Calendar. Create your own in minutes.

πŸ’¬

Telegram Native

Full Telegram bot with Markdown formatting, message threading, and command handling. Feels like chatting with a friend.

πŸ’“

Heartbeat Events

Scheduled AI prompts that proactively check your inbox, calendar, or any custom task β€” and message you in Telegram.

⚑

Session Pool

Multiple parallel AI sessions so messages never queue. Concurrent conversations handled seamlessly.

πŸ› οΈ

CLI First

Interactive setup wizard, plugin management, model switching, and heartbeat control β€” all from the command line.

πŸ“¦

Self-Updating

Automatic update checks via heartbeat. One-tap "Update Now" button in Telegram installs and restarts β€” zero downtime.

Pick your engine

13 models across 4 tiers. Switch anytime with a single command.

Premium
  • gpt-5 3Γ— rate
  • o3 3Γ— rate
  • claude-opus-4 3Γ— rate
Standard
  • gpt-4.1 1Γ— rate
  • gpt-4o 1Γ— rate
  • o4-mini 1Γ— rate
  • claude-sonnet-4 1Γ— rate
Low
  • gpt-4o-mini 0.33Γ— rate
  • gpt-4.1-mini 0.33Γ— rate
  • gpt-5-mini 0.33Γ— rate
  • o3-mini 0.33Γ— rate
  • claude-haiku-4.5 0.33Γ— rate
Free
  • gpt-4.1-nano 0Γ— rate

Connect your world

First-party plugins included. Build custom integrations with a simple interface.

πŸ“§

Gmail

Search, read, and send emails. Thread-aware inbox analysis with reply detection.

search_threads search_emails read_email send_email get_thread
πŸ“…

Google Calendar

List, create, update, and delete calendar events. Full OAuth integration.

list_events create_event update_event delete_event

Build Your Own Plugin

Export a createPlugin() function with tools, and drop it in the plugins/ directory. That's it.

Read the Plugin Guide β†’

Up and running in minutes

Three steps. No boilerplate, no config files to write by hand.

01

Install

Install globally from npm. Works on Linux, macOS, and Windows.

npm install -g @hmawla/co-assistant
02

Setup

The interactive wizard walks you through every credential and preference.

mkdir my-bot && cd my-bot
co-assistant setup
03

Start

Launch the bot. Open Telegram, send a message. That's it.

co-assistant start
co-assistant
$ co-assistant start
β–Έ Loading configuration…
β–Έ Discovering plugins…
β–Έ Starting Copilot SDK client…
β–Έ Creating AI session pool (model: gpt-5-mini, sessions: 3)…
β–Έ Connecting to Telegram…

╔══════════════════════════════════════════════╗
β•‘ πŸ€– Co-Assistant is running! β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Bot: @YourBot
Model: gpt-5-mini
Sessions: 3 (parallel processing)
Plugins: gmail, google-calendar (2 active)
Heartbeat: every 3 min (1 events)

Open Telegram and send a message to your bot to get started.