Telegram Personal Agent
A general-purpose AI agent that lives in Telegram and belongs to one person. It ships blank - no fixed persona - and is trained into whatever you need through normal Telegram conversation, using its own self-reprogramming tools. It researches the web, saves everything into a persistent space, and creates and runs background tasks. Locked to a single Telegram user for privacy.
The Telegram Personal Agent is a general-purpose architecture for running a private AI agent inside Telegram. It is deliberately NOT built for a single job. It ships as a blank, fully-capable agent and becomes whatever you need it to be - a research assistant, a second brain, an ops helper, a writing partner - shaped entirely from the chat window on your phone.
A blank slate you train by talking to it. The agent starts with no specialised persona. Its seed backstory only says, in effect, "you are a general-purpose personal agent waiting to be trained." Because it carries the bot reprogramming pack (read + write backstory), you customise it the way you'd brief a new assistant: just tell it who to be. "You're my research analyst, always cite sources", "manage my reading list", "reply in the voice of a lawyer" - it reads its current instructions, composes a complete new backstory, and persists it, all inside the conversation. There is nothing to write up front and no dashboard to edit: the customised backstory comes entirely from the training you do over Telegram.
A space it saves everything into. A linked space gives the agent persistent memory. Through the space storage pack it can list, read, write, move, copy, and search files - so notes, drafts, research, profiles, and anything worth keeping survive between conversations instead of vanishing when the session ends. Tell it to "save this into your space" and it will; ask for it later and it reads back what it stored.
Tasks it can create and run. The task management pack lets the agent turn requests into real background tasks - create them, list them, fetch and update them, and run them. Anything that should happen on a schedule, in the background, or as a repeatable job becomes a task the agent owns and executes, then reports back on. Paired with the space, it can file the results of a task straight into your workspace.
Locked to one person. The Telegram integration's allowFrom is set
so only a single Telegram user - you - can reach the agent. Everyone else
is ignored. This matters: because the agent can reprogram itself, hold
your private memory, and run tasks on your behalf, it must never be an
open bot. Set allowFrom to your own Telegram user ID and the door is
closed to everyone else. It ships fail-closed - until you fill in your ID
and a bot token, nobody can talk to it at all.
A general architecture, not a finished product. Every piece is a swap point. Point the web abilities elsewhere, add a dataset for grounded answers, wire in more packs, or bring the same backstory to email, WhatsApp, or Slack. Start blank, train it into exactly the agent you want, and keep retraining it as your needs change.
Backstory
Common information about the bot's experience, skills and personality. For more information, see the Backstory documentation.
Skillset
This example uses a dedicated Skillset. Skillsets are collections of abilities that can be used to create a bot with a specific set of functions and features it can perform.
Search Web
Search the web for specific keywordsFetch Web Page
Fetch the content of a web page using a URL and convert it to textInstall Space Storage Tools
Installs space storage tools into the conversation. You can list, read, write, delete, move, copy, search, import, and link files in the linked space.Install Bot Reprogramming Tools
Installs bot backstory read and write tools into the conversation. You can read the current backstory of the connected bot and overwrite it with new content - this is how the owner trains the agent over Telegram.Install Task Management Tools
Installs all task management tools scoped to the connected bot. You can list, create, fetch, update, delete, and run tasks.Start Telegram Conversation
Initiates a new conversation by sending a message to the owner's Telegram chat. Use for proactive updates and task reports.
Terraform Code
This blueprint can be deployed using Terraform, enabling infrastructure-as-code management of your ChatBotKit resources. Use the code below to recreate this example in your own environment.
A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.