# 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 base

- **URL**: https://www.freshcrate.ai/projects/KAG
- **Author**: OpenSPG
- **Category**: Databases
- **Latest version**: `v0.8.0` (2025-06-28)
- **License**: Apache-2.0
- **Source**: https://github.com/OpenSPG/KAG
- **Homepage**: https://spg.openkg.cn/en-US
- **Language**: Python
- **GitHub**: 8,688 stars, 667 forks
- **Registry**: github
- **Tags**: `knowledge-graph`, `large-language-model`, `logical-reasoning`, `multi-hop-question-answering`, `python`, `trustfulness`

## Description

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 traditional RAG vector similarity calculation model.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.8.0` | 2025-06-28 | Low | # Version 0.8.0 (2025-06-27) ##  1、Overview We are excited to announce the official release of KAG version 0.8. This update focuses on continuously enhancing the consistency, rigor, and accuracy of large model knowledge base-driven reasoning and question-answering. It also introduces several significant new features and capabilities. First, we have upgraded the capabilities of the KAG knowledge base. We have expanded support for two modes: private domain knowledge bases (including structured |
| `v0.7.1` | 2025-04-25 | Low | # Version 0.7.1 (2025-04-25) Dear Open Source Community,We are excited to officially announce the release of version **0.7.1** for **OpenSPG/KAG**! This release represents the collaborative efforts of both our core technical team and contributors from the global open source community. The update focuses on improving user experience, optimizing system performance, and addressing key issues based on your feedback. Below are the highlights of this release:  ## 🛠️ Fixes & Optimization Highlights |
| `v0.7` | 2025-04-17 | Low | # Version 0.7 (2025-04-17) # 1、Overview We are very pleased to announce the release of KAG 0.7. This update continues our commitment to increasing the consistency, rigor, and precision of large language models leveraging external knowledge bases, while introducing several important new features.  Firstly, we have completely refactored the framework. The update adds support for both **static** and **iterative** task planning modes, along with a more rigorous hierarchical knowledge mechanism d |
| `v0.6` | 2025-01-08 | Low | # Version 0.6 (2025-01-07) On January 7, 2025, OpenSPG officially released version 0.6, bringing updates across multiple areas, including domain knowledge mounting, vertical domain schema management, visual knowledge exploration, and support for summary generation tasks. In terms of user experience, it offers a mechanism for resuming knowledge base tasks from breakpoints, introduces a user login and permission system, and optimizes task scheduling for building processes. In developer mode, it s |
| `v0.5.1` | 2024-11-21 | Low | # Version 0.5.1 (2024-11-21) OpenSPG released version v0.5.1 on November 21, 2024. This version focuses on addressing user feedback and introduces a series of new features and user experience optimizations.  ---  ### 🌟 **New Features**   1. **Support for Word Documents**      - Users can now directly upload `.doc` or `.docx` files to streamline the knowledge base construction process.   <img src="https://github.com/user-attachments/assets/86ad11d8-42ed-44f4-91ab-f9a7c6346df2" width="600 |
| `v0.5` | 2024-11-04 | Low | # Version 0.5 (2024-10-25) retrieval Augmentation Generation (RAG) technology promotes the integration of domain applications with large models. However, RAG has problems such as a large gap between vector similarity and knowledge reasoning correlation, and insensitivity to knowledge logic (such as numerical values, time relationships, expert rules, etc.), which hinder the implementation of professional knowledge services. On October 25, officially releasing the professional domain knowledge Se |

## Dependency audit

- **Score**: 16/100
- **Total deps**: 55
- **Resolved**: 34
- **Unresolved**: 21
- **License conflicts**: 0
- **Warnings**: 38
- **Scanned**: 2026-05-04

## Citation

- HTML: https://www.freshcrate.ai/projects/KAG
- Markdown: https://www.freshcrate.ai/projects/KAG.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/KAG/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
