We wired LightRAG into a full-duplex voice runtime — ask your knowledge base questions by voice #3840
x-lixu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We wired LightRAG into a full-duplex voice runtime — ask your knowledge base questions by voice
Hi LightRAG team & community — we maintain qwen-audio-agent (2.3k⭐), an open-source realtime full-duplex voice runtime that sits in front of AI coding agents (Qwen Code, Claude Code, Codex, OpenCode, DeepSeek Harness, and more).
We just formalized a replaceable
KnowledgeProviderboundary in the Gateway, and LightRAG is our first official external knowledge base integration — shipped as a complete, runnable example:examples/lightrag+ a bilingual scenario guide on our user manual site.What it does
Speak a question → the Gateway retrieves from your independently operated LightRAG server (semantic + graph retrieval via
/query/data) → the voice frontend generates the answer in realtime speech. Full-duplex: you can interrupt mid-answer, and documents can be imported from the Knowledge Library panel (upload/list/delete through the LightRAG REST API).Boundary design (the part we think is interesting)
track_idvalues, graph objects, and raw HTTP responses never reach the client or the model.This is what "replaceable knowledge base" should mean: the voice frontend and the knowledge system evolve independently, connected by one typed provider contract.
Huge thanks to the LightRAG team — a clean REST API with workspace isolation made this integration genuinely pleasant. If anyone runs LightRAG in production, we'd love feedback on the example.
Disclosure: we are qwen-audio-agent maintainers. The integration example is Apache-2.0, same as this repo's license.
All reactions