feat(tools): add TinyFish cloud browser provider#6329
Open
simantak-dabhade wants to merge 1 commit intoNousResearch:mainfrom
Open
feat(tools): add TinyFish cloud browser provider#6329simantak-dabhade wants to merge 1 commit intoNousResearch:mainfrom
simantak-dabhade wants to merge 1 commit intoNousResearch:mainfrom
Conversation
49e15a3 to
fd8715b
Compare
Author
|
Hey @alt-glitch @rob-maron — gentle nudge on this one when you have a minute 🙏 This PR adds TinyFish as a cloud browser provider, closely following the pattern from #5628 (Firecrawl) and #5750 (Browser Use) — same file surface, same registry wiring, same env-var + docs structure. Just rebased onto latest Happy to address any feedback. Thanks! |
Author
|
Looping in @teknium1 as well in case @alt-glitch and @rob-maron are heads-down on other things — no worries if not, just want to make sure this doesn't fall off the radar. PR is still rebased clean and mergeable. Happy to address anything. 🙏 |
Adds TinyFish (https://tinyfish.ai) as a cloud browser provider alongside Browserbase, Browser Use, and Firecrawl. All browser tools route through TinyFish's cloud browser via CDP when selected. - `tools/browser_providers/tinyfish.py` — `TinyFishBrowserProvider` implementing `CloudBrowserProvider` - `tools/browser_tool.py` — register under `"tinyfish"` in `_PROVIDER_REGISTRY` - `hermes_cli/tools_config.py` — add to onboarding provider picker - `hermes_cli/config.py` — add `TINYFISH_API_KEY`, `TINYFISH_API_URL`, `TINYFISH_BROWSER_TIMEOUT`; bump config version 12 → 13 - `hermes_cli/nous_subscription.py` — add `tinyfish` to label mapping and feature state resolver - `website/docs/` — updated browser docs and env var reference - `tests/tools/test_browser_camofox_state.py` — bump expected config version to 13 Note: `close_session()` and `emergency_cleanup()` are intentional no-ops — TinyFish has no explicit delete endpoint; sessions auto-expire on inactivity. The managed gateway path (`resolve_managed_tool_gateway("tinyfish")`) is wired up for future Nous Portal support without requiring a follow-up code change. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
fd8715b to
9435d50
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds TinyFish as a cloud browser provider alongside Browserbase, Browser Use, and Firecrawl. All browser tools route through TinyFish's cloud browser via CDP when selected.
TinyFish provides low-latency cloud browsers with built-in stealth and proxies. Sessions are created via a simple POST request that returns a CDP websocket URL — Hermes connects to it and drives the browser as normal.
Changes
tools/browser_providers/tinyfish.py—TinyFishBrowserProviderimplementingCloudBrowserProviderABCtools/browser_tool.py— register under"tinyfish"key in_PROVIDER_REGISTRYhermes_cli/tools_config.py— add TinyFish to the onboarding provider pickerhermes_cli/config.py— addTINYFISH_API_KEY,TINYFISH_API_URL,TINYFISH_BROWSER_TIMEOUT; bump config version 12 → 13hermes_cli/nous_subscription.py— addtinyfishto browser label mapping and feature state resolverwebsite/docs/reference/environment-variables.md— document the three new env varswebsite/docs/user-guide/features/browser.md— add TinyFish setup sectiontests/tools/test_browser_camofox_state.py— bump expected config version to 13Setup
# Add to ~/.hermes/.env TINYFISH_API_KEY=your_key_hereGet your API key at agent.tinyfish.ai/api-keys. Then select TinyFish as your browser provider:
hermes setup tools # → Browser Automation → TinyFishOptional settings:
Implementation notes
close_session()andemergency_cleanup()are intentional no-ops (not laziness — there's genuinely no delete endpoint).X-API-Keyrather thanAuthorization: Bearer, unlike the other providers.resolve_managed_tool_gateway("tinyfish")is wired up in_get_config_or_none()so the Nous Portal path works in a future pass without a code change.hermes setup tools.Test plan
hermes setup tools→ TinyFish appears in provider picker with tagline "Low latency browser with stealth & proxies"browser.cloud_provider: tinyfishin~/.hermes/config.yamlTINYFISH_API_KEYset →is_configured()returnsTrue; unset →Falsehermes→ ask agent to navigate to a URL → TinyFish session created, CDP URL returned, browser connectspytest tests/tools/test_browser_camofox_state.pypasses with config version 13