← all repositories
oxylabs/browser-agent-py

Browser automation for people who hate CSS selectors

This Python SDK lets you steer a remote browser through Oxylabs’ AI Studio using nothing but natural language prompts and a credit balance.

1.4k stars Agents
browser-agent-py
Not currently ranked — collecting fresh signals.
star history

What it does

The repository is a thin Python client for Oxylabs’ Browser Agent, a hosted service that drives a real browser via API. You send a URL and a plain-English instruction—say, “find the price and take a screenshot”—and the cloud agent executes clicks, form fills, scrolling, and data extraction on your behalf. Results come back as JSON, Markdown, HTML, or base64-encoded PNGs, optionally shaped by an auto-generated or custom schema.

The interesting bit

The heavy lifting (vision parsing, DOM reasoning, action planning) happens entirely on Oxylabs’ servers; this repo is essentially a typed wrapper around their REST API. The real pitch is that you never write a CSS selector or sleep statement—the agent supposedly figures out the mechanics from your prompt, which is either liberating or opaque depending on your tolerance for black-box debugging.

Key highlights

  • Natural language control over multi-step browsing sessions (click, type, navigate, wait, extract).
  • Structured data extraction via OpenAPI-style schemas, with an optional schema generator.
  • Four output formats: JSON, Markdown, HTML, and PNG screenshots.
  • Geo-targeting support through proxy location parameters.
  • Free trial includes 1,000 credits; paid plans start at $12/month for 3,000 credits and 1 req/s.

Caveats

  • The README admits that “sites with advanced bot detection may require advanced setup,” so anti-bot success is not guaranteed out of the box.
  • This is a client SDK, not a self-hosted engine; you are tethered to Oxylabs’ pricing, rate limits, and uptime.
  • JSON output requires an explicit schema, which adds a configuration step the natural-language pitch tries to hide.

Verdict

Good fit for data teams that want to automate brittle web workflows without maintaining Selenium scripts, provided they are comfortable paying per request and trusting a remote black-box agent. If you need on-premise control, custom bot-evasion, or predictable latency, look elsewhere.

Frequently asked

What is oxylabs/browser-agent-py?
This Python SDK lets you steer a remote browser through Oxylabs’ AI Studio using nothing but natural language prompts and a credit balance.
Is browser-agent-py open source?
Yes — oxylabs/browser-agent-py is an open-source project tracked on heatdrop.
How popular is browser-agent-py?
oxylabs/browser-agent-py has 1.4k stars on GitHub.
Where can I find browser-agent-py?
oxylabs/browser-agent-py is on GitHub at https://github.com/oxylabs/browser-agent-py.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.