Logo of LexmountLexmount Browser
  • Features
  • Quick Start
  • Docs
  • Playground
  • About
Logo of LexmountLexmount Browser

Elastic cloud browser infrastructure for AI agents

GitHubGitHubTwitterX (Twitter)Email
Product
  • Features
  • Quick Start
  • Pricing
  • FAQ
Resources
  • Documentation
  • Changelog
  • Roadmap
Company
  • About
  • Contact
  • Waitlist
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
© 2026 Lexmount Browser All Rights Reserved.

Quick Start

Run your first cloud browser in four steps

This guide walks through the shortest path from console setup to Python automation: create an API key, create a session, open the browser View, and connect the SDK.

Start the guideOpen console
01

API Key

Create credentials for platform and SDK calls.

02

Session

Launch one cloud browser instance on demand.

03

View & Navigate

Open the remote screen and verify page access.

04

Python SDK

Move the same workflow into agent code.

Console Flow

Verify the browser path manually first

Use the console to confirm credentials, session creation, and remote access before putting the flow into code.

01

Create an API key

Sign in to the console, go to API Keys, create a new key, and keep the key plus project ID for SDK access.

Go to Settings / API Keys
Create and copy the new key once
Save the project ID shown on the same page
API Keys
Project credentials
Ready
API Key
sk_live_••••••••••••9f2a
Project ID
project_...
Status
Active
02

Create a session

Open Sessions, click Create, choose the browser mode, and wait for the session to enter the running state.

A session is one cloud browser instance
The platform returns View and CDP connection entries
Stop the session when the task is finished
Create a cloud browser session
03

Use the session to navigate

Open View from the running session. You can type a URL, observe the page, and take over manually when needed.

View displays the remote browser screen
Use the address bar to verify navigation
Copy the CDP endpoint when automation code needs it
Remote View navigation

Python SDK

Connect the same session flow from code

After the console flow is verified, the agent can create and control cloud browsers directly through the SDK.

Prepare credentials

Use environment variables so API keys do not appear in source code.

export LEXMOUNT_API_KEY="sk_..."
export LEXMOUNT_PROJECT_ID="project_..."
The SDK reads the two environment variables above by default.
connect_url is compatible with Playwright connect_over_cdp.
Use context manager or close the session after the task completes.
Install dependencies
shell
pip install lexmount playwright
playwright install chromium
Create a browser and navigate
python
from lexmount import Lexmount
from playwright.sync_api import sync_playwright

client = Lexmount()

with client.sessions.create(browser_mode="normal") as session:
    print("session:", session.id)
    print("view:", session.inspect_url)

    with sync_playwright() as p:
        browser = p.chromium.connect_over_cdp(session.connect_url)
        context = browser.contexts[0] if browser.contexts else browser.new_context()
        page = context.pages[0] if context.pages else context.new_page()

        page.goto("https://example.com", wait_until="domcontentloaded")
        print("title:", page.title())

        browser.close()

Ready to connect an agent to cloud browsers?

Start from the console, confirm one session works, then move the workflow into SDK code.

Create API keyRead docs