Skip to main content

TinyFish Web Agent tools for Google Agent Development Kit (ADK)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinyfish_adk-0.1.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinyfish_adk-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file tinyfish_adk-0.1.2.tar.gz.

File metadata

  • Download URL: tinyfish_adk-0.1.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tinyfish_adk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ee98a7d6245c29f51e33b6bbab4a3916711ed2f73a9078c755cd152145b8c72e
MD5 e246faf28c703251c610a3cef50199ce
BLAKE2b-256 47886dd71c8adc7cfb6e49d6af272de7aa96b47c62667795729f764a30b19a27

See more details on using hashes here.

File details

Details for the file tinyfish_adk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tinyfish_adk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tinyfish_adk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 842ff4f2012161574a113e08f348afc2b16218a6c0472242fcf744e2c1278c35
MD5 222ed38060aac03cfd130f40d029d877
BLAKE2b-256 5f346c7f21d3ab3465767bff159f683ae7257d7181c235d05963a7f69c4cc9a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page