A powerful & modern Telegram AI assistant — streaming replies, shell + files + web + vision, multi-API failover, per-chat memory. Now in cartoony fit! (˶ᵔᵕᵔ˶)
Streaming answers, auto-summary memory, per-chat history & rolling window.
shell_exec any command, file_read / write / list from /. No jail!
web_search (Bing), web_fetch, web_check, web_screenshot.
Message, photo, document, buttons, edit, delete, forward, pin & more.
Photo / document summarize, PDF text extraction. It can see!
Owner + allowlist. Strangers get ignored silently. Shhh.
/talk /t triggers, = ~ | prefixes, @mention, replies.
Pool of endpoints, auto-rotate on 5xx. /addapi /delapi /apis.
Rolling window + model summaries in memory.json.
Tools table — powered by tools-go: shell, files, web, screenshots, sysinfo
| Tool | Args | Returns |
|---|---|---|
shell_exec | command, workDir, timeoutSec | stdout + stderr ~8KB |
file_read | path | text ~8KB |
file_write | path, content | wrote <path> |
file_list | path | up to 100 entries |
get_time | timezone | RFC3339 timestamp |
calc | expression | expr = result |
web_fetch / search / check / screenshot | url / query | text, links, PNG path |
sysinfo | — | OS, arch, CPU, mem, disk |
/start /new /forget /id /chatid /model /img ... — intro, clear history, IDs, model picker.
/adduser /deluser /users /addapi /delapi /apis — access & endpoint pool.
/model c — live-tests every model, paged button UI.
git clone https://github.com/HexZoNetwork/HexTelegram HTG cd HTG cp example.config.json config.json bash setup.sh npm start
Requires Node 18+, Go 1.21+, optional chromium for screenshots.