Synaptic.Dev.BrowserUseDemo (synaptic v0.3.0-alpha.8)

View Source

Demo workflow that uses the browser-use MCP sidecar to scrape the first 10 videos from Andrej Karpathy's YouTube channel.

Uses retry_with_browser_use_agent to delegate the entire browsing task to browser-use's server-side agent which uses vision (screenshots) internally. This keeps token usage minimal on our side.

Prerequisites

cd sidecar/browser-use
# fill in OPENAI_API_KEY in .env
./start.sh

Usage

iex -S mix
Synaptic.Dev.BrowserUseDemo.run()

Summary

Functions

Convenience function to run the workflow in one shot.

Functions

run(opts \\ [])

Convenience function to run the workflow in one shot.

Options: