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-2.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-2.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-2.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.1.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.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinyfish_adk-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 24b1e33efa75f787dcc0ff59e5e4bbc7c92eb709120fe191344bef96e52a2c76
MD5 7601078ba42c29e0115d2b34e9293af6
BLAKE2b-256 71e99d242c9de6c37f02553b6a906c146b9ac576853af022c969445f93a71e0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinyfish_adk-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2027e54e0b9caa2448d0dd2a494955e99f279e3be89896f5bf2470ec90fb4ffa
MD5 f637d1b14d5468173e8a402014caf050
BLAKE2b-256 850ee7df35360bd2d3276acf2359495c73b3772417b85aeb3556e75af3e0a819

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