Use TinyFish to run a browser agent from a starting URL and natural-language goal, search the web, or fetch rendered page content.
TinyFish exposes three surfaces through this block:
- Agent — natural-language browser automation on live websites. Charged per step from a prepaid wallet.
- Search — ranked web results with titles, snippets, and URLs. Free.
- Fetch — up to 10 URLs at a time rendered and extracted as clean markdown, HTML, or a JSON document tree. Free.
With TinyFish in Sim, you can:
- Automate browser tasks: Navigate portals and retrieve data when the site is reachable and the agent has the required access.
- Validate structured results: Supply a JSON Schema in Output Schema and inspect
schemaValidationfor mismatches before trusting the output. - Configure browser access: Switch Browser Engine to
stealthwhen the site requires the stealth engine, and enable the Tetra proxy with a country when the page is geo-restricted. - Stay logged in between runs: Enable Use Browser Profile to start a run from a Browser Context Profile — saved browser state you log into once on TinyFish. List Browser Profiles returns the ids to choose from; leaving the id empty uses your default profile. Pair it with the vault so an expired session can be repaired.
- Use vault credentials: Connect a password manager to TinyFish's vault, then enable Use Vault Credentials and scope a run to specific credential URIs. List Vault Items returns those URIs as display-safe metadata — labels, domains, field names — rather than returning secret values in the listing. The remote agent uses the selected credentials during its run.
- Run work that outlives a step: Start Agent Run queues an automation and returns a run ID immediately; Get Run, Cancel Run, and List Runs track it afterwards, and a webhook URL can notify you on completion.
- Gather web sources: Pair Search and Fetch URLs to gather current sources before an agent writes or answers.
Choosing an operation
Writing a good goal
The goal is handed to the agent's model verbatim, so it behaves like a prompt. Name the destination, the data, and the stopping condition — "open the pricing page and collect every plan name and monthly price" beats "get pricing". Start the run as close to the target page as you can: every navigation the URL saves is a step you are not billed for. Use Agent Mode strict when the run is a test that should fail loudly rather than improvise.
API key and hosted keys
When hosted keys are enabled for the deployment, Run Agent, Search, and Fetch URLs can use Sim’s TinyFish key, metered to the workspace. Agent runs are billed per step; Search and Fetch currently have no provider usage charge. Check TinyFish pricing for current rates and limits. You can bring your own key in Settings → API Keys to bill TinyFish directly instead.
Start Agent Run, Get Run, Cancel Run, List Runs, List Vault Items, and List Browser Profiles require your own key. An async run accrues its charge after the request returns, so there is nothing for Sim to meter at call time.
Errors
A failed automation comes back as HTTP 200 with the failure inside the run's own error object, so read status rather than assuming success. The category tells you what to do: AGENT_FAILURE means the goal or the site needs attention, SYSTEM_FAILURE is worth retrying after retryAfter seconds, and BILLING_FAILURE means the TinyFish wallet is empty. All of that is on the block's error output, so a workflow can branch on it without parsing a message string.
Use the block
Give a web agent a natural-language goal and let it drive a real browser on supported, reachable sites, queue and track long-running automations, search the web, and fetch pages as clean markdown.
Actions
TinyFish Run Agent
Run a TinyFish web agent against a website and wait for it to finish, returning the structured result it extracted
TinyFish Start Agent Run
Queue a TinyFish web agent run and return its run ID immediately, without waiting for the automation to finish
TinyFish Get Run
Get the status, extracted result, and step history of a TinyFish automation run by its ID
TinyFish Cancel Run
Cancel a queued or in-progress TinyFish automation run by its ID
TinyFish List Runs
List TinyFish automation runs, optionally filtered by status, goal text, or creation date
TinyFish Search
Search the web with TinyFish and get ranked results with titles, snippets, and URLs
TinyFish Fetch
Fetch up to 10 URLs with TinyFish, rendering JavaScript when needed, and return clean extracted content
TinyFish List Vault Items
List the credentials available from password managers connected to TinyFish, with the URIs an agent run can be scoped to
TinyFish List Browser Profiles
List the Browser Context Profiles saved on the TinyFish account, with the ids an agent run can start from to reuse a logged-in session