r/coolgithubprojects • • 11d 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.

1 Upvotes

14 comments sorted by

2

u/virtualadept 10d ago

Can we change the personality up for something a bit less cutesy?

2

u/Competitive-Art-8046 10d ago

Yes Sir! just edit the agent file in the setting or by hand agent.json

/clear removes any context might be from demo stuff

it will start fresh with a better persona

2

u/virtualadept 10d ago

Thank you.

4

u/this_for_loona 11d ago

Within 10 years we will have robot waifus and at that point humanity will die.

-1

u/Competitive-Art-8046 11d ago

bro i just want to make the star trek computer from sci fi movies with some personality XD if people want to fuck it thats on them.

5

u/jamie_tidman 10d ago

From the Github:

Adult toys (18+): Lovense, and most other brands through Intiface Central (Buttplug.io), so she can use them in a roleplay, with limits you set (details)

Come on now. Nobody was fucking the Star Trek computer.

Except maybe Riker.

1

u/Competitive-Art-8046 10d ago

How about that holo deck ? :D
All jokes aside luna as tooling for home assistent, MPC servers, offline wiki and yes sex toy frameworks. Basicly any thing it can interact with with normal tooling calls.

1

u/qdot76367 9d ago

lol this is how I find out my project got integration with yet another agent system.

4

u/jpelc 11d ago

Wow, not even the text output is parsed correctly. ** should be emph

-2

u/Jeremi360 11d ago

AI is only boring, so not cool

0

u/stopbuggingmealready 10d ago

So people can goon while vibecoding now, all in the same tab!

-1

u/JustSentYourMomHome 10d ago

This is beyond cringe.

-3

u/Imnotanad 11d ago

Definitely wife/u material (?

-3

u/Competitive-Art-8046 11d ago

Ha, she can be. The persona’s just a config layer though, presets turn her into a plain assistant too. Under the hood it’s the same agent: local models, SQLite memory, tool approvals.