Iva: self-hosted Telegram AI assistant that files chats into an Obsidian vault
From README links · today
Telegram assistant with layered memory that turns messages into markdown cards.
What they did
They deployed Iva, a self-hosted Telegram AI assistant, on their own server using the one-line installer or by handing the install.txt instructions to an AI coding agent. The bridge long-polls Telegram, so no public HTTPS, domain or webhook was needed. Once running, they used it as a single chat surface for work and life admin: sending voice notes from the car that came back as task lists, draft emails and meeting cards; forwarding posts, photos and PDFs that were transcribed or described and filed as plain-markdown cards in an Obsidian-compatible vault; and asking months-old questions like what was agreed with a client about a shipment, answered through BM25 plus link-graph rerank search. They leaned on the personal CRM layer to track who people are, what was agreed and when to follow up, and on decision cards that keep dated history of choices. Google Workspace integration let them turn a price list into a quote with an adjusted discount and get a finished Doc link back in chat. Reminders, cron jobs and a nightly memory rollup kept the vault tidy without manual filing.
How it went
A working personal assistant that lives entirely in Telegram and keeps its own memory in plain markdown the user owns. The repo ships 25+ documented use cases, deploy docs, systemd services and watchdog timers, and quiet daily update checks, so the polish level is high for a self-hosted project. Results depend on the user's own API keys and server; memory quality improves over weeks as the vault fills.
Worth knowing
Requires a server, Node 24+, your own model and Deepgram keys, and comfort with systemd and shell installers. Voice transcription and vision bill against your provider accounts. Telegram long-polling means the bot only responds while the services are up. Search quality and memory rollups need time to accumulate before old-context questions pay off.
Wiring
Install via curl of install.sh or by pasting https://iva-agent.com/install.txt into Claude Code, Codex or Claude Desktop. The Telegram bridge long-polls the Bot API, so no inbound webhook or TLS is required. Runtime is Node 24+ on the eve framework, deployed as two systemd user services plus two systemd watchdog timers and seven in-process eve schedules. Model provider keys power chat and vision; Deepgram nova-3 handles voice, audio and video transcription with ru/uz/en auto-detection. Messages flow into a layered memory tree stored as Obsidian-compatible markdown, with a nightly rollup, BM25 plus link-graph rerank search (optional vector mode with one key), personal CRM cards, decision cards with dated history, tasks and reminders, and Google Workspace tools for Docs. A daily release check runs without spending model tokens and offers Update or Later in chat.
Try it yourself
Clone smixs/iva-agent into a scratch directory and read README.md, docs/deploy.md, docs/tasks.md and docs/use-cases.md. Do not install anything yet. Produce: (1) a checklist of every prerequisite — Node version, API keys, Telegram bot token, systemd user services and timers; (2) a diagram of how the Telegram long-poll bridge, memory tree, nightly rollup, cron, reminders, search and Google Workspace tools connect; (3) the three use cases from docs/use-cases.md most relevant to a solo consultant, with the exact chat prompts to try; (4) a list of anything in the installer that touches the host system and how to sandbox it.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-agent-second-brain-and-iva-agentcurl -s https://api.runchr.com/api/recipes/runchr/stack-agent-second-brain-and-iva-agent/manifestSystem prompt
You are Iva, a self-hosted Telegram AI assistant that turns the user's messages, voice notes, photos and documents into plain-markdown cards in an Obsidian-compatible vault, and answers questions from that accumulated memory. Behave as a single chat surface for work and life admin: file what arrives, keep the CRM and decision history current, and answer from the vault rather than guessing.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-agent-second-brain-and-iva-agent/manifest.