NEVER TRAINED ON · PRIVATE BY DEFAULT · BUILT BY MOZILLA

GITHUB

Integrate with your model stack

Give a Hermes agent web tasks with Tabstack

Install one plugin, enable it, set a key, and a Hermes agent can run multi-step web tasks, read pages, extract matching JSON, and research with citations. No browser on the box Hermes lives on.

A Hermes agent can run a multi-step web task without a browser installed next to it. Install tabstack-hermes, enable the plugin, set a key, and Hermes gains a tabstack toolset with five tools, including automate_browser_task: the model describes the job in plain language, Tabstack runs the browser steps, and the tool returns the final answer plus whatever it extracted and the pages it visited.

This guide walks through the setup, a first task, the controls that keep a task on script, and the boundaries of the hosted endpoint. Everything below is checked against the plugin source and README, the Hermes plugin docs, and the Tabstack Automate guide. If you want the short answer to “can an AI agent automate browser tasks without running a browser,” the Automate page answers it directly; this is the Hermes-specific walkthrough.

What you need

  • A working Hermes install (hermes on your PATH), version 0.21 or newer for the --oneshot examples below. Python 3.11 or newer, the same floor as hermes-agent.
  • A Tabstack API key from console.tabstack.ai.
  • A model that supports tool calling. Hermes acts through tool calls, so a model that can only chat cannot hand a task to Tabstack. If you run your own model, see the section at the end.

Step 1: install and enable the plugin

If you installed Hermes with its install script, skip to the git install below: that environment has no pip.

pip install tabstack-hermes
hermes plugins enable tabstack
hermes config set TABSTACK_API_KEY <your-key>

Run pip install in the same Python environment Hermes runs from, since Hermes only discovers pip plugins installed there.

Plugins in Hermes are opt-in. The pip package puts the plugin on Hermes’ discovery path; hermes plugins enable tabstack is what lets it load. hermes config set writes the key to ~/.hermes/.env, and the plugin reads it through Hermes’ config helpers, so the key also works in gateway sessions, delegated subagents, and subprocess runs where the variable was never exported.

With the Hermes install script, or if you prefer git over PyPI (this also installs the Tabstack SDK into Hermes’ environment):

hermes plugins install Mozilla-Ocho/tabstack-hermes/tabstack_hermes --enable
hermes config set TABSTACK_API_KEY <your-key>

The git install lands the plugin at ~/.hermes/plugins/tabstack/. The pip install loads it from site-packages through the package’s entry point, so nothing appears in that folder.

Step 2: confirm the toolset

hermes plugins list      # tabstack  enabled
hermes tools list        # the tabstack toolset, enabled

All five tools land in a single tabstack toolset, so they enable and disable together in hermes tools or in-session with /tools:

Tool What it does
automate_browser_task Run a multi-step web task described in natural language.
extract_page_content Fetch a page as clean Markdown.
extract_structured_data Pull fields from a page into a JSON shape you define.
generate_structured_data Fetch a page, then transform it into the JSON you describe.
research_question A cited answer synthesized from multiple live sources.

The names and inputs match the langchain-tabstack package and Tabstack’s TypeScript adapters, so a prompt written against one framework carries over to Hermes unchanged.

Without a key the plugin still loads and the tools still appear in hermes tools, but a check_fn keeps them out of dispatch until a key is set. The SDK is imported and the client built on the first tool call, so a session that never touches Tabstack pays no startup cost.

Step 3: hand Hermes a web task

Start a session and describe the job the way you would to a person. Name the starting page and state the output you want:

hermes chat -q "Open https://github.com/trending, find the top 3 trending repositories, and give me their names and star counts" --oneshot

The model picks automate_browser_task from the tool descriptions, sends the task and URL to Tabstack, and waits while the browser steps run inside the call. --oneshot answers and exits; drop it to keep the session open and follow up. On Hermes builds older than 0.21, -q alone answers and exits and --oneshot is rejected, so leave the flag off there.

Tips from the Automate guide that make tasks land more often:

  • Be specific. “Extract the top 3” beats “extract products.”
  • Mention quantities: “first 5,” “all results on the page.”
  • Describe interactions: “click Next,” “filter by size,” “submit the form.”
  • State the output: “return their names and prices,” “return the confirmation text.”

What comes back

The tool consumes Tabstack’s event stream non-interactively and returns one JSON object the model can read:

{
  "answer": "<the final answer text>",
  "success": true,
  "iterations": "<agent steps taken>",
  "actions": "<browser actions taken>",
  "duration_ms": "<run time in milliseconds>",
  "extracted": ["<each agent:extracted payload, in order>"],
  "pages_visited": [{ "url": "<page url>", "title": "<page title>" }]
}

extracted collects every agent:extracted event and pages_visited every browser:navigated event, so the model gets the trail, not just the conclusion. If the run ends without a complete event, the tool returns success: false with whatever was gathered so far.

Handlers never raise. A failure comes back as JSON the model can act on. A run that fails partway returns the reason:

{"error": "Automation failed: <message>"}

A request the API rejects, such as a bad key or a rate limit, returns the SDK’s message and the HTTP status:

{"error": "<SDK error message>", "status": 429}

Step 4: keep the task on script

automate_browser_task accepts optional inputs the model passes only when it has a reason to, so omitting them keeps Tabstack’s defaults:

Input What it governs
url The starting page, and the host the action firewall lets the agent navigate. Omit it for a general question and the agent picks its own starting point.
guardrails What the agent must not do, in plain language: “Browse and extract only. Do not click buttons, submit forms, or add anything to a cart.”
data A JSON object of context for form filling, mapped to fields by key.
country An ISO 3166-1 alpha-2 code for geotargeted browsing, for example "US". The plugin sends it to the API as geo_target.country.
max_iterations Cap on agent steps. Tabstack’s default is 50 (1 to 100).
max_validation_attempts Cap on the agent re-checking that its final step landed. Tabstack’s default is 3 (1 to 10).

You can put the constraint in the prompt itself and let the model fill the fields:

hermes chat -q "On https://news.ycombinator.com, list the titles of the first 10 front-page stories. Browse and extract only; do not click into comments or submit anything. Keep it under 15 steps." --oneshot

For a read-only job, write the guardrail every time. It is the difference between a task that stays on script and one that page content can redirect; the Automate page lists the controls, and how Tabstack handles indirect prompt injection explains why they exist.

Route Hermes’ own web_extract through Tabstack

The plugin also registers a tabstack web provider, so Hermes’ built-in web_extract tool can fetch through Tabstack without the model learning a new tool:

# ~/.hermes/config.yaml
web:
  extract_backend: "tabstack"

Extract only. Tabstack has no ranked search endpoint, so web_search keeps using whichever backend you already have. For synthesis across sources, the research_question tool returns the answer and its citations in one call.

Behaviour worth knowing: a batch fans out 5 URLs at a time with a 60-second ceiling per URL, one failing URL returns an error entry for that URL without failing the batch, and format="html" is ignored because Tabstack returns Markdown.

Where the hosted task stops

  • It does not log in. The hosted Automate endpoint runs tasks on websites and cannot sign in to accounts. Do not send passwords, and do not build a flow that depends on being signed in. When the engine must run under your control, Pilo is Mozilla’s open-source self-hosted path.
  • The action firewall stays on. Tabstack’s firewall is on by default: it blocks the agent from filling and submitting form fields without approval, and from navigating to any host other than the starting url and the hosts listed in trusted_hostnames. A site named only in the task text is still blocked. The plugin passes task, url, guardrails, data, country, and the two caps, and does not set trusted_hostnames, unsafe_mode, or interactive, so the firewall’s defaults apply to every task Hermes sends. A job that needs form submission on a host you trust, or a pause for a person to supply form values, is one for the SDK directly.
  • No pause for input. Interactive mode is left off on purpose: Hermes dispatches a tool once and has no way to service a mid-task form request. The tool runs to completion and returns.

When a job needs those controls, call the SDK from a script instead of the plugin. The Python call matches the Python Automate reference:

import os
import tabstack
from tabstack import Tabstack

try:
    with Tabstack(api_key=os.getenv("TABSTACK_API_KEY")) as client:
        stream = client.agent.automate(
            task="Find the top 3 trending repositories and extract their names and star counts",
            url="https://github.com/trending",
            guardrails="browse and extract only",
            max_iterations=30,
        )
        for event in stream:
            if event.event == "complete":
                if event.data.success:
                    print(event.data.final_answer)
                elif event.data.error:
                    print(f"Failed ({event.data.error.code}): {event.data.error.message}")
            elif event.event == "error":
                print(event.data.error.message)
except tabstack.APIStatusError as e:
    print(f"API error {e.status_code}: {e.message}")

A run that stops early, for example at the step cap, still ends with a complete event, so check success before treating final_answer as the result.

The Automate guide covers interactive, trusted_hostnames, and unsafe_mode, and the risk that comes with bypassing the firewall on a host you do not fully trust.

If you run your own model

The setup above does not change when the model is local. Hermes talks to any OpenAI-compatible endpoint through its custom provider, and the Hermes Ollama guide shows the config:

# ~/.hermes/config.yaml
model:
  default: "gemma4:31b"
  provider: "custom"
  base_url: "http://localhost:11434/v1"

Two things matter more with a local model. First, pick one that supports tool calling; the Hermes guide keeps a current list, and a model without it can chat but cannot call automate_browser_task. Second, the web work happens outside the model either way: Tabstack runs the browser, renders the page, and returns the result, so the model’s job is to describe the task well and read the JSON that comes back. Your prompts and conversation stay on your hardware; the task, its inputs (url, guardrails, data), and the page content for that task go to Tabstack. Never trained on. Private by default. Built by Mozilla. The Trust page lists what the hosted task sends and the account controls.

Next steps

Make a research call

One question in, a cited answer out. 10,000 free credits and no card.

START FREE

Read the guide, then make the call.

Start with 10,000 free credits. No credit card required.

curl -fsSL https://tabstack.ai/install.sh | sh