Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev
localllama·LocalLLaMAbysobchak

What are the best options for local conversational voice agents?

I found this project which is just a couple of small python scripts glueing various tools together: https://github.com/vndee/local-talking-llm

It's pretty basic, but couldn't find anything more polished. I did a little "vibe coding" to use a faster Chatterbox fork, stream the output back so I don't have to wait for the entire LLM to finish before it starts "talking," start recording on voice detection instead of the enter key, and allow interruption of the agent. But, like most vibe-coded stuff, it's buggy. Was curious if there was something better that already exists before I commit to actually fixing the problems and pushing a fork.

View original on programming.dev
21

8 replies

lemmy.ml

I haven't followed that closely lately, but KoljaB on github had some interesting repos. Also 'livekit' is new and afaik creates an audio agent. No personal experience though..

3

Nice, that's quite an assortment of random stuff from speaker diarization to full-blown virtual assistants with avatars. Probably worth having a look when tinkering around with Python and AI. By the way, Livekit is a WebRTC video conferencing toolkit. I didn't know they had AI agents in there. Guess I can build my own callcenter now. Or the AI granny (Youtube), I've always wanted something like that answer my landline calls. 😆

1

Kobold.CPP has pretty good TTS model integration I used OuteTTS model when I played around with it but theres also API integration with commercial ones like kokoro.

However, I'm no sure if its able to stream to a TTS model as the llm is generating when I tried it just waited till after output to send to voice model you may need to do some documentation reading to see if real time streaming is possible if you go that route.

2
palaver.p3x.de

I got a bonus question... Is there a good end-to-end voice conversation solution? I'd like to try something which directly processes the audio and returns audio, rather than the whole pipeline with vad -> stt -> llm -> tts

2

Thanks! if anyone has more (good) alternatives or something like a curated list, I'd have a look at that as well... always a bit complicated to stay up to date and go through the myriad of options myself...

2

You reached the end