Skip to main content

TinyFish Web Agent — Google ADK Integration

Automate any website using natural language with TinyFish Web Agent, integrated as function tools for Google Agent Development Kit (ADK).

Installation

pip install tinyfish-adk

Or install from source:

git clone https://github.com/tinyfish-io/tinyfish-web-agent-integrations.git
cd tinyfish-web-agent-integrations/google-adk
pip install -e .

Setup

Get your API key at agent.tinyfish.ai/api-keys:

export TINYFISH_API_KEY="your-api-key"
export GOOGLE_API_KEY="your-gemini-key"

tinyfish-adk automatically tags TinyFish SDK requests as originating from google-adk. You do not need to set TF_API_INTEGRATION yourself.

Tools

Tool Description
tinyfish_web_agent Run a browser automation synchronously. Best for quick tasks.
tinyfish_queue_run Start an automation asynchronously. Returns a run_id.
tinyfish_get_run Check status and get results of a run by run_id.
tinyfish_list_runs List recent automation runs, optionally filtered by status.
tinyfish_search Search the web and return structured results.
tinyfish_fetch Fetch clean content from one or more URLs.
tinyfish_create_browser_session Create a remote browser session and return connection URLs.

Usage

Basic agent

from google.adk import Agent
from tinyfish_adk import tinyfish_web_agent

agent = Agent(
    name="web_researcher",
    model="gemini-3.5-flash",
    instruction="Use tinyfish_web_agent to browse and extract data from websites.",
    tools=[tinyfish_web_agent],
)

Async workflow

from google.adk import Agent
from tinyfish_adk import tinyfish_queue_run, tinyfish_get_run

agent = Agent(
    name="async_scraper",
    model="gemini-3.5-flash",
    instruction="Queue long-running scrapes and poll for results.",
    tools=[tinyfish_queue_run, tinyfish_get_run],
)

All tools

from tinyfish_adk import (
    tinyfish_web_agent,
    tinyfish_queue_run,
    tinyfish_get_run,
    tinyfish_list_runs,
    tinyfish_search,
    tinyfish_fetch,
    tinyfish_create_browser_session,
)

agent = Agent(
    name="web_automation_agent",
    model="gemini-3.5-flash",
    tools=[
        tinyfish_web_agent,
        tinyfish_queue_run,
        tinyfish_get_run,
        tinyfish_list_runs,
        tinyfish_search,
        tinyfish_fetch,
        tinyfish_create_browser_session,
    ],
)

Configuration

All tools read TINYFISH_API_KEY from the environment. The package also sets TF_API_INTEGRATION=google-adk internally so requests are attributed automatically. Each tool also accepts optional parameters:

Parameter Description
browser_profile "lite" (default, fast) or "stealth" (anti-detection)
proxy_country Route through a proxy: US, GB, CA, DE, FR, JP, AU

Example goals

"Extract all product names, prices, and ratings from this page"
"Fill the contact form with name 'Jane Doe' and email 'jane@example.com', then submit"
"Click 'Next Page' 3 times, extracting all listings from each page"

Support

Metadata

Release files for tinyfish-adk 0.1.2

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

Source distribution (sdist)

Source distribution for tinyfish-adk 0.1.2
File Size Uploaded Provenance
tinyfish_adk-0.1.2.tar.gz 7.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tinyfish-adk 0.1.2
File Interpreter ABI Platform
tinyfish_adk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / tinyfish_adk-0.1.2.tar.gz

Download URL tinyfish_adk-0.1.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ee98a7d6245c29f51e33b6bbab4a3916711ed2f73a9078c755cd152145b8c72e
BLAKE2b-256 checksum
How to use checksums
47886dd71c8adc7cfb6e49d6af272de7aa96b47c62667795729f764a30b19a27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / tinyfish_adk-0.1.2-py3-none-any.whl

Download URL tinyfish_adk-0.1.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
842ff4f2012161574a113e08f348afc2b16218a6c0472242fcf744e2c1278c35
BLAKE2b-256 checksum
How to use checksums
5f346c7f21d3ab3465767bff159f683ae7257d7181c235d05963a7f69c4cc9a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for tinyfish-adk 0.1.2

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