Synaptic.Dev.BrowserUseDemo (synaptic v0.3.0-alpha.8)
View SourceDemo 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.shUsage
iex -S mix
Synaptic.Dev.BrowserUseDemo.run()
Summary
Functions
Convenience function to run the workflow in one shot.
Functions
Convenience function to run the workflow in one shot.
Options:
:base_url- override the MCP server URL (default: http://localhost:8989/mcp)