- Firecrawl reads the open web. Search for pages, pull them as Markdown or typed JSON, crawl a whole site, extract fields against a schema. Fast, no session to manage.
- Anchor does the part that needs a real, signed-in browser. Sign in with stored credentials and MFA, re-authenticate when a session expires, then finish a multi-step task behind the login: fill a form, file a request, update a record.
Prerequisites
- Python 3.10 or higher, or Node.js 22 or higher
- A Firecrawl API key from firecrawl.dev/app/api-keys
- An Anchor API key from the Anchor dashboard
- An Anchor identity for the app you sign in to. Managed authentication needs the Starter plan or higher.
This guide uses Net Sweet (
netsweet.co), the demo app that ships with every Anchor account, and its demo.admin identity. You can run every step below against it with no third-party account. Find the identity ID under Identities.


Setup
- Set your API keys:
- Install dependencies:
playwright install or launch a browser locally. The browser runs in Anchor’s cloud, and the SDK drives it over Anchor’s API.
Choose your browser power
Not every page needs the same browser. Pick the session configuration for the target and move up only when a site fights back. The task is identical in each tier; only the session changes.
Agent-vpn is
session.proxy. Captcha solving needs an active proxy or a browser profile, and extra stealth needs an active proxy. Set session.timeout so a forgotten session ends itself. The example below reads the tier from an env var (ANCHOR_TIER=light|standard|max, default standard).
Part 1: Research with Firecrawl
Search for the vendor, scrape its pricing page into typed JSON with a schema. No browser session yet.Part 2: Act on it with Anchor
Start a session signed in with your identity, then hand the chosen plan toperform-web-task. Anchor fills and submits the request in the portal, and the finally block ends the session so it stops billing.
The full, runnable script:
Expected output
This output is from the Python script. Session IDs differ on every run, and the agent may take a different number of steps.



Use it from an MCP client instead
Both products run hosted MCP servers, so you can do the same thing from a prompt in Claude Code, Cursor or any MCP client, no glue code. Firecrawl’s server is keyless for search and scrape; add a key for higher limits.Next steps
- Move up a session tier with proxies, captcha solving and extra stealth for sites that block automated browsers
- Create an identity for your own app with Managed Authentication, including MFA
- Return structured JSON from any task with
output_schema - Watch or debug runs with session recordings and live view
- Explore Firecrawl’s crawl and extract for larger research jobs

