Skip to main content
Steel is a developer platform that provides cloud browser infrastructure for web agents. By integrating with Notte, you can use Steel’s browser infrastructure to run reliable browser agents using Chrome DevTools Protocol (CDP).

Adding Steel to existing Notte implementations

1. Install Notte and Steel SDK

uv pip install notte-sdk
uv pip install steel

2. Initialize Notte and Steel

Import the libraries and create a cloud browser session:
steel_init.py

STEEL_API_KEY = os.getenv("STEEL_API_KEY")

# Initialize clients
steel = Steel(steel_api_key=STEEL_API_KEY)
client = NotteClient()

# Create a browser session on Steel

3. Connect Notte to Steel’s CDP endpoint

Use Steel’s CDP URL to create a Notte session:
steel_connect.py

# Connect Notte to Steel's browser via CDP
with client.Session(cdp_url=steel_session.websocket_url) as session:
    # Create an agent with a task
    agent = client.Agent(session=session, max_steps=10)

    # Run your automation task
    result = agent.run(task="extract pricing plans from https://www.notte.cc")

Complete example script

Here’s a complete, runnable script that demonstrates the full integration:
steel_complete.py

STEEL_API_KEY = os.getenv("STEEL_API_KEY")

steel = Steel(steel_api_key=STEEL_API_KEY)
client = NotteClient()

# Create a browser session on Steel
steel_session = steel.sessions.create()

try:
    # Connect Notte to Steel's browser via CDP
    with client.Session(cdp_url=steel_session.websocket_url) as session:
        agent = client.Agent(session=session, max_steps=10)

        result = agent.run(task="extract pricing plans from https://www.notte.cc")

        print(f"Task completed: {result.answer}")

except Exception as e:
    print(f"Error during automation: {e}")

finally:
    steel.sessions.release(steel_session.id)
    print("Steel session released")
Steel’s SDK may evolve. Refer to Steel’s documentation for the most up-to-date API details.

Benefits of using Steel with Notte

  • No local browser management: Run agents without installing or maintaining browsers locally
  • Cloud infrastructure: Leverage Steel’s managed browser infrastructure
  • Scalability: Launch multiple browser sessions in parallel for concurrent tasks
  • Session control: Programmatic control over browser lifecycle