L
google/langextract★ 39,462 · Python
Python SDK for extracting structured data with traceable source spans
Apache-2.0 · Commercial Friendlyv1.7.2
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.
Python SDK for extracting structured data with traceable source spans
MCP-based RAG framework for building and testing multi-step pipelines in YAML
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | google/langextract | OpenBMB/UltraRAG |
|---|---|---|
| Total GitHub Stars | ★ 39,462 | ★ 5,763 |
| 24h / 7d Velocity | +6 / +85 | +0 / +7 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 95/100 | A+ · 91/100 |
| Deployment Signals | Docker · Local AI · API | Docker · Self-Hosted · MCP |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 3d ago | Updated yesterday |
| Latest Release | v1.7.2 | v0.3.0.3 |
| Best For | Python ingestion and RAG preprocessing pipelines that need structured fields from long or varied documents, traceable excerpts, and a human review path | Research and platform teams that need to compare RAG backends, inspect failures in iterative workflows, and turn tested pipelines into self-hosted demos |
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 langextract--no-mcp local modes reuse pipeline and parameter files; local mode skips local server processes.## Direct installation python -m pip install --upgrade "pip>=26.2.2" "uv==0.13.7" ## Download curl -LsSf https://astral.sh/uv/0.12.0/install.sh | sh
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy