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.1

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.1
File Size Uploaded Provenance Actions
rusticai_serpapi-1.5.1.tar.gz 19.1 kB Without provenance Details for rusticai_serpapi-1.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 41.9 kB

Release files / rusticai_serpapi-1.5.1.tar.gz

Download URL rusticai_serpapi-1.5.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3a53937d7fd8021a95bd8b0150d500d7edeab425aab6951991e3adb20d5822f8
BLAKE2b-256 checksum
How to use checksums
c04efaf9abcdd4d6f9ba5dff211a829d64f4a34e5ef4e51247ec9b43ec75bc8e
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.1-py3-none-any.whl

Download URL rusticai_serpapi-1.5.1-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7025d0490fa91a1df1df67cc3453c99935fe150630637d24a295b81b52be9543
BLAKE2b-256 checksum
How to use checksums
3e871a6cbc4a3df11036747150a71bcd84eadbe31c90eed0e53e8f49185ff6a2
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.1

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