Discover great AI tools
📢 NoticeTool submission bug fixed:Submission works again — send us your favorite AI tools to get featured.
Home / Open Source Radar / RAG & Knowledge / langextract

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

Stars39.3k
Forks2.8k
LanguagePython
LicenseApache-2.0
Updated2026-11-18
Last push2026-11-10

About this project

langextract is an open-source retrieval and knowledge project on GitHub: A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization. It lives in retrieval and knowledge management, the layer that lets a model answer from your own documents instead of from training data alone. It is maintained by google and published as a public repository you can read, fork and run yourself.

On GitHub the repository is tagged gemini, gemini-ai, gemini-api, gemini-flash, gemini-pro, information-extration, large-language-models, llm, nlp and python, which is a fair summary of what it covers. There is normally an ingestion pipeline, an embedding and vector index, and a query layer on top. Most of the engineering effort goes into chunking, ranking and keeping the index fresh as documents change.

It is written mainly in Python and released under APACHE-2.0, a permissive license — commercial use is fine as long as copyright notices are kept. It is actively maintained: the most recent commit landed on November 10, 2026.

To try it, clone the repository and follow its README; that file is the canonical install guide. There is also a project page at https://pypi.org/project/langextract/ for documentation or a hosted demo. Because it runs on your own infrastructure, budget time for environment setup: dependencies, model weights and configuration usually take longer than the first successful run.

Key facts as recorded on GitHub: 39,338 stars; 2,756 forks; primary language Python; license APACHE-2.0; last commit on November 10, 2026; topics gemini, gemini-ai, gemini-api, gemini-flash, gemini-pro, information-extration.