K
OpenSPG/KAG★ 9,212 · Python
OpenSPG graph-and-text RAG for multi-hop reasoning and domain Q&A
Apache-2.0 · Commercial Friendlyv0.8.0
Side-by-side 2026 comparison in RAG, Data & Memory: google/langextract leads both total GitHub adoption (★ 39.5k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
OpenSPG graph-and-text RAG for multi-hop reasoning and domain Q&A
Python SDK for extracting structured data with traceable source spans
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | OpenSPG/KAG | google/langextract |
|---|---|---|
| Total GitHub Stars | ★ 9,212 | ★ 39,462 |
| 24h / 7d Velocity | +1 / +16 | +6 / +85 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 80/100 | A+ · 95/100 |
| Deployment Signals | Docker · Self-Hosted · MCP | Docker · Local AI · API |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 15d ago | Updated 3d ago |
| Latest Release | v0.8.0 | v1.7.2 |
| Best For | Teams building professional Q&A over records, documents, and expert rules, where answers need multi-step reasoning and traceable source evidence | Python ingestion and RAG preprocessing pipelines that need structured fields from long or varied documents, traceable excerpts, and a human review path |
# set the HOME environment variable (only Windows users need to execute this command) # set HOME=%USERPROFILE% curl -sSL https://raw.githubusercontent.com/OpenSPG/openspg/refs/heads/master/dev/release/docker-compose-west.yml -o docker-compose-west.yml docker compose -f docker-compose-west.yml up -d
char_interval links matched extraction text to source offsets; unmatched extractions carry None.output_schema; Ollama offers JSON mode but not this custom schema interface.max_char_buffer, max_workers, and extraction_passes tune chunk size, concurrency, and repeat extraction independently.@router.register(...), publish Python entry points, and optionally supply a schema class.pip install langextractSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy