Nesqyk/gemma-planner

A simple local calendar scheduler for windows using Gemma < 270m Model (FunctionGemma)

0

stars

0

commits

Python

primary language

Dec 24, 2025

updated

README

Gemma Planner: Local Voice-Driven AI Calendar Assistant

Python pyttsx3 Whisper Transformers


What is this project?

Gemma Planner is a local, privacy-focused AI assistant that lets you schedule calendar events using your voice. It leverages:

  • Google's FunctionGemma LLM (runs locally via HuggingFace Transformers)
  • OpenAI Whisper for speech-to-text
  • pyttsx3 for speech synthesis
  • ics for calendar event creation

No cloud APIs required—everything runs on your machine.


Setup Instructions

  1. Clone the repository:
    git clone https://github.com/Nesqyk/gemma-planner.git
    cd gemma-planner
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Install ffmpeg (required for Whisper):
  4. Run the assistant:
    python main.py
    

How it works

  1. The assistant greets you and waits for your voice input.
  2. Your speech is transcribed to text using Whisper.
  3. The LLM interprets your intent and, if needed, triggers a function call (e.g., to schedule an event).
  4. If scheduling, the assistant creates a .ics calendar file and opens it for you.
  5. The assistant responds to you via speech (pyttsx3).

Say "exit" or "quit" to stop the assistant.


Architecture

User (voice)
	↓
[voice_engine.py]  ←→  [main.py]  ←→  [calendar_tool.py]
	↓                  |   |             |
pyttsx3 (TTS)         |   |             |-- ics (calendar)
Whisper (STT)         |   |-- HuggingFace Transformers (Gemma LLM)
  • main.py: Orchestrates the agent, LLM, and function calls.
  • voice_engine.py: Handles speech input (Whisper) and output (pyttsx3).
  • calendar_tool.py: Creates and opens calendar events as .ics files.

Local-first, private, and extensible.

Nesqyk/gemma-planner

A simple local calendar scheduler for windows using Gemma < 270m Model (FunctionGemma)

0

stars

0

commits

Python

primary language

Dec 24, 2025

updated

README

Gemma Planner: Local Voice-Driven AI Calendar Assistant

Python pyttsx3 Whisper Transformers


What is this project?

Gemma Planner is a local, privacy-focused AI assistant that lets you schedule calendar events using your voice. It leverages:

  • Google's FunctionGemma LLM (runs locally via HuggingFace Transformers)
  • OpenAI Whisper for speech-to-text
  • pyttsx3 for speech synthesis
  • ics for calendar event creation

No cloud APIs required—everything runs on your machine.


Setup Instructions

  1. Clone the repository:
    git clone https://github.com/Nesqyk/gemma-planner.git
    cd gemma-planner
    
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Install ffmpeg (required for Whisper):
  4. Run the assistant:
    python main.py
    

How it works

  1. The assistant greets you and waits for your voice input.
  2. Your speech is transcribed to text using Whisper.
  3. The LLM interprets your intent and, if needed, triggers a function call (e.g., to schedule an event).
  4. If scheduling, the assistant creates a .ics calendar file and opens it for you.
  5. The assistant responds to you via speech (pyttsx3).

Say "exit" or "quit" to stop the assistant.


Architecture

User (voice)
	↓
[voice_engine.py]  ←→  [main.py]  ←→  [calendar_tool.py]
	↓                  |   |             |
pyttsx3 (TTS)         |   |             |-- ics (calendar)
Whisper (STT)         |   |-- HuggingFace Transformers (Gemma LLM)
  • main.py: Orchestrates the agent, LLM, and function calls.
  • voice_engine.py: Handles speech input (Whisper) and output (pyttsx3).
  • calendar_tool.py: Creates and opens calendar events as .ics files.

Local-first, private, and extensible.

Languages

Python

100.0%