Download Latest Version 0.67.7 source code.zip (59.7 MB)
Email in envelope

Get an email when there's a new version of Langroid

Home / 0.67.7
Name Modified Size InfoDownloads / Week
Parent folder
langroid-0.67.7-py3-none-any.whl 2026-09-02 487.3 kB
langroid-0.67.7.tar.gz 2026-09-02 434.5 kB
0.67.7 source code.tar.gz 2026-09-02 59.2 MB
0.67.7 source code.zip 2026-09-02 59.7 MB
README.md 2026-09-02 948 Bytes
Totals: 5 Items   119.9 MB 0

New

SerpApiSearchTool — Google organic results via SerpApi (#1133)

With Google's Custom Search JSON API sunsetting (see 0.67.6), this adds a maintained way to get real Google organic results: SerpApiSearchTool and serpapi_search(query, num_results) in langroid/parsing/web_search.py, following the same pattern as the Tavily/Seltz tools. Set SERPAPI_API_KEY in your .env; no new required dependency (plain requests against SerpApi's REST endpoint).

Built on the contribution by @lucaspmgomess (#1130) — thank you! — with a few fixes on top: num_results is now actually sent to SerpApi as num, partial results no longer raise KeyError, and the API key is redacted from requests error messages so it can't leak into logs. Covered by mocked unit tests plus a key-gated live test (verified against the real service before release).

Full Changelog: https://github.com/langroid/langroid/compare/0.67.6...0.67.7

Source: README.md, updated 2026-09-02