# Self-hosted AI assistant in Telegram

> A personal AI assistant in Telegram on the open-source Hermes agent, self-hosted in Docker, with text, photo and voice input. Kept today as a reserve.

- Service: AI / LLM integration
- Stack: Hermes agent, Docker, OpenRouter, Groq Whisper, SQLite
- Canonical: https://jamm-automation.com/cases/ai-assistant/
- Updated: 2026-11-29

## Manual

With a hosted assistant, the model, the memory and the cost stay in the provider's hands.

- **Model:** the provider chooses it.
- **Memory:** it lives on the provider's side.
- **Cost:** it follows the provider's plan.

## System

We ran the open-source Hermes agent in Docker on our own server and routed each input type to a suitable model.

- **Text:** a low-cost main model through OpenRouter.
- **Photos:** a vision model.
- **Voice:** Whisper speech-to-text through Groq.
- **State:** persistent memory and custom skills; data in SQLite inside the container.

## Autopilot

The assistant ran its own routines under a safety rule.

- **Skill:** a food diary that posted daily totals as tables in Telegram.
- **Approval:** risky shell actions required manual approval.
- **Status:** kept today as a reserve.
