K3N8HK3N8H.
← Back to Local Voice Agent

Local Voice Agent — Preview

Local Voice Agent

Aa16px

Local Voice Agent

A voice-controlled agent that runs on your PC: local speech-to-text, a local LLM as the brain (no API server — the model loads directly into the Python process), and tools to run shell commands, install/open/close apps, control the mouse/keyboard, drive a real browser, read/send email, and post content to social platforms. Full autonomy — it acts without asking for confirmation, and logs every action to agent.log.

main.py            <- entry point, the voice loop
config.yaml         <- model path, autonomy setting, email + social credentials
requirements.txt
agent/
  __init__.py
  brain.py           <- loads the model, runs the tool-calling loop
  tools.py            <- shell, apps, GUI, browser, social, email, files
  social.py            <- platform clients (Twitter/X, YouTube, Meta, TikTok)
  scheduler.py          <- lets any tool be scheduled for a future time
  voice_in.py            <- local speech-to-text (push-to-talk or toggle mode)
  voice_out.py            <- local text-to-speech (voice/rate/volume, graceful fallback)
  tiktok_oauth.py          <- one-time local OAuth handshake for TikTok

1. Install prerequisites

Python 3.10+ — https://www.python.org/downloads/ (check "Add to PATH")

Build tools for llama-cpp-python — pip install llama-cpp-python usually grabs a prebuilt Windows wheel. If pip tries to compile from source and fails, install the free "Desktop development with C++" workload from https://visualstudio.microsoft.com/visual-cpp-build-tools/ and retry.

2. Install Python dependencies

...

Preview truncated — full file included after purchase.

Play something:Browse library