Skip to main content
Twin’s Web Agent automates tasks that happen inside websites — multi-step flows, logins, dynamic pages — by controlling a browser autonomously. It’s powerful, but it’s also the most expensive and least reliable execution mode in Twin.
Browser automation consumes significantly more credits than API-based execution. Always prefer APIs and built-in tools when available. See Tips and Tricks for the recommended priority order.
Run a website the Web Agent visits? See For Website Owners for who operates it, how it uses your content, and how to identify or contact us.

Important: This Is Not Your Local Browser

The Web Agent does not access your local browser (Chrome, Safari, Arc, etc.). It runs in an embedded window on an isolated cloud computer dedicated to your agent. Think of it as a virtual computer that Twin spins up for you — completely separate from your machine. Your local browser, cookies, and sessions are never touched.

When Does the Web Agent Activate?

The Web Agent is not something you manually turn on. It’s triggered in two situations:

No API available

The agent realizes there’s no API for the service or action it needs to perform, so it falls back to browser automation.

Missing API scope

An API exists but doesn’t expose the specific action needed. The agent switches to the browser for just that step.
Many agents end up being a mix of API and browser automation — using APIs for most tasks and the browser only when a specific scope or endpoint isn’t available.
Airtable has a comprehensive API, but the “Create Base” scope is not available through it. Twin is smart enough to detect this automatically — it uses the browser only for the base creation step, then switches back to the API for everything else.This hybrid approach keeps costs down while still handling edge cases that APIs can’t cover.

Permission Before Browser Tasks

During the build phase, if the agent determines it needs browser automation, it will ask for your permission before launching it — because browser tasks are more expensive. You’re always in control: you can approve the browser task, or ask the agent to find an alternative approach.
Check the Tips and Tricks page for guidance on how to write instructions that prefer APIs over browser automation, keeping your costs low.

How the Web Agent Works — Step by Step

Here’s an example of the Web Agent filling out a web form. This is a simple demo task, but form submission is a common and practical use case.

Scrape the page first

Before launching the browser, the agent scrapes the target page to understand its structure — what fields exist, what’s expected, and what actions are needed. This pre-analysis step saves credits by planning the browser session efficiently.
Agent analyzing a web form before launching the browser

The agent scrapes the form page first, identifies the fields, and asks you for the details it needs

Review the browser task before launch

Before the browser session starts, the Builder shows you the exact plan for what the Web Agent will do — target URL, fields to fill, actions to take. You can Launch it as-is, Edit the prompt to adjust the behavior, or Cancel entirely.You’re always in control of what the browser agent does before it starts.
Permission dialog showing the browser automation plan

Review the browser automation goal — you can launch, edit, or cancel before any browser action happens

Watch it execute in the embedded browser

An embedded browser window opens and you can watch the agent work step by step in real time. It navigates, clicks, fills forms, and interacts with the page autonomously.You can cancel at any time if something goes wrong.
Live browser view of the Web Agent filling a form

The embedded cloud browser showing the agent filling out the form — you can cancel at any time

Returns to API mode

Once the browser task is done, the agent closes the browser session and continues using APIs for any remaining steps. This hybrid approach minimizes cost.

Human-in-the-Loop: Login & Authentication

For tasks that require logging into a gated app (LinkedIn, Reddit, etc.), the Web Agent automatically detects login pages and pauses to give you control. When this happens:
  1. The agent recognizes the login page and stops
  2. You get full control of the browser — type, scroll, click, use 2FA
  3. Once logged in, you hand control back to the agent
  4. The agent continues from where you left off and stores the cookies to keep you logged in for future runs
This means you only need to log in once — subsequent runs will reuse the session automatically (until cookies expire, see Credentials & Cookies below).

Scheduling Web Agent Tasks

Web Agent tasks can be scheduled just like any other agent — using cron-based schedules, event-based triggers, or the REST API. Once an agent is built and deployed, it runs autonomously on schedule regardless of whether it uses APIs, browser automation, or both. See Triggers for all the ways to automate agent execution.

Cost Considerations

Browser automation is the most credit-intensive execution mode. To keep costs under control: See the Tips and Tricks page for detailed guidance on writing API-first instructions.

Credentials & Cookies

Since each agent gets a dedicated cloud browser, login sessions work just like on your desktop browser. When your agent logs into an app, we store the cookies so that on the next run or visit, the agent is still logged in. However, cookie expiration varies by service — some expire in hours, others last for months. Twin has no control over how long a service keeps its session cookies active.

Cookies are persisted

Login sessions carry over between runs, just like in a regular browser

Expiration varies

Some services expire sessions quickly, others keep them for months — we can’t control this
Coming soon: Password Manager. You’ll be able to store your credentials securely inside Twin. When cookies expire, the Web Agent will automatically pick up your stored credentials and re-authenticate — no manual intervention needed.

For Website Owners

This section is for people who run websites the Web Agent visits. It covers who operates the agent, what it does with your content, and how to identify or contact us.

Who Operates It

Twin operates the Web Agent as a service for its users. It is an intermediary agent: each browser session is started on behalf of one Twin user, to complete a task that user asked for, either in a conversation or in an automation they scheduled.
  • It does not crawl. It opens the page a task starts from and follows only the links that task needs. It does not build a search index or collect pages in bulk.
  • It acts only for the user. It signs in only with credentials the user enters themselves, and acts only inside that user’s own account.
  • It browses at a human pace. Each session drives a single browser, and an AI model decides each step. A task can run a few sessions at once, for example to compare offers across sites.

How We Use Your Content

  • Content from your pages is used only to complete the task of the user who started the session, and the results go only to that user.
  • Twin does not use it to train or fine-tune AI models, and the AI model providers that run the agent do not train on it either. We do not use it for advertising.
  • Session data, such as screenshots, the session replay, and page content the agent saw, stays in that user’s workspace so they can review what the agent did, until they delete it. Deletion follows our Privacy Policy.
In Content Signals terms: ai-input yes, search no, ai-train no.

robots.txt

The Web Agent does not crawl, so it does not read robots.txt. Like a person’s browser, it visits only the pages a user’s task needs. To limit or block it, identify its requests as described below, or contact us.

How to Identify It

Web Bot Auth signatures. The Web Agent signs requests with HTTP Message Signatures (RFC 9421), following the Web Bot Auth drafts. Signed requests carry this header:
Verify signatures with the public keys published at:
User agent. Some requests also identify the agent in the user agent string:

Contact

For questions, rate concerns, or to ask us to block or allow the agent on your site, email support@twin.so. Include your domain and, if you have them, the timestamps of the requests.

FAQ

No. The Web Agent runs on an isolated cloud computer dedicated to your agent. Your local browser, cookies, and sessions are never accessed or affected.
You generally don’t choose — the agent decides automatically. It will always prefer APIs and built-in tools. It only falls back to the browser when an API isn’t available or doesn’t support the required action. See Tips and Tricks for how to guide this behavior.
Yes. A live browser session shows the agent’s actions step by step, making the process fully transparent.
The Web Agent works with most modern websites, including dynamic and authenticated ones. Performance depends on site complexity and access constraints.
Yes. The Web Agent operates within a secure, isolated execution environment. Credentials are handled securely and are not shared outside your workspace.

Learn How to Optimize Costs

Read Tips and Tricks for API-first best practices