بنقرة واحدة
browser-ai
Headless web automation for AI — navigate pages, extract DOM content, and capture screenshots
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Headless web automation for AI — navigate pages, extract DOM content, and capture screenshots
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Self-improving research loops with hypothesis generation, experiment design, and result analysis
Full-stack research and code generation pipeline - research, code, and create
Natural language web UI control — element detection, targeted interaction, and automated form filling
Public opinion analysis and sentiment at scale — sentiment scoring, stance detection, and multi-dimensional bias measurement.
Meta-specialist that auto-discovers and scaffolds new specialists from trending GitHub repos
Safe multi-language code execution via alibaba/OpenSandbox
| name | browser_ai |
| display_name | Browser AI Specialist |
| description | Headless web automation for AI — navigate pages, extract DOM content, and capture screenshots |
| version | 0.1.0 |
| source_repo | lightpanda-io/browser |
| license | MIT |
| tier | core |
| capabilities | ["browse","web_automation","scrape","screenshot"] |
| allowed_tools | ["navigate","extract_content","take_screenshot"] |
| output_formats | ["python_api","cli","mcp_server","agent_skill","rest_api"] |
The Browser AI specialist wraps lightpanda-io/browser
— a lightweight, Zig-written headless browser engine built specifically for AI agent workloads.
It provides a composable pipeline for web navigation, DOM content extraction, and screenshot
capture, all accessible through a single execute() call or as standalone tool functions.
| Tool | Description | Parameters | Side Effects |
|---|---|---|---|
navigate | Load a URL and return load metadata | url, wait_for | None |
extract_content | Extract DOM content via CSS selector | url, selector, format | None |
take_screenshot | Capture a PNG of the rendered page | url, viewport | Writes PNG to /tmp/browser_ai/screenshots/ |
navigate
url: str — fully-qualified URL to load (required)wait_for: str | None — CSS selector or browser event to await before page-ready
(default: None, waits for DOMContentLoaded)extract_content
url: str — URL of the page to extract from (required)selector: str — CSS selector targeting the element(s) to extract (default: "body")format: str — output format: "text" | "html" | "markdown" (default: "text")take_screenshot
url: str — URL of the page to screenshot (required)viewport: str — viewport size as "WIDTHxHEIGHT" (default: "1920x1080")SpecialistRequest
│
▼
navigate(url, wait_for)
│ → status_code, title, final_url, load_time_ms
▼
extract_content(final_url, selector, format)
│ → content, selector_matched, element_count
▼
take_screenshot(final_url, viewport)
│ → screenshot_path, dimensions, format
▼
SpecialistResponse(result={url, navigation, extraction, screenshot})
from agents.specialists.browser_ai.agent import BrowserAiSpecialist
from oss_agent_lab.contracts import Intent, Query, SpecialistRequest
specialist = BrowserAiSpecialist()
request = SpecialistRequest(
intent=Intent(
action="scrape",
domain="web_automation",
confidence=0.95,
parameters={
"url": "https://github.com/lightpanda-io/browser",
"selector": "article",
"format": "markdown",
"viewport": "1280x800",
},
),
query=Query(user_input="https://github.com/lightpanda-io/browser"),
specialist_name="browser_ai",
)
response = await specialist.execute(request)
print(response.result["extraction"]["content"])
print(response.result["screenshot"]["screenshot_path"])
oss-lab run browser_ai "https://github.com/lightpanda-io/browser"
from agents.specialists.browser_ai.tools import navigate
result = navigate("https://example.com", wait_for="#main-content")
print(result["title"], result["load_time_ms"])
from agents.specialists.browser_ai.tools import extract_content
result = extract_content(
url="https://example.com",
selector="article",
format="markdown",
)
print(result["content"])
from agents.specialists.browser_ai.tools import take_screenshot
result = take_screenshot(url="https://example.com", viewport="1280x800")
print(result["screenshot_path"])
Wraps lightpanda-io/browser — a fast, memory-efficient headless browser written in Zig, designed to serve AI agent workloads with low overhead and a clean programmatic API.