Search by

adachsoft / internet-search-gemini-deep-research

Arkadiusz Adach

Google Gemini Deep Research implementation for adachsoft/internet-search-contract.

Package info

gitlab.com/a.adach/internet-search-gemini-deep-research

Issues

pkg:composer/adachsoft/internet-search-gemini-deep-research

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.0 2026-11-28 19:27 UTC

This package is auto-updated.

Last update: 2026-11-28 18:28:29 UTC


README

This package provides an implementation of AdachSoft\InternetSearchContract\InternetSearchClientInterface using Google Gemini's Deep Research model (deep-research-max-preview-04-2026).

Requirements

  • PHP 8.3 or later
  • ext-json

Installation

composer require adachsoft/internet-search-gemini-deep-research

Usage

use AdachSoft\InternetSearchGeminiDeepResearch\InternetSearchApiClient;
use GuzzleHttp\Client;

$client = new InternetSearchApiClient(
    new \AdachSoft\InternetSearchGeminiDeepResearch\Adapter\GuzzleHttpClientAdapter(new Client()),
    'your-gemini-api-key-here'
);

$result = $client->search('What are the latest breakthroughs in quantum computing?');
echo $result;

Features

  • Synchronous interface for asynchronous Deep Research API (uses polling).
  • Robust error handling with specific exception types.
  • Configurable timeout and polling interval.
  • Full test coverage (unit + production).

License

MIT