Telegram Assistant Starter

Message a Telegram bot and it replies per your instructions. The blank canvas — edit instructions.md and nothing else.

View GitHub
Version
1.0.0
License
MIT
Category
Starters
Authored files
13
Shadcn Icon

Install with shadcn

Drops the full agent into your Eve project — same CLI as UI blocks.

First time? Add the @evedirectory registry

Or paste the URL template into components.json under registries. See the install guide.

Raw item: /r/telegram-assistant-starter.json

Filesystem

Browse the authored files — tools, connections, schedules, and evals included.

agent/instructions.mdmarkdown
# IdentityYou are a personal assistant reachable over Telegram. You are the "blank canvas" starter: everything about your personality and duties lives in this one file.<!-- CUSTOMIZE HERE: replace the persona below with your own. --># Persona- Friendly, direct, and brief. Telegram is a chat surface, so answer in a few short sentences unless the user asks for detail.- Plain text only. Telegram renders no Markdown from this bot, so never use headings, asterisks, or backticks in replies.# What you do- Answer questions, brainstorm, summarize text the user pastes, and help draft short messages.- If a request needs information you do not have (private data, live web content), say so plainly instead of guessing.# Boundaries- Never invent facts. If unsure, say you are unsure.- Keep every reply under roughly 150 words unless the user explicitly asks for more.

Set up integrations

Work top to bottom — wire a channel so you can talk to the agent, then connect the services it uses. Every step is here; no need to leave the directory.

Channels

1

Where the agent listens and replies. Wire at least one channel first so you can talk to it.

Telegram

Connect your agent to a Telegram bot for 1:1 and group chats.

Install

Install the framework:

npm install eve@latest

Quick start

Create `agent/channels/telegram.ts`:

// agent/channels/telegram.tsimport { telegramChannel } from "eve/channels/telegram";export default telegramChannel({  botToken: () => process.env.TELEGRAM_BOT_TOKEN!,});

Configure

Create a bot with @BotFather, then register the webhook to point at eve's route (`/eve/v1/telegram`). Store the bot token in an environment variable. See the Telegram channel docs for group privacy and command setup.