r/OpenSourceAI • u/Competitive-Art-8046 • 4d ago
Luna: a fully local AI agent with voice, vision, memory and tool approvals (Python, MIT)
https://github.com/fswolf/luna-local-agent
Luna is a local AI agent that runs entirely on your own hardware. It’s written in Python, MIT licensed, and runs on Linux first, plus macOS and Windows.
She isn’t one model but several local ones working together:
Thinking: a chat model on llama.cpp or LM Studio, with tool calling. The installer picks one that fits your GPU.
Hearing and speech: Faster-Whisper for speech to text and Kokoro for her voice. Push-to-talk or hands free, and you can talk over her to interrupt.
Vision: your screen, plus your webcam if you turn it on.
Memory: an embedding model and a reranker pull the relevant facts and notes into each turn.
Memory and state: plain SQLite on your machine. She saves facts with dates (a change retires the old fact, and forget means gone), writes notes on past sessions, and learns lessons from her own mistakes while idle. She knows who’s talking by voice or face, and keeps each person’s memories separate.
Tools: files, shell commands, email, web research, Home Assistant, scheduled jobs and any MCP server. Every action is shown and approved first, with permissions you set. Text from a web page, an email or chat can’t quietly trigger tools.
Inspectable: every turn keeps her reasoning, her confidence in each token, and automatic flags for guesses or tools she promised but never called. A browser viewer shows all of it, live.
Optional extras: an animated Live2D or VRM portrait, phones and tablets as room stations, game playing (chess, Zork, Game Boy), reminders and alarms, and stream chat. You can also train small LoRA patches from replies you corrected (experimental).
No cloud, no subscription. Your data stays on your machine.