Developer builds self-hosted Telegram AI assistant with persistent local memory
A developer has built Avelina, a self-hosted personal AI assistant on Telegram that retains long-term memory across sessions using a local SQLite database and on-device embeddings. Unlike cloud chatbots that reset after each session, Avelina stores user facts, learned corrections, a conversation journal, and emotional state across multiple database tables. Each incoming message is converted into a vector using a local embedding model, and a cosine-similarity search retrieves the most relevant memories to include in the system prompt before every response. Because all processing happens on a private Linux VPS with no third-party services, user data never leaves the server. The full stack is available as a one-command install at avelina.ai.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in