Skip to main content

Rustic AI SerpApi

This module provides an agent that can be used to Search the web using SerpApi

Installing

pip install rusticai-serpapi

Note: It depends on rusticai-core

Local search without an API key

LocalSERPAgent is a drop-in replacement for SERPAgent for guilds that run on a user's own machine. It drives the user's installed Chrome through Playwright, so it needs no SerpAPI key. Use SERPAgent on shared or hosted infrastructure.

pip install "rusticai-serpapi[local]"
python -m rustic_ai.serpapi.local_setup   # optional one-time step: accept consent pages, solve a CAPTCHA, sign in

In the guild spec, use "class_name": "rustic_ai.serpapi.local_agent.LocalSERPAgent". Set "headless": false for a real, minimized Chrome window: Google is far less likely to block it, and if a CAPTCHA does appear, the window pops up so you can solve it. When a search is blocked or fails, the agent sends a SearchError with a reason and doesn't switch engines by itself.

See docs/agents/serpapi/local_serp_agent.md for modes, errors and configuration.

Building from Source

poetry install --with dev
poetry build

Metadata

Release files for rusticai-serpapi 1.5.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 rusticai-serpapi 1.5.0
File Size Uploaded Provenance Actions
rusticai_serpapi-1.5.0.tar.gz 16.3 kB Without provenance Details for rusticai_serpapi-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rusticai-serpapi 1.5.0
File Interpreter ABI Platform Actions
rusticai_serpapi-1.5.0-py3-none-any.whl Python 3 none any Details for rusticai_serpapi-1.5.0-py3-none-any.whl

Total release size: 34.9 kB

Release files / rusticai_serpapi-1.5.0.tar.gz

Download URL rusticai_serpapi-1.5.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e9cb71a2c8b2b528bdb6488dd42020b76f1d7d8f9b8fae238910ca7a8bacc2c5
BLAKE2b-256 checksum
How to use checksums
ce247c0538efc980b19019e329a0740ebbae2edf1cf2e4ee9c08afb949d0394d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.2 CPython/3.13.12 Linux/7.0.0-1020-azure

Release files / rusticai_serpapi-1.5.0-py3-none-any.whl

Download URL rusticai_serpapi-1.5.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7119da5bfded2fe35150c096709143639b16f694000630d03dbb4791797895a8
BLAKE2b-256 checksum
How to use checksums
2bda7f1bb594f721630baa1c3775fb360d4849da05351f88b2e74846a04ad53d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.2 CPython/3.13.12 Linux/7.0.0-1020-azure

Security for rusticai-serpapi 1.5.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.

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