Use it
Telegram demo
Send files to a bot, get the summary and the report back.
The bot talks to the engine only through the HTTP API, so it can run anywhere the API is reachable. It uses long polling: no public URL needed.
bun run aa serve # the engineTELEGRAM_BOT_TOKEN=… TELEGRAM_ALLOWED_CHATS=<your chat id> \ bun run --filter @agentic-analytics/telegram start- Create a bot with @BotFather (free) and put its token in
TELEGRAM_BOT_TOKEN. - Set
TELEGRAM_ALLOWED_CHATSso only you can run jobs on your engine and model; other chats are told their id and refused. The bot won’t start without it (unlessTELEGRAM_PUBLIC=1). Don’t know your id yet? Start withTELEGRAM_ALLOWED_CHATS=1, message the bot, and it replies with your id. - Send files, then your question (it becomes the objective) or
/analyze.
The bot runs the job with auto_confirm=true, edits one status message as stages pass, then replies with the headline, the top three findings, the top two recommendations, a note that metrics were assumed, and report.html.