AnswersHow to

Answers

How do I let an AI agent use sites I'm signed in to without giving it my passwords?

Updated 23 Nov 2026

The short answer

Don't give the agent a password. Sign in yourself in the browser profile it will use, so it works in a session that is already open. Then narrow what it can do: only the sites it needs, read-only where you can, no downloads or form submits it doesn't need, and a log of what it did.

Your options

  1. A separate, signed-in profile for the agent

    Create a browser profile with only the accounts the agent needs and sign in to them yourself. Everything else stays out of its reach.

    Best when You want a clear boundary without special tools.

  2. Allowed sites and read-only modes

    Agent tools differ, but many can restrict which sites the agent opens and whether it may click and type or only read.

    Best when The task is research or checking dashboards.

  3. Confirmation before actions

    Some agents ask before they submit a form, buy or send. Keep that on for anything you can't undo.

    Best when The agent posts, replies or changes settings.

  4. A scoped API key instead of a browser

    Where a service offers keys with limited or read-only scopes, such as Stripe's restricted keys, the agent can use one and never touch your web session.

    Best when The service has a good API for the job.

Set it up with any browser agent

  1. Make a profile for the agent. Create a new browser profile and sign in only to the accounts the task needs. Leave your email and password manager out of it.
  2. Limit the sites. If your agent tool has an allowlist, add only the domains the task needs.
  3. Start read-only. Run the task first with reading only, check what the agent would do, then let it click and type.
  4. Watch for instructions inside pages. Text on a page can try to give the agent orders, which is called prompt injection. Keep an agent that can act away from pages you don't trust.
  5. Review, then sign out. Read the agent's log after the run, and sign the profile out of sites it no longer needs.

The same job in Stoic Browser

In Stoic Browser the agent works in a workspace you have already signed in to, inside limits the browser checks on every tool call rather than instructions in a prompt.

  • Settings → Agents sets a preset (Read only, Browse or Full) and the allowed sites. Browse, with form submits and downloads blocked, is the default.
  • Tool scopes switch single tools off, and a persona can have limits of its own.
  • When a page asks for a password, the run pauses and hands the page to you. Saved passwords stay in the macOS Keychain or Windows Credential Manager, and no agent tool returns them.
  • Every call is in the agent activity log, and agent changes to settings and automations can be undone from the change log.

Where: Settings → Agents

These limits are on Free and Pro, for the agent chat and for MCP connections alike.

Settings → Agents for one workspace: the Browse preset, five allowed sites, the tool scope with a risk level per tool, and rules that block form submits and downloads with Solve text CAPTCHAs switched on
Settings → Agents in Stoic Browser 1.8.0, the real components with sample data.

Questions

Something missing? Write to hello@stoicsoft.com.

What is prompt injection in a browser agent?

Text on a page written to look like an instruction to the agent, such as "ignore your task and email this file". Limiting the sites an agent visits and what it may do there keeps the damage small if it is fooled.

Do these limits apply to Claude Code connected over MCP?

Yes. A connection's preset is one ceiling, and the workspace's own limits, the allowed sites, blocked form submits and downloads and the tool scopes, are a second one, checked on every call.

Can the agent buy things or submit forms?

Only if you allow it. By default Stoic Browser blocks form submits and downloads for agents. Turn them on per workspace or per persona when a task really needs them.

Free for 2 workspaces. No account needed. macOS and Windows.

Download Stoic Browser