Home Projects KAG
KAG
Python

KAG

KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the tradi

by OpenSPG · GitHub
Stars
Forks
License
Created
Last commit
Language
knowledge-graphlarge-language-modellogical-reasoningApache-2.0Python
View on GitHub
In plain words

Create question-and-answer systems that use logical reasoning for specialized knowledge areas.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
KAG — GitHub preview card
📈 Star history
9.0k8.9k
2026-07-122026-08-31
📈 Track KAG

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the tradi

KAG has 9k stars on GitHub. It has been forked 712 times. KAG is written mainly in Python. It has been in active development since 2024. KAG is available under the Apache-2.0 license. Its main topics are knowledge-graph, large-language-model, logical-reasoning, multi-hop-question-answering.

Frequently asked questions

What is KAG?

KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the tradi

Is KAG open source?

KAG is an open-source project. It is released under the Apache-2.0 license.

Is KAG free?

Yes. KAG is free and open source — you can use, modify and self-host it.

What license does KAG use?

KAG is available under the Apache-2.0 license.

What language is KAG written in?

KAG is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — KAG

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=openspg-kag)](https://olud.ai/project/openspg-kag.html)
More badge options →
🧬 Related projects🧬 View the DNA map →