Skip to main content

llama-index-tools-serpbit

Google Search for LlamaIndex after Google's Custom Search JSON API stops searching the whole web on January 1, 2027. This is the GoogleSearchToolSpec of llama-index-tools-google, with the same tool, name and answers, served by Serpbit from Google's own results pages.

pip install llama-index-tools-serpbit

Moving is two lines: the import and the key. Make a key at https://app.serpbit.com/keys and pass it, or set SERPBIT_API_KEY. The search engine id is gone, because the results come from the whole web.

# Before
from llama_index.tools.google import GoogleSearchToolSpec
spec = GoogleSearchToolSpec(key="AIza...", engine="0123...", num=5)

# After
from llama_index.tools.serpbit import SerpbitSearchToolSpec
spec = SerpbitSearchToolSpec(num=5)  # SERPBIT_API_KEY, or key="sb_live_..."

tools = spec.to_tool_list()  # google_search, sync and async

The tool keeps Google's name, google_search, and gives the same list of title, link and snippet.

What differs from Google's:

  • A num outside 1-10 is refused when the spec is made, not at the first search.
  • A failed call raises the serpbit client's errors. Google's spec gives "No search results available" instead.
  • A search takes about 2 seconds, against under 1 on Google's API.

Each search costs 1 credit. The free plan gives 1,000 credits a month, with no card.

Metadata

Release files for llama-index-tools-serpbit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-tools-serpbit 0.1.0
File Size Uploaded Provenance Actions
llama_index_tools_serpbit-0.1.0.tar.gz 5.7 kB Without provenance Details for llama_index_tools_serpbit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-serpbit 0.1.0
File Interpreter ABI Platform Actions
llama_index_tools_serpbit-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_tools_serpbit-0.1.0-py3-none-any.whl

Total release size: 10.4 kB

Release files / llama_index_tools_serpbit-0.1.0.tar.gz

Download URL llama_index_tools_serpbit-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ed62724fdf95c09cf8505261abc2050de9e61d041201c8d08e8934d5110e07cc
BLAKE2b-256 checksum
How to use checksums
abe385ad78e652dea104bb7dcb71a81eb98fa1cf5e6a5f28b9e7493471e632f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Release files / llama_index_tools_serpbit-0.1.0-py3-none-any.whl

Download URL llama_index_tools_serpbit-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd52faa7cfb138862581f7b09475128b9744b3952dad8fd0010d9cba338dff23
BLAKE2b-256 checksum
How to use checksums
0b6399a0cf263d961050382f6592a2012d464c340d5bea9dacc9617a1e3338e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Security for llama-index-tools-serpbit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page