open-agents-ai 0.35.2 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ An autonomous multi-turn tool-calling agent that reads your code, makes changes,
29
29
 
30
30
  ## Features
31
31
 
32
- - **47 autonomous tools** — file I/O, shell, grep, web search/fetch/crawl, memory (read/write/search), sub-agents, background tasks, image/OCR/PDF, git, diagnostics, vision, desktop automation, structured files, code sandbox, transcription, skills
32
+ - **48 autonomous tools** — file I/O, shell, grep, web search/fetch/crawl, memory (read/write/search), sub-agents, background tasks, image/OCR/PDF, git, diagnostics, vision, desktop automation, browser automation, structured files, code sandbox, transcription, skills
33
33
  - **Moondream vision** — see and interact with the desktop via Moondream VLM (caption, query, detect, point-and-click)
34
34
  - **Desktop automation** — vision-guided clicking: describe a UI element in natural language, the agent finds and clicks it
35
35
  - **Auto-install desktop deps** — screenshot, mouse, OCR, and image tools auto-install missing system packages (scrot, xdotool, tesseract, imagemagick) on first use
@@ -48,6 +48,7 @@ An autonomous multi-turn tool-calling agent that reads your code, makes changes,
48
48
  - **Code sandbox** — isolated code execution in subprocess or Docker (JS, Python, Bash, TypeScript)
49
49
  - **Structured file reading** — parse CSV, TSV, JSON, Markdown tables with binary format detection
50
50
  - **Multi-provider web search** — DuckDuckGo (free), Tavily (structured), Jina AI (markdown) with auto-detection
51
+ - **Browser automation** — headless Chrome control via Selenium: navigate, click, type, screenshot, read DOM — auto-starts on first use with self-bootstrapping Python venv
51
52
  - **Web crawling** — multi-page web scraping with Crawlee/Playwright for deep documentation extraction
52
53
  - **Task templates** — specialized system prompts and tool recommendations for code, document, analysis, plan tasks
53
54
  - **Auto-expanding context** — detects RAM/VRAM and creates an optimized model variant on first run
@@ -348,6 +349,35 @@ Agent: desktop_click(target="terminal icon", click_type="double")
348
349
 
349
350
  Supports left/right/middle click, single/double click, multi-match selection by index, dry-run mode for verification, and configurable delay for UI transitions.
350
351
 
352
+ ### Browser Automation
353
+
354
+ Headless Chrome automation via Selenium — no display server required. The scrape service auto-starts on first use, creates its own Python venv, and installs all dependencies:
355
+
356
+ ```
357
+ You: go to github.com and screenshot the page
358
+
359
+ Agent: [Turn 1] browser_action(action="navigate", url="https://github.com")
360
+ → Navigated to https://github.com
361
+ [Turn 2] browser_action(action="screenshot")
362
+ → Screenshot captured (1920x1080)
363
+ ```
364
+
365
+ Available actions:
366
+
367
+ | Action | Description |
368
+ |--------|-------------|
369
+ | `navigate` | Go to a URL |
370
+ | `click` | Click element by CSS selector |
371
+ | `click_xy` | Click at viewport coordinates |
372
+ | `type` | Type text into a form element |
373
+ | `screenshot` | Capture the current page |
374
+ | `dom` | Read the page DOM (up to 50K chars) |
375
+ | `scroll` / `scroll_up` / `scroll_down` | Scroll the page |
376
+ | `back` / `forward` | Browser history navigation |
377
+ | `close` | End the browser session |
378
+
379
+ The service runs on `localhost:8130` and uses headless Chrome/Chromium. Requires Python 3.9+ and Chrome or Chromium installed on the system.
380
+
351
381
  ### Setup
352
382
 
353
383
  Moondream runs locally — no API keys, no cloud, your screen data never leaves your machine:
@@ -483,6 +513,7 @@ While the agent is working (shown by the `+` prompt), type to add context:
483
513
  | `web_search` | Search the web (DuckDuckGo, Tavily, Jina AI — auto-detected) |
484
514
  | `web_fetch` | Fetch and extract text from web pages (HTML stripping) |
485
515
  | `web_crawl` | Multi-page web scraping with Crawlee/Playwright for deep documentation |
516
+ | `browser_action` | Headless Chrome automation: navigate, click, type, screenshot, read DOM, scroll, history |
486
517
  | **Structured Data** | |
487
518
  | `structured_file` | Generate CSV, TSV, JSON, Markdown tables, Excel-compatible files |
488
519
  | `structured_read` | Parse CSV, TSV, JSON, Markdown tables with binary format detection |