Skip to content
Ragon
Star
Apps
On this page

Phone messengers

You can ask Ragon questions from your phone, through Signal, Matrix, Telegram or Discord. A question you send becomes an Ask chat on the node, the same kind ragon web opens, and the answer comes back in the same chat.

Every messenger is off by default. Installing or updating Ragon turns none of them on. Until you run a messenger's setup command on the node, nothing for it runs, listens on a port, or connects anywhere. When one is on, ragon-admin audit egress lists it in every report as a declared exception.

Messenger Privacy Turn it on Turn it off
Signal End-to-end encrypted. Uses your own account, in Note to Self. ragon signal setup ragon signal remove
Matrix Your own homeserver on the node, reached over your tailnet. ragon-admin matrix start, then ragon chat start ragon chat stop, ragon-admin matrix stop
Telegram Less private: messages pass through Telegram's servers unencrypted. ragon chat telegram setup, then ragon chat start ragon chat telegram off
Discord The least private: Discord keeps every message, unencrypted, with your account. ragon chat discord setup, then ragon chat start ragon chat discord off

All of them need ragon web running on the node (ragon web start). The air gap applies to the three that leave the machine. At /airgapped on, Signal sends nothing, not even a read receipt, and Telegram and Discord pause. When the air gap is off again, Signal tells you what you missed. Matrix keeps working, because its homeserver is on the node and has no route out.

Matrix, Telegram and Discord are previews. They are tested against stand-ins of a homeserver, of Telegram's Bot API and of Discord's API and Gateway, not yet against the real services. Signal has been used with a real account and is not a preview.

How a phone chat behaves

  • Text, images and files. A screenshot or photo is read on the node: its text goes to Ragon as [Screenshot text: …], and the image itself too when the model being served takes images. If nothing can be read from it, the bridge says so ("I can't read this image; describe it or paste the text.") instead of asking Ragon about nothing. A file is saved in the chat's folder. What a bridge cannot take (a video, a sticker) is named in one line, never dropped silently.
  • A new chat after a pause. A message after four hours of silence starts a new chat, and the bridge says so: "New thread (the last message was 16h00m ago); /use 2 to go back." Change the pause, or switch it off with 0, in ~/.config/dreamference/config.toml:

[chat]
new_thread_after_hours = 4
- Voice messages are transcribed on the node by the local speech-to-text service (ragon-admin voice start; nothing goes to a cloud service). The bridge first says what it heard ("Heard: …"), then answers; if it could not transcribe the message, it says so. - Files back. When Ragon makes a file for you (a table, a report) and names it in the answer, the bridge offers to send it: press "Send it" on Telegram, or reply YES on Signal and Matrix. Nothing is sent unless you say so, and nothing at all while the air gap is on. - Night Shift from the phone. /night add <task> queues a task for tonight, with the conversation's last question and answer as context; the bridge asks which repository (and waits for your yes) before anything is queued. /night status shows the queue, and the morning report arrives in Signal and Matrix (Telegram too if you add it). Configure under [chat]:

night_repos = ["~/code/myapp"]          # besides every repository you queued in before
night_report_to = ["signal", "matrix"]  # [] for none; add "telegram" to get it there
- Quick follow-ups join the answer. A message sent while Ragon is answering is added to the question it is working on, not answered separately afterwards. /stop still stops the answer. - Answers are bounded. An answer that takes over three minutes, uses over 25 tool calls or runs one command over a minute is asked to finish with what it has; if it still runs, it is stopped and asked once more, without tools, and you are told. /stop stops it at once. Change the bounds (0 switches one off) in ~/.config/dreamference/config.toml:

[chat]
answer_seconds = 180
tool_calls = 25
command_seconds = 60
- Reading text in images needs Tesseract on the node, offline: ragon signal setup installs it; otherwise sudo apt install tesseract-ocr. It reads every installed language; add one with sudo apt install tesseract-ocr-<code> (for example tesseract-ocr-por).

  • Signal and attachments. For images in Note to Self to reach Ragon, the bridge lets signal-cli download the attachments your account receives (Signal offers no way to fetch one later). Every attachment that is not yours in Note to Self is deleted as it arrives, and the folder is swept every minute, so nothing from your other conversations is kept; it does touch the bridge's private folder on the node for a moment.