
Browsercode
https://github.com/browser-use/browsercode- Category
- AI Agents
- Rank
- No. 1336Tools index
Previous survey · No. 1314 ·
- Pricing
- Open Source
- Type
- AGENT
- Builder
- browser-use
- GitHub
- 693 stars
- Latest release
- v0.1.21-rc1
- Date
About
The browser-native agent framework from the Browser Use team.
What it does
Browsercode turns browser work into a coding task. An agent writes JavaScript, sends it directly to Chrome through the DevTools Protocol, preserves the browser session between actions, and can save scripts for reuse. It can control a current tab, a separate local profile, or a remote cloud browser from an interactive terminal or headless command.
Why it's ranked here
The direct Chrome control and persistent sessions make Browsercode unusually capable for open-ended browser work. It also spans interactive, headless, local, and hosted use. That power comes with operational weight: this is a large forked workspace, its behavior depends on an external model, and anonymous usage traces are enabled unless explicitly disabled.
What's good
The agent can adapt its JavaScript to each site instead of relying on a narrow action vocabulary. Browser sessions survive across agent actions, while results can include logs, values, and screenshots. Useful scripts persist for later reuse. Users can attach an existing tab, isolate work in another profile, or watch a cloud browser remotely.
Tradeoffs
The documented automation path is Chrome-specific because it uses the DevTools Protocol. The one-line installation method pipes a downloaded script into Bash, while source development requires Bun and a large workspace. Anonymous usage traces require an environment setting to disable. The project also inherits substantial architecture from OpenCode and vendors a TypeScript port of Browser Harness.
How to use it well
Use it for exploratory extraction, browser-assisted coding, local application QA, and tasks that should become reusable JavaScript after the agent discovers the workflow. It best suits engineers comfortable supplying model credentials and supervising real browser access. Do not treat it as a browser-agnostic automation layer: the documented mechanism targets Chrome through the DevTools Protocol.
Technical notes+
package.json defines a private ESM Bun workspace with packages for the app, TUI, SDK, Slack integration, and other services; its root test script intentionally exits with an instruction not to run tests there. packages/opencode/src/index.ts builds the bcode command with yargs and registers run, serve, web, MCP, ACP, provider, model, plugin, session, import, export, and GitHub-related commands. packages/cli/src/index.ts exposes a second Effect-based command runtime with API, daemon service, migration, and serving handlers. packages/app/src/index.ts, packages/llm/src/index.ts, packages/client/src/index.ts, and packages/plugin/src/index.ts expose TypeScript library surfaces. packages/slack/src/index.ts contains a Socket Mode Slack bot that maps threads to agent sessions. README.md documents anonymous telemetry and the DO_NOT_TRACK=1 opt-out.
Observed
- License
- MIT
- Primary language
- TypeScript and TSX
- Packaging
- Private ESM monorepo using Bun workspaces, with Bun 1.3.14 declared as the package manager
- Install surface
- Bash one-line installer or source installation with Bun
- Interfaces
- Interactive terminal UI, headless CLI, hosted HTTP API, and exported TypeScript packages
- Browser backend
- Chrome controlled through the DevTools Protocol with sessions preserved across agent actions
- Model support
- Accepts models reachable with an API key and providers supported by OpenCode
- Telemetry
- Anonymous usage traces are enabled by default and can be disabled with DO_NOT_TRACK=1
Read from README.md, package.json, packages/app/src/app.tsx, packages/tui/src/app.tsx, packages/app/src/index.ts, packages/cli/src/index.ts, packages/llm/src/index.ts, packages/tui/src/index.tsx, packages/slack/src/index.ts, packages/client/src/index.ts, packages/plugin/src/index.ts, packages/schema/src/index.ts, packages/script/src/index.ts, packages/codemode/src/index.ts, packages/opencode/src/index.ts.
What it can do
Automate browser interactions
User instructions or scripts → Executed browser actions
Navigate web pages programmatically
URLs and navigation commands → Page navigation results
Extract data from web pages
Target web pages and extraction rules → Structured data
Fill and submit web forms
Form data and target forms → Completed form submissions
Execute JavaScript in browser context
JavaScript code → Script execution results
Monitor web page changes
Target pages and monitoring criteria → Change notifications and data
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.