Browse the web with AI. Swimmer lets Claude (or Codex) control a browser to do tasks for you — scrape data, fill forms, book rooms, and anything else you can do in a browser.
curl -fsSL https://raw.githubusercontent.com/wesleyzhao/swimmer/main/setup.sh | bashOr download the repo and double-click setup_mac.command.
cd swimmer && claudeExamples:
- "Go to Wikipedia and find the population of Tokyo"
- "Search Google Scholar for papers on transformer architectures"
- "Go to my LinkedIn and download my connections list"
Swimmer gives Claude a browser. Claude reads pages as text, clicks links, fills forms, and scrolls through content. You watch it work in a visible browser window. When a site requires login, Claude asks you to log in manually — your session is saved for next time.
When Claude encounters a login page, it will ask you to log in:
- A browser window opens to the site's login page
- You log in manually (including any 2FA)
- Tell Claude you're done
- Your session is saved — no re-login needed next time
| Command | Description |
|---|---|
swimmer go <url> |
Navigate to a URL |
swimmer content |
Show current page content |
swimmer click <target> |
Click an element |
swimmer type <target> <text> |
Type into a field |
swimmer scroll <down|up> |
Scroll the page |
swimmer run <js> |
Execute JavaScript |
swimmer screenshot |
Take a screenshot |
swimmer login <domain> |
Log in and save session |
swimmer sessions |
List saved sessions |
swimmer quit |
Close the browser |