open-agents-ai 0.35.2 → 0.37.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
+ - **51 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, temporal agency (scheduler/reminders/agenda), 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,8 @@ 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
52
+ - **Temporal agency** — schedule future tasks via OS cron, set cross-session reminders, flag attention items — startup injection surfaces due items automatically
51
53
  - **Web crawling** — multi-page web scraping with Crawlee/Playwright for deep documentation extraction
52
54
  - **Task templates** — specialized system prompts and tool recommendations for code, document, analysis, plan tasks
53
55
  - **Auto-expanding context** — detects RAM/VRAM and creates an optimized model variant on first run
@@ -348,6 +350,84 @@ Agent: desktop_click(target="terminal icon", click_type="double")
348
350
 
349
351
  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
352
 
353
+ ### Browser Automation
354
+
355
+ 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:
356
+
357
+ ```
358
+ You: go to github.com and screenshot the page
359
+
360
+ Agent: [Turn 1] browser_action(action="navigate", url="https://github.com")
361
+ → Navigated to https://github.com
362
+ [Turn 2] browser_action(action="screenshot")
363
+ → Screenshot captured (1920x1080)
364
+ ```
365
+
366
+ Available actions:
367
+
368
+ | Action | Description |
369
+ |--------|-------------|
370
+ | `navigate` | Go to a URL |
371
+ | `click` | Click element by CSS selector |
372
+ | `click_xy` | Click at viewport coordinates |
373
+ | `type` | Type text into a form element |
374
+ | `screenshot` | Capture the current page |
375
+ | `dom` | Read the page DOM (up to 50K chars) |
376
+ | `scroll` / `scroll_up` / `scroll_down` | Scroll the page |
377
+ | `back` / `forward` | Browser history navigation |
378
+ | `close` | End the browser session |
379
+
380
+ The service runs on `localhost:8130` and uses headless Chrome/Chromium. Requires Python 3.9+ and Chrome or Chromium installed on the system.
381
+
382
+ ### Temporal Agency — Scheduling, Reminders & Attention
383
+
384
+ The agent has persistent temporal awareness across sessions. Three tools work together to let the agent schedule future work, leave notes for its future self, and track items that need attention.
385
+
386
+ **Scheduler** — Create OS-level cron jobs that auto-launch the agent:
387
+
388
+ ```
389
+ Agent: scheduler(action="create", task="run npm audit and fix vulnerabilities", schedule="weekly")
390
+ → Scheduled task created: sched-a1b2c3d4
391
+ Schedule: weekly on day 1 at 9:00
392
+
393
+ Agent: scheduler(action="create", task="check API health", schedule="every 30 minutes")
394
+ → Scheduled task created: sched-e5f6a7b8
395
+ ```
396
+
397
+ Schedule formats: presets (`daily`, `hourly`, `every 5 minutes`, `weekly`), natural language (`in 30m`, `at 14:30`), or raw cron (`0 */2 * * *`).
398
+
399
+ **Reminder** — Cross-session messages-in-a-bottle:
400
+
401
+ ```
402
+ Agent: reminder(action="set", message="Verify auth migration tokens after deploy", priority="high", due="tomorrow")
403
+ → Reminder set: rem-c4d5e6f7 (due: tomorrow morning)
404
+
405
+ # Next startup:
406
+ ⚠ 1 urgent item(s) need attention
407
+ Reminder: Verify auth migration tokens after deploy
408
+ ```
409
+
410
+ Reminders support priority levels (`low`/`normal`/`high`/`critical`), due dates, tags, context, snoozing, and auto-surface at startup.
411
+
412
+ **Agenda** — Unified temporal dashboard:
413
+
414
+ ```
415
+ Agent: agenda()
416
+ → AGENT AGENDA
417
+ ──────────────────────────────────────────────
418
+ REMINDERS DUE (2):
419
+ [!!] [rem-a1b2] Verify auth migration tokens
420
+ [*] [rem-c3d4] Update API docs
421
+
422
+ ATTENTION ITEMS (1):
423
+ [!!] [attn-e5f6] (followup) PR #42 needs re-review
424
+
425
+ SCHEDULED TASKS (1 active):
426
+ [sched-g7h8] weekly on day 1 at 9:00: run npm audit
427
+ ```
428
+
429
+ Research basis: Reflexion (Shinn et al. 2023) — persistent self-reflection improves task success 20-30%. Generative Agents (Park et al. 2023) — time-weighted memory retrieval. MemGPT (Packer et al. 2023) — hierarchical memory across agent lifetimes.
430
+
351
431
  ### Setup
352
432
 
353
433
  Moondream runs locally — no API keys, no cloud, your screen data never leaves your machine:
@@ -483,6 +563,7 @@ While the agent is working (shown by the `+` prompt), type to add context:
483
563
  | `web_search` | Search the web (DuckDuckGo, Tavily, Jina AI — auto-detected) |
484
564
  | `web_fetch` | Fetch and extract text from web pages (HTML stripping) |
485
565
  | `web_crawl` | Multi-page web scraping with Crawlee/Playwright for deep documentation |
566
+ | `browser_action` | Headless Chrome automation: navigate, click, type, screenshot, read DOM, scroll, history |
486
567
  | **Structured Data** | |
487
568
  | `structured_file` | Generate CSV, TSV, JSON, Markdown tables, Excel-compatible files |
488
569
  | `structured_read` | Parse CSV, TSV, JSON, Markdown tables with binary format detection |
@@ -516,6 +597,10 @@ While the agent is working (shown by the `+` prompt), type to add context:
516
597
  | `manage_tools` | List, inspect, delete custom tools |
517
598
  | `skill_list` | Discover available AIWG skills |
518
599
  | `skill_execute` | Run an AIWG skill |
600
+ | **Temporal Agency** | |
601
+ | `scheduler` | Schedule tasks for automatic future execution via OS cron (presets, natural language, raw cron) |
602
+ | `reminder` | Set cross-session reminders with priority, due dates, tags — surfaces at startup |
603
+ | `agenda` | Unified view of reminders, schedules, and attention items with startup brief |
519
604
  | **AIWG SDLC** | |
520
605
  | `aiwg_setup` | Deploy AIWG SDLC framework |
521
606
  | `aiwg_health` | Analyze project SDLC health and readiness |