Enable the Telegram bot to ask Javis from your phone without opening the dashboard. You message the bot like a person, and Javis answers using the same brain and memory running on your machine or VPS.

What this feature is

  • You create your own Telegram bot (free), paste its token into Javis, and limit it to your account.
  • Once enabled, every ordinary message you send the bot gets a Javis answer. While it works, the bot shows Telegram’s “typing” indicator. To also see a status message and a tool trail, tick Show the tools used under each answer at the bottom of the Admin channels page (off by default).
  • There are quick commands (starting with /) to check status, change model, stop a running answer, start a new conversation and save notes into the brain.
  • Over Telegram, Javis still has the full MCP and skill set: asking for sales numbers, ads data, reading and writing vault files all work. This is true for EVERY engine (Claude Code, ChatGPT/Codex, OpenRouter, Claude API, OpenAI API), because Javis’s tools go through the MCP Hub rather than being tied to one engine.
  • Files go both ways: you send images and documents for Javis to read, and files Javis creates during a turn are sent back to you.
  • Voice commands: hold the microphone, say a sentence, and Javis transcribes it and acts as if you typed. This needs a Groq API key pasted on the Models page once.
  • Answers run in the background: while one is running you can still send /stop to cut it short.

For engines and models see Models & engines; for MCP tools see Connections & business data.

Where to find it in Javis

  1. Open the Javis dashboard (http://localhost:7777 by default).
  2. In the left navigation rail, open the Connections group and click Admin channels.
  3. Pick the Telegram tab. It has the Enabled switch, the Bot token field, the Allowed chat IDs field, the Your Telegram (receives reports) field, and 2 buttons: Save and turn on (Save changes once the channel is on) / Send a test.

Preparation: getting a Bot token and a Chat ID

These 2 pieces of information are required. Do this in the Telegram app (phone or desktop).

Getting the Bot token (from BotFather)

  1. In Telegram, find the account @BotFather (with a blue tick) and open the chat.
  2. Type /newbot and follow the prompts: give the bot a display name, then a username ending in bot (for example my_javis_bot).
  3. BotFather returns a token like 123456789:ABCdef.... That is the Bot token. Keep it secret; anyone with it controls the bot.

Getting your Chat ID (and other users’)

The Chat ID identifies a Telegram account. Javis uses it as an allow list: only IDs on the list can message the bot.

  1. In Telegram, find the bot @userinfobot, open the chat and press Start.
  2. It replies with Id: 123456789. That number is your Chat ID.
  3. Note it down for the next step.

To let other people (a partner, staff…) share the bot: have each of them do those 2 steps to get their Chat ID, and remember each person must open your bot and press Start once (Telegram only lets a bot message people who started it).

How to use it (step by step)

Step 1: Configure and enable the bot

  1. Open Admin channels (the Connections group) on the dashboard and pick the Telegram tab.
  2. In step 1. Connect the bot, paste the token into Bot token. (A saved token shows “✓ saved” next to the label; leave the field empty to keep it.)
  3. In step 2. Who can use it, paste the Chat ID into Allowed chat IDs. For several people, separate IDs with commas, for example 123456789, 987654321.
  4. With several IDs, also fill in Your Telegram (receives reports) with your own Chat ID, so background reports and system notices reach only you. With a single ID, leave it empty and Javis uses that ID.
  5. Click Save and turn on at the bottom of the tab.

Javis saves the configuration and starts the bot right away (no separate restart button). The label next to the channel name turns “Starting”, then “Running” a few seconds later. To pause the bot later, flip the switch at the top of the tab: it takes effect immediately, no Save needed, and the token is kept.

Step 2: Check that the bot is receiving

The coloured label next to the channel name, and the box right under it, are the bot’s real state (the dot on each tab says the same, so you can scan all six channels at a glance). What they mean:

Status line Meaning
🟢 Running: “Receiving messages (bot name) - N chat IDs allowed” The bot is healthy; message it and Javis answers. With no Chat ID set, the line warns “ANYONE can message it (no ID limit yet)”
⚪ Not set up No token yet. Do step 1, then click Save and turn on
⚪ Off A token is saved but the switch is off. Flip the switch to turn it on
⏳ Starting: “Starting the bot…” The bot was just enabled, wait a few seconds
🔴 Error: “409: …” The same token is being polled elsewhere, or a webhook is still set. See Common problems below
🔴 Error: “Bot error: …” Another error, with details on the line
⚪ Stopped: “The bot is off.” The bot has stopped (not re-enabled)

An important note: a successful test does NOT mean the bot is receiving. The test only proves the token and Chat ID are right. To know it is receiving, the label must read 🟢 Running with the line “Receiving messages”.

Step 3: Send a test message (optional)

  1. Wait for the channel label to turn Running: until then Send a test is locked (“Turn the channel on and wait for Running before sending a test”). Then click Send a test.
  2. With a valid token and Chat ID, Javis sends a message to your Telegram chat: “✅ Javis Telegram connected. Send any question.” The status line reads “✅ Test message sent.” (with several IDs it reads “✅ Test message sent to 2/3 IDs.” plus the failing ID’s error).
  3. If the token and Chat ID are not saved yet, the test button reports the missing configuration. Click Save and turn on first, then try again.

Step 4: Ask Javis over Telegram

  1. Open the chat with your bot in Telegram.
  2. Type any question as you would in a normal chat, for example “What tasks do I have today?” or “Summarise my vault for me”.
  3. The bot shows “typing” (plus a status message if you turned on the tool line), then sends the answer. Long answers are split across several messages.
  4. You can send another message while it is answering. The bot replies “↪ Got it, Javis reads this at the next step of the current work.” (folded into the running work) or “📥 Got it, Javis handles this right after the current answer.” (queued). To drop the running answer entirely, send /stop.

The status message updates itself and stays as a trail

This is off by default: the bot only shows “typing” and then sends the answer. Tick Show the tools used under each answer at the bottom of the Admin channels page to get the status message and trail described below.

Once it is on, as soon as it receives a question, the bot sends you a real message: 🤔 Javis is working…. That message is NOT resent; it is edited in place as progress happens, always starting with ⏳:

Text you see What Javis is doing
🤔 Javis is working… Just received the question, starting the turn
⏳ ⚙ <tool name>… The engine is calling a tool (Read, Write, an MCP tool…). The name is shortened for easy reading
⏳ ✓ Results in, analysing… The tool returned data and the engine is reading it
⏳ ✍ Writing the answer… Text generation has begun

A few points to know:

  • The status message updates at most once every 2.5 seconds, so do not expect it to flicker. That limit keeps Telegram from throttling the bot for sending too often.
  • The message is sent silently and does not buzz your phone. It is only for looking at while you wait. A whole turn has exactly one notification: when the real answer arrives, and the notification shows the answer itself.
  • When done, the bot no longer deletes the status message. Its final edit becomes a tidy trail line, with the answer as a new message below it. That has been the behaviour since 0.26.4; before that it was deleted, which made many people think the bot had failed.
  • The trail line records which tools that turn called and how long it took, for example ⚙ pos_statistics · Read · 8s. A turn needing no tools reads ✓ Answered directly · 3s. That is how you tell a figure genuinely pulled from the POS from a plain answer, and it stays in the history for later checking.
  • Typing /stop mid-run: the status message becomes ⏹ Stopped. and no answer follows for that turn.
  • The “⚙ ” line is your evidence that Javis is touching real MCPs (POS, ads, calendar, files…) rather than answering from thin air.
  • These status messages exist only on your own Javis bot. A dedicated chatbot talking to customers hides all of it and leaves only a “typing…” indicator, to feel like a person.

Sending files to the bot, receiving files from it

The bot handles files both ways. This is the fastest route to get a photo or a document into the brain while out and about.

You send an image or file to the bot

  1. Send the image or document straight into the chat, with a caption if you want to be specific.
  2. The gateway downloads it into inbox/telegram/ of the brain selected for your Telegram session (changed with /brain), then puts that path into the message for the engine to read.
  3. Javis reads the file in place and answers as usual. Duplicate names are not overwritten: Javis appends _1, _2.

Limits to remember:

  • The download ceiling is 20MB (a Telegram bot API limit, not a Javis one). For larger files the bot says it could not download it and suggests another way to send it.
  • Voice messages ARE understood, see the section below.
  • Video and video notes (up to 20MB) are also downloaded into inbox/telegram/ and the path is handed to the engine. Whether Javis can see what is in the footage depends on the engine and tools you use.
  • Several photos sent together (an album) are gathered and answered once. Locations, contacts, stickers and polls also reach the bot.
  • A caption can also be a command. Snapping a photo of an invoice with the caption /notes steel tube invoice today runs the /notes command with that exact photo, rather than treating the whole thing as plain text.
  • inbox/ is a cache area, not a knowledge store: files older than 30 days, or once the cache passes 300MB, are cleaned automatically. To keep something long term, ask Javis to distil it into a .md note or move it into another folder in the brain. See File manager.

Voice commands (voice messages)

Hold the microphone button in Telegram, speak, and release. Javis transcribes it and acts exactly as if you had typed it, which is ideal while driving or with your hands full.

You need one thing: a Groq API key. Groq is where Javis borrows speech-to-text (the Whisper model). Without it, sending a voice message makes Javis reply that a key is needed, with instructions, rather than staying silent.

To wire it, once:

  1. Go to console.groq.com, sign in and create an API key.
  2. Open the Javis dashboard, go to the Models page, find the Groq (API) provider, paste the key and save.
  3. Done. The next voice message is understood immediately, with no bot restart.

A few things to know:

  • This key is shared with chat. If Groq is already wired as a brain, voice messages work with nothing extra. Conversely, wiring the key only for speech is fine too; you do not have to make Groq your main model.
  • Javis understands Vietnamese (the language hint given to Whisper stops short sentences being guessed as another language and translated).
  • Actions with outside effects are confirmed first. Sending messages, publishing, booking, spending money, editing files: Javis opens with a line reading “I heard: …” and waits for you to confirm. Machines can mishear, and those actions cannot be taken back. Asking for numbers, lookups and summaries happens straight away without confirmation.
  • Recordings are not stored in the brain. Javis transcribes and keeps no .ogg file in inbox/.
  • A voice message with the caption /notes still runs that command, with your spoken sentence as the content.
  • If nothing could be transcribed (silence, too noisy) or Groq errors, the bot states the reason and asks you to type. There is no silent path.

The Zalo channel understands voice messages too, using the same Groq key, so wiring it once serves both. See Zalo Bot channel.

The bot sends files back to you

Files Javis creates during a turn are attached right after the answer without you asking. Three sources qualify:

  • Files Javis wrote with the Write tool during that turn.
  • Files whose absolute path is mentioned in the final answer.
  • Vault images and files embedded as relative markdown, for example ![](attachments/photo.png), which is exactly how a freshly generated image comes back.

Limits and behaviour:

  • At most 10 files per turn, each under 50MB (Telegram’s document ceiling).
  • Only files created or edited during that turn are sent. Mentioning an old file’s name does not make the bot resend it, which avoids spam.
  • Images (.jpg .jpeg .png .webp .gif) under 10MB are sent as photos (previewable in chat); everything else goes as a document. An image Telegram rejects falls back to being sent as a document.
  • If an image was sent separately, the matching ![...](...) markdown line is stripped from the answer so you do not see a bare text fragment next to the real photo.
  • On a failure the bot says so plainly: “⚠ Could not send file <name>: <reason>”.
  • Text goes first and files after, for a natural reading order.

When Javis asks back with a numbered list

On the dashboard, when Javis must ask about an important parameter (which period, which shop…), it draws buttons. Telegram is a plain-text channel with no such buttons, so Javis degrades the option block into a question plus a numbered list (at most 4 options):

Which period do you want revenue for?
1. This week
2. This month
3. Compare with last month

Answer by sending just the number, for example 2, or by typing what you want in words. Javis reads the number in the context of the question it just asked, so no special syntax is needed.

Quick commands in Telegram

Typing / in the chat (or pressing the bot’s Menu button) shows the command list. Available commands:

Command Effect
/help See the guide and command list
/status See the provider, model and brain in use, and whether the bot is busy answering
/skills List the skills in the vault (type /skill-name to call one)
/notes Save the message (with images) into the brain’s Sources. Type /notes <content>, or send an image with the caption /notes ...
/agents List agents and say whether any run is in progress
/workflows List workflows
/model View or change the model. Type /model with nothing to open a button picker; or type a name directly (for example /model sonnet)
/brain View or change the brain (vault) for YOUR session only. Type /brain for a button picker; or type a name directly (for example /brain Kim Khi). After switching, the conversation resets to load the new brain’s memory; other people and the dashboard are unaffected. Files you upload land in the selected brain’s inbox
/retry Resend the most recent question
/usage Tokens and cost Javis has measured today and all time, plus the OpenRouter balance when a key is set
/tasks Background tasks that are running, waiting for review, blocked or queued in the brain selected for this session. Warns you when “Auto-run” is off
/memory Index of the long-term memory of the brain selected for this session
/plan <task> One read-only turn that proposes a plan and does nothing outside. On Telegram this is an instruction to the model, without the hub-level gate the web has
/agent Pick the partner agent that answers this chat. /agent off returns to Javis. To ask a partner just once, type @<name> <question>
/stop Stop the running answer immediately
/reset Start a new conversation (forgetting the old context)
/cli Switch to the Claude engine (Claude Code)
/or Switch to the OpenRouter engine (chat + multi-model MCP)

/notes has no special branch inside the bot: it runs through the normal skill path, so it also needs an engine other than OpenRouter (see below). Details of that skill are in Skills.

Details on typing /model:

  • The button picker from /model: pick a CONNECTED provider (the one in use has a ✓ and a model count), then a 2-column model grid, 8 models per page, with ◀ ▶ to page. The model list comes DIRECTLY from the provider (OpenRouter shows all several hundred, Antigravity shows exactly the Antigravity IDE lineup) rather than a hardcoded list.
  • Typing a name works too: a name with a / (for example openai/gpt-4o) is an OpenRouter model; gpt-... or ...-codex is a ChatGPT model (requiring OAuth); anything else (opus, sonnet, fable) is a Claude model.
  • Since 0.33.7 the picker reads the provider list of the dashboard Models page directly (15 providers in 0.686.13), Antigravity CLI included; before that it was a hand-written 5-row list, so later providers could not be switched to from a phone. Providers listing no models (commonly: the CLI is installed but not signed in) are hidden for tidiness, except the one in use.
  • Typing /model <model name> makes Javis look that name up in the real lists of connected providers and switch to the right one. If the name exists at several providers and none is currently in use, it asks rather than guessing, because guessing wrong silently changes which account pays (a subscription versus per-call API billing).
  • Since 0.350.0, changing the model in Telegram pins THAT chat only. It no longer changes the main model on the web, and other Telegram chats keep following the main model. A chat without a pin follows every model change you make on the web. /model theo removes the pin, /model ghim pins the model the chat runs now; /status says whether the chat is pinned or follows the main model.

MCP and skills over Telegram

  • Every engine can use Javis’s MCP over Telegram, because tools go through the MCP Hub rather than being bound to one engine. The bot’s own /help text says so: ChatGPT/Codex and OpenRouter can both use Javis’s MCP. Turn on the tool line on the Admin channels page and you see it really happening through the “⚙ ” line.
  • Call a skill with /skill-name. This path does block one case: on the OpenRouter engine, typing /skill-name makes the bot say “⚠ Skills need the Claude CLI engine. Send /cli to switch, then /skill-name again.”
  • Switch engine inside Telegram: /cli returns to Claude (the bot replies “✅ Provider: Anthropic (Claude Code), full MCP, POS/Ads/vault questions work.”), /or moves to OpenRouter (the bot replies “✅ Provider: OpenRouter (<model>), chat + multi-model MCP.”). Like /model, these two commands only pin the Telegram chat you type them in; they do not change the main model on the dashboard.
  • To use /or you need an OpenRouter key set on the Models & engines page; without one the bot says “⚠ No OpenRouter key, set it in Models on the dashboard first.”

Access control: only you can use the bot

  • The Allowed chat IDs field is the allow list. Only Telegram accounts whose ID is listed can message the bot. A stranger gets: “You are not allowed to use this Javis bot.”
  • If you leave the Chat ID field empty, anyone who finds the bot can use it. Do not leave it empty, because the bot can touch your vault and your numbers. Always set at least 1 Chat ID.
  • To share one bot with more people: add their Chat IDs, comma separated, put your own Chat ID in Your Telegram (receives reports), then click Save changes. The Send a test button messages ALL IDs and reports which failed (usually someone who has not pressed Start).
  • Each person has their own conversation thread: each Chat ID’s context is separate and does not bleed across, and two people can message at once without waiting for each other. /reset and /stop only affect the sender’s own session. Even so, everyone shares one vault and the same permissions (anyone can read and write your data, numbers and brain), so only add IDs you trust. For complete separation of data too, run a separate Javis and bot per person.

Who receives background notifications

When several people share a bot, you need to know whose phone each notification reaches. “The owner’s Telegram” is the ID you put in Your Telegram (receives reports); left empty with a single ID on the allow list, Javis uses that ID. Javis no longer sends to “the first ID” or to every ID.

Notification kind Who receives it
Loop results on Recurring jobs, jobs on Work / Kanban, reminders EXACTLY where the work was set: a Telegram Chat ID on the allow list, or the web chat, Zalo, Slack… that handed over the work. A Chat ID no longer on the allow list is not redirected to someone else
Work whose requester is unknown (for example created on the web without a chat) That brain’s Javis Core on the dashboard, plus the owner’s Telegram. With several IDs and Your Telegram (receives reports) left empty, it is reported on the dashboard only
System notices: a loop pausing itself, the engine not responding, costs… The notification bell on the dashboard and the owner’s Telegram. Not sent to the other shared IDs

In short: work results go to whoever asked for the work, and system warnings go to the owner only.

Telegram conversations share the dashboard history

Every Telegram exchange is saved exactly as if you chatted on the dashboard: into the conversation history, into the brain’s memory log, and into the self-learning loop. In the 🕘 History sidebar, conversations from the bot carry a TG label so you do not confuse them with ones you opened on the web. See Sessions.

Conversations are attached to the brain selected for your Telegram session (changed with /brain), so they only appear while the dashboard is viewing that brain.

Why Telegram conversations get cut into pieces

On the dashboard you click “+ New conversation” yourself, so a conversation never grows forever. On Telegram almost nobody types /reset, so left alone one Chat ID would be stuck in one endless conversation that is heavy to open. Javis moves to a new conversation when:

  • you go more than 12 hours without messaging, or
  • the current one is long enough (about 100 exchanges), or
  • you type /reset, switch brains with /brain, or the server restarts.

The important part: this splitting only affects the archive you reread, and does not touch Javis’s memory during the conversation. You keep messaging normally and Javis keeps the thread; the dashboard simply shows the history in readable pieces rather than one huge block.

Telegram pieces older than 30 days are archived so the list does not flood. Archived, not deleted: the content is still findable through search.

Checking the bot’s state

Two ways:

  1. On the dashboard: open Admin channels (the Connections group) and read the status on the Telegram tab (described in Step 2). This is the fastest and clearest way.
  2. In Telegram: type /status. The bot reports the provider, model, brain in use, your session, and whether it is busy or idle.

The System group at the top of the Settings page also shows Telegram as “On” or “Off” at a glance, with a button jumping to the Admin channels page; the detailed configuration stays there.

Quick reference: buttons and states

Button / field Where Effect
Enabled switch Telegram tab, Admin channels page Turns the bot on or off IMMEDIATELY, no Save needed. The token is kept while off
Bot token Telegram tab The token from BotFather. Once set, leave it empty unless changing it
Allowed chat IDs Telegram tab The allow list. Several IDs separated by commas
Your Telegram (receives reports) Telegram tab The owner’s Chat ID, where background reports and system notices go
Save and turn on / Save changes Telegram tab Save the configuration and restart the bot immediately
Send a test Telegram tab Fire a test message to every ID on the allow list. Only clickable while the channel is Running. It does NOT prove the bot is receiving
Show the tools used under each answer Bottom of the Admin channels page Turns on the status message and tool trail. Off by default

Tips

  • After changing the token or Chat IDs, always click Save changes; Javis restarts the bot with the new configuration and nothing else is needed.
  • Very long answers are split into consecutive messages by Telegram, which read normally.
  • To ask about a completely new topic without old context, type /reset first.
  • If the bot rambles or you asked the wrong thing, type /stop to cut it, then /retry if you want the same question again.
  • Snapping a photo of an invoice, business card or price list with the caption /notes ... is the fastest way to push something into the brain while standing in a shop.
  • Before sending an image or file, check that /brain points at the brain you want: the file lands in that brain’s inbox, not the default one.
  • Telegram cannot render markdown tables, so Javis is instructed to answer this channel in short message style, using bold, italics and code instead of tables.
  • On a VPS, protect the dashboard with a password on the Security & accounts page alongside setting Telegram Chat IDs.

Common problems

The status line reads 🔴 409. The same bot token is being polled elsewhere (another Javis instance, another machine, or a leftover webhook). One token may only run in 1 place. The Javis bot clears webhooks on startup; if 409 persists, stop the other Javis or create a new bot token with BotFather. Afterwards, click Save changes again.

Send a test is greyed out. The channel is not Running yet. Fill in the token and Chat ID, click Save and turn on, wait for the label to turn Running, then test.

The test succeeds but messaging the bot gets no reply. Testing and receiving are different things. Check whether the label reads 🟢 Running with the line “Receiving messages”. If it is ⚪ or 🔴, act on that line (re-enable it, or fix the 409).

Messaging the bot returns “You are not allowed to use this Javis bot.” The Chat ID set in Javis does not match the account messaging it. Get the right Chat ID from @userinfobot, paste it into the Chat ID field and click Save changes.

The “🤔 Javis is working…” message never changes (with the tool line turned on). That turn has not called a tool yet so there is nothing to report, or the engine is waiting. When done it becomes a trail line (⚙ ... or ✓ Answered directly). If it sticks on “🤔” with no answer following, that turn failed; check the status on the Admin channels page.

Typing /skill-name reports that the Claude CLI engine is needed. You are on the OpenRouter engine. Type /cli to return to Claude, then call the skill again.

You sent a file and Javis says it cannot read it. Check 2 things: whether the file is over 20MB (the Telegram bot API download ceiling), and whether the engine in use can read that kind of file. For a video, switch to an engine that reads video or describe it in text.

Sending a voice message reports that a Groq API key is needed. Correct: speech recognition runs on Groq’s Whisper. Go to the Models page, the Groq (API) card, paste a key from console.groq.com and save. No bot restart needed.

Javis mishears you. Record closer to the microphone, speak slowly, and avoid noise. Very short utterances (one or two words) are also easy to mishear; a full sentence is far more accurate. For actions with outside effects Javis reads back what it heard before acting, so you get a chance to catch it.

Javis says it created a file but you did not receive it. Only files created or edited in that same turn, under 50MB, at most 10 per turn, are auto-attached. For an older file, ask Javis to resend it by name.

An old image in the conversation shows a grey “Image expired” box. The media cache (attachments/ and inbox/) cleaned files older than 30 days or over the 300MB ceiling. Content already distilled into .md notes is untouched.

You changed the configuration and the bot behaves as before. Wait a few seconds and reload the Admin channels page so the status updates. If it still is not 🟢, see Troubleshooting & FAQ.

Token saving applies to Telegram too

Since 0.24.0, the level you pick on the Settings page (Optimised / Ultra saving) applies to the Telegram channel as well, not only dashboard chat.

Before that, both levels were wired only into the dashboard, so enabling them still sent the whole of CLAUDE.md + MEMORY.md on every Telegram turn. No error appeared; the token bill simply did not drop on the channel most people use most.

What the two levels do:

  • Optimised: replaces CLAUDE.md + MEMORY.md with the memories and skills selected for the question you just asked.
  • Ultra saving: for questions needing no lookup (ordinary Q&A, short calculations), calls the model exactly once with a small capsule and no tool table loaded.

Questions needing lookups, data sources or attached files take the full path as before; the shortcut only accepts turns it is certain it can answer. A shortcut that misses (a subscription token expiring, say) also falls back to the full path, so you still get an answer.

Schedule commands (“cancel the reminder…”) are always handled by the schedule gateway; the shortcut never steals those turns.