<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sreedhara Murthy</title>
    <description>The latest articles on DEV Community by Sreedhara Murthy (@sreedhara_murthy_778099b6).</description>
    <link>https://dev.to/sreedhara_murthy_778099b6</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1612281%2Fd3602f3b-d4c8-4160-afd7-2c4c102397af.png</url>
      <title>DEV Community: Sreedhara Murthy</title>
      <link>https://dev.to/sreedhara_murthy_778099b6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sreedhara_murthy_778099b6"/>
    <language>en</language>
    <item>
      <title>I created My Personal AI Assistant — Now It's a Privacy-First Telegram Bot (Gemma 4 sitting behind)</title>
      <dc:creator>Sreedhara Murthy</dc:creator>
      <pubDate>Sun, 24 May 2026 14:10:51 +0000</pubDate>
      <link>https://dev.to/sreedhara_murthy_778099b6/i-revived-my-personal-ai-assistant-now-its-a-privacy-first-telegram-bot-on-windows-4oj2</link>
      <guid>https://dev.to/sreedhara_murthy_778099b6/i-revived-my-personal-ai-assistant-now-its-a-privacy-first-telegram-bot-on-windows-4oj2</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-05-21"&gt;GitHub Finish-Up-A-Thon Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Digital Secretary&lt;/strong&gt; is a privacy-first personal AI assistant that runs on your Windows PC and talks to you through Telegram. No cloud subscription. No Docker. No data leaving your machine unless you choose it.&lt;/p&gt;

&lt;p&gt;You send a message → your PC processes it → you get a smart, memory-aware reply. Voice in, voice out. Files, web search, reminders, OCR — all from Telegram.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/sree1959git/Digital-Secretary" rel="noopener noreferrer"&gt;github.com/sree1959git/Digital-Secretary&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Youtube:&lt;/strong&gt; (&lt;a href="https://youtu.be/23W33BQDmWQ" rel="noopener noreferrer"&gt;https://youtu.be/23W33BQDmWQ&lt;/a&gt;)&lt;/p&gt;

&lt;h3&gt;
  
  
  Setup Wizard
&lt;/h3&gt;

&lt;p&gt;The interactive wizard takes less than 3 minutes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  ____  _       _ _        _   ____                    _
 |  _ \(_) __ _(_) |_ __ _| | / ___|  ___  ___ _ __ ___| |_ __ _ _ __ _   _
 | | | | |/ _` | | __/ _` | | \___ \ / _ \/ __| '__/ _ \ __/ _` | '__| | | |
 | |_| | | (_| | | || (_| | |  ___) |  __/ (__| | |  __/ || (_| | |  | |_| |
 |____/|_|\__, |_|\__\__,_|_| |____/ \___|\___| _|  \___|  \__\__,_|_|   \__, |
          |___/                                                              |___/

  Your personal AI secretary. On Telegram. On Windows.

  Step 1: Telegram Bot Token
  Step 2: OpenRouter API Key
  Step 3: Default AI Model
  Step 4: Name Your AI Secretary
  Step 5: Personality
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Bot in Action
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You: Remind me to call the dentist tomorrow at 10am
Digital Secretary: Done! I've set a reminder for tomorrow at 10:00 AM: "Call the dentist". 
                   I'll message you here on Telegram when it's time.

You: [sends photo of whiteboard]
Digital Secretary: I can see a whiteboard with what appears to be a sprint plan. 
                   The items listed are: [extracted text from OCR + vision analysis]

You: [voice message] "What did we discuss last week about the project?"
Digital Secretary: [voice reply] Based on our previous conversations, we talked about...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Architecture at a Glance
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Telegram (Your Phone)
        │
        ▼
Digital Secretary (Windows PC)
        │
        ├── 🧠 AI: OpenRouter / Ollama / llama.cpp
        ├── 💾 Memory: SQLite FTS5 (persistent, searchable)
        ├── 🛠️ Tools: files, shell, web, OCR, MCP servers
        ├── 📅 Scheduler: APScheduler-backed reminders
        ├── 🎙️ STT: faster-whisper (local Whisper)
        └── 🔊 TTS: edge-tts (Microsoft neural voices)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  The Comeback Story
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Where It Started (Before)
&lt;/h3&gt;

&lt;p&gt;Couple of weeks ago, I built the first version of this project.  I wanted a personal AI assistant that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Didn't require a monthly subscription&lt;/li&gt;
&lt;li&gt;Ran on my Windows PC&lt;/li&gt;
&lt;li&gt;Used Telegram (which I already had on my phone)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I got a working prototype in 3 days. The project sat there — functional but rough:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hard-coded paths (&lt;code&gt;C:/Users/&amp;lt;username&amp;gt;/...&lt;/code&gt;) buried in the config&lt;/li&gt;
&lt;li&gt;The bot answered questions but forgot everything between restarts&lt;/li&gt;
&lt;li&gt;No voice support at all&lt;/li&gt;
&lt;li&gt;A single Python file that grew to 1,000 lines&lt;/li&gt;
&lt;li&gt;Zero documentation — I couldn't even remember how to set it up myself&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I documented all this brutally honestly in &lt;code&gt;CODE_REVIEW_REPORT.md&lt;/code&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"The config file has hard-coded personal paths... The memory only survives per-session... The OcrImageTool is registered in the Telegram channel but not in the main tool registry... The autostart task name is inconsistent between wizard.py and autostart.py..."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  What I Changed (After)
&lt;/h3&gt;

&lt;p&gt;When I picked this up again for this challenge, I treated it like arriving at a client's codebase for the first time. Here's what changed:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Architecture improvements:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Split the monolith into a proper package structure: &lt;code&gt;agent/&lt;/code&gt;, &lt;code&gt;channels/&lt;/code&gt;, &lt;code&gt;memory/&lt;/code&gt;, &lt;code&gt;providers/&lt;/code&gt;, &lt;code&gt;security/&lt;/code&gt;, &lt;code&gt;tools/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;MemoryStore&lt;/code&gt; with SQLite FTS5 — the bot now remembers you across sessions&lt;/li&gt;
&lt;li&gt;Introduced &lt;code&gt;ContextBuilder&lt;/code&gt; that assembles system prompts from identity files (&lt;code&gt;SOUL.md&lt;/code&gt;, &lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;USER.md&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Created a proper &lt;code&gt;ToolRegistry&lt;/code&gt; with OpenAI-compatible function definitions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;New features added:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🎙️ &lt;strong&gt;Voice I/O&lt;/strong&gt; — Whisper (local STT) + Edge-TTS neural voices (3-tier voice system)&lt;/li&gt;
&lt;li&gt;📅 &lt;strong&gt;Scheduler&lt;/strong&gt; — "Remind me at 3pm daily to stand up and stretch"&lt;/li&gt;
&lt;li&gt;🖼️ &lt;strong&gt;Vision + OCR&lt;/strong&gt; — send a photo, get text extracted and image described&lt;/li&gt;
&lt;li&gt;🔌 &lt;strong&gt;MCP Bridge&lt;/strong&gt; — plug in any Model Context Protocol server&lt;/li&gt;
&lt;li&gt;🔐 &lt;strong&gt;Hardware-bound encryption&lt;/strong&gt; — secrets stored with Fernet keyed to Windows UUID&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Quality of life:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Interactive setup wizard (no more manual JSON editing)&lt;/li&gt;
&lt;li&gt;Auto-start via Windows Task Scheduler&lt;/li&gt;
&lt;li&gt;Proper graceful shutdown on Ctrl+C / SIGTERM&lt;/li&gt;
&lt;li&gt;Split responses at paragraph boundaries (no more mid-word Telegram truncation)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/model&lt;/code&gt; command to switch AI models mid-conversation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The rebrand:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Renamed from &lt;code&gt;Antidote&lt;/code&gt; to &lt;code&gt;Digital Secretary&lt;/code&gt; — the new name better reflects what it actually does: it's your personal secretary, not just "an AI"&lt;/li&gt;
&lt;li&gt;New CLI: &lt;code&gt;digital_secretary&lt;/code&gt; and &lt;code&gt;digital_secretary setup&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  My Experience Antigravity Extensions/Models (Claude)
&lt;/h2&gt;

&lt;p&gt;Claude was genuinely invaluable during this revival. Here are the specific moments where it made the biggest difference:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Voice Pipeline Design
&lt;/h3&gt;

&lt;p&gt;The 3-tier voice response system was the hardest design challenge:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tier 1&lt;/strong&gt;: "Read it out" → TTS playback of last response, no LLM call&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 2&lt;/strong&gt;: "Explain this" → LLM re-explains in natural speech&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 3&lt;/strong&gt;: Default voice query → LLM summarizes its response for speech&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I described the problem in English, and AI agent helped sketch the state machine and wrote the initial &lt;code&gt;_is_readout_request()&lt;/code&gt; / &lt;code&gt;_is_explain_request()&lt;/code&gt; pattern matching. What would have taken me an hour of thinking through edge cases was drafted in minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Hardware-Bound Encryption
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Copilot suggested this elegant approach for Windows-specific key derivation
&lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;_derive_key&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;uuid_bytes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;hashlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;pbkdf2_hmac&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sha256&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;uuid_bytes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;salt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sa"&gt;b&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;digital_secretary_v1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;iterations&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;480_000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It caught that I should use PBKDF2 with high iterations rather than raw HMAC, and suggested the specific iteration count (480K) based on OWASP recommendations for 2024.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. SQLite FTS5 Memory Search
&lt;/h3&gt;

&lt;p&gt;I hadn't used FTS5 before. AI agent wrote the schema migration, the &lt;code&gt;MATCH&lt;/code&gt; queries, and explained &lt;em&gt;why&lt;/em&gt; &lt;code&gt;rank&lt;/code&gt; needed to be negated for proper relevance ordering. I learned something new in the process.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Windows Signal Handling Bug
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# This pattern only works on Unix:
&lt;/span&gt;&lt;span class="n"&gt;loop&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_signal_handler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;SIGTERM&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;callback&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Copilot caught this and suggested the Windows-compatible approach:
&lt;/span&gt;&lt;span class="n"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;SIGTERM&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_signal_handler&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It spotted the platform incompatibility in a code review pass — something I'd have discovered only when a user reported it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Use Cases
&lt;/h2&gt;

&lt;p&gt;Digital Secretary is designed for people who want a personal AI that:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scenario&lt;/th&gt;
&lt;th&gt;What You Do&lt;/th&gt;
&lt;th&gt;What It Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Personal Assistant&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;"Add milk to my shopping list"&lt;/td&gt;
&lt;td&gt;Saves to memory, retrieves when you ask&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Daily Briefing&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Scheduled 8am message&lt;/td&gt;
&lt;td&gt;Sends a summary of your reminders and notes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Document Reader&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Send a PDF photo&lt;/td&gt;
&lt;td&gt;OCR + AI summary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Code Helper&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Paste error, ask for fix&lt;/td&gt;
&lt;td&gt;Searches web, reads files, suggests solution&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Meeting Notes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Voice record key points&lt;/td&gt;
&lt;td&gt;Transcribes + saves to memory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Family Secretary&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Shared reminders&lt;/td&gt;
&lt;td&gt;Schedule tasks for all family members&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Research Assistant&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;"Find recent papers on X"&lt;/td&gt;
&lt;td&gt;Web search + summarization&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Offline AI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Local llama.cpp setup&lt;/td&gt;
&lt;td&gt;Zero cloud, zero internet required&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Technical Architecture Highlights
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Memory That Persists
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Search semantic memory with FTS5
&lt;/span&gt;&lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;dentist appointment&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;limit&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# Returns: [Memory(content="User mentioned dentist on Tuesday...", category="fact")]
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every conversation is summarized and stored. The next time you ask a related question, the relevant memory is injected into the system prompt automatically.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tool Use in Action
&lt;/h3&gt;

&lt;p&gt;When you ask "What's the weather like tomorrow?", the LLM:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decides to call &lt;code&gt;web_search("weather tomorrow [your city]")&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Gets results back&lt;/li&gt;
&lt;li&gt;Calls &lt;code&gt;fetch_webpage(url)&lt;/code&gt; for the detailed forecast&lt;/li&gt;
&lt;li&gt;Synthesizes a natural language response&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All in one Telegram exchange.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Provider AI
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Switch between providers transparently
&lt;/span&gt;&lt;span class="n"&gt;provider&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;get_provider&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;  &lt;span class="c1"&gt;# reads config, returns right provider
&lt;/span&gt;
&lt;span class="c1"&gt;# All providers implement the same interface
&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;tool_defs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Works with OpenRouter (100+ models), Ollama (local), and llama.cpp (ultra-local, GPU or CPU).&lt;/p&gt;




&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/sree1959git/Digital-Secretary.git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Digital-Secretary&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\start.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The launcher handles everything — Python version check, venv creation, dependency install, and wizard launch.&lt;/p&gt;

&lt;p&gt;Full setup guide: &lt;a href="https://github.com/sree1959git/Digital-Secretary/blob/main/TELEGRAM_BOT_SETUP.md" rel="noopener noreferrer"&gt;TELEGRAM_BOT_SETUP.md&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What I have tested?
&lt;/h2&gt;

&lt;p&gt;Uploaded an image file (like workflow diagram, medicine pic, handwritten text) and asked BOT to decipher &amp;amp; explain. It did this job clean as humans would do, instead of reading out entire output generated (The output generated is complete extraction of image file while what BOT tells me through voice is a gist of output). This happens when the user send a voice message along with uploaded document. &lt;br&gt;
Then I asked it to readout the entire output, it did this job clean. &lt;br&gt;
Most of the BOTs start reading out the inference (output) which could be very long, which is not desired by users. I have overcome this irritation of users.&lt;br&gt;
BOT can do many things that openclaw/hermes agent would do by extending its skills, MCP configurations, connectors and inclusion of more opensource models. Gemma 4 is clearly the winner in this providing the foundation for localization.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;The project roadmap is honest about what's still to do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-agent routing&lt;/strong&gt; — separate &lt;code&gt;/finance&lt;/code&gt;, &lt;code&gt;/health&lt;/code&gt;, &lt;code&gt;/work&lt;/code&gt; sub-agents with scoped memories&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approval workflow&lt;/strong&gt; — Telegram inline buttons to approve file writes and shell commands&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Durable conversation history&lt;/strong&gt; — persist every turn, not just summaries&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web UI&lt;/strong&gt; — a dashboard to review memories, manage reminders, switch models&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This challenge was exactly the kick I needed to stop leaving this on the shelf. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you try it, let me know what you think in the comments.&lt;/strong&gt; 👇&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Tags: #devchallenge #githubchallenge #python #telegram #ai #windows #opensource&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>python</category>
      <category>telegram</category>
    </item>
  </channel>
</rss>
