GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - browser-use/browsercode: The browser-native agent framework

BranchesTags
Open more actions menu

Latest commit

 

History

15,450 Commits
15,450 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.husky
.husky
 
 
.opencode
.opencode
 
 
.vscode
.vscode
 
 
.zed
.zed
 
 
artifacts/glm52-rise-video
artifacts/glm52-rise-video
 
 
docs/verification
docs/verification
 
 
github
github
 
 
infra
infra
 
 
nix
nix
 
 
packages
packages
 
 
patches
patches
 
 
perf
perf
 
 
script
script
 
 
sdks/vscode
sdks/vscode
 
 
specs
specs
 
 
static
static
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitguardian.yaml
.gitguardian.yaml
 
 
.gitignore
.gitignore
 
 
.gitleaksignore
.gitleaksignore
 
 
.oxlintrc.json
.oxlintrc.json
 
 
.prettierignore
.prettierignore
 
 
AGENTS.md
AGENTS.md
 
 
CONTEXT.md
CONTEXT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
STATS.md
STATS.md
 
 
UPSTREAM.md
UPSTREAM.md
 
 
bun.lock
bun.lock
 
 
bunfig.toml
bunfig.toml
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
install
install
 
 
install-bytecode.sh
install-bytecode.sh
 
 
install.sh
install.sh
 
 
opencode-sync.md
opencode-sync.md
 
 
package.json
package.json
 
 
screenshot-uk.png
screenshot-uk.png
 
 
sst-env.d.ts
sst-env.d.ts
 
 
sst.config.ts
sst.config.ts
 
 
tsconfig.json
tsconfig.json
 
 
turbo.json
turbo.json
 
 

Repository files navigation

browsercode

The browser-native agent


A streamlined coding agent that drives real browsers through unconstrained CDP.

The unbounded power of the browser working seamlessly with your code. The agent adapts to every site at runtime and writes scripts to reuse later.

Hosted

Run the agent on Browser Use Cloud:

curl -X POST https://api.browser-use.com/api/v4/runs \
  -H "X-Browser-Use-API-Key: $BROWSER_USE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task": "Your task"}'

One-Line Install

Run this in a terminal that supports bash:

curl -fsSL https://bcode.sh/install | bash

Usage

Open the TUI:

bcode

Run an agent headlessly:

bcode run "On Google flights return all flight details from New York to SF tomorrow"

Connect an LLM

Best BrowserCode models on BU Bench Performance of LLMs with BrowserCode on BU Bench V1

BrowserCode supports any model you can reach with an API key, plus every provider OpenCode supports.

Use /connect in the TUI, or set provider API keys in your environment.

Recommended models from current BU Bench evals:

  • Best performance: claude-opus-4-8
  • Best open-weight: kimi-k3
  • Best value: gpt-5.6-luna at xhigh reasoning effort

Connect a Browser

Let the agent connect for you. It knows how.

You can prompt:

Connect to my current tab on amazon.com and find deals for 64GB DDR5 RAM, return URLs

The agent will take control of your actual browser.

Make a new browser profile and QA test http://localhost:3000, fix bugs and open a PR

The agent will work locally in its own browser profile.

Open a remote browser and extract every item sold on mcdonalds.com in SF

The agent will control a Browser Use Cloud browser and give you a link to watch it.

Cloud Browsers

  • Browser Use Cloud offers unlimited free browsers, limited to 3 concurrent sessions, with stealth, captcha solving, and proxies.
  • Just set BROWSER_USE_API_KEY in your environment. The agent can sign up completely autonomously; just ask it to. To upgrade further, go to cloud.browser-use.com.

Philosophy: do more with less

Browser ability and code-writing ability are deeply connected.

We turned browser interaction into a coding problem; the agent writes JavaScript that drives Chrome directly through CDP. Minimal abstractions. Maximal power to the agent.

BrowserCode outperforms every browser agent we have tested it against.

Architecture

BrowserCode is a fork of OpenCode with a vendored TypeScript port of Browser Harness.

It adds one core browser primitive:

browser_execute(code)
  -> runs JavaScript in-process
  -> talks to Chrome through the DevTools Protocol
  -> keeps the browser session alive across calls
  -> returns logs, values, and screenshots to the agent

Reusable browser scripts are written to:

.bcode/agent-workspace/

BrowserCode is not built by the OpenCode team and is not affiliated with OpenCode in any way.

Telemetry

BrowserCode sends anonymous usage traces to help improve the project. To opt out, set DO_NOT_TRACK=1 in your environment.

Contributing

Most upstream contributions belong in one of the projects BrowserCode builds on:

  • Browser automation: browser-use/browser-harness
  • Core coding-agent: anomalyco/opencode

Run from source:

git clone https://github.com/browser-use/browsercode.git
cd browsercode
bun install
bun run --cwd packages/opencode dev

browsercode ascii footer

About

The browser-native agent framework

Resources

Readme
MIT license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

791 stars

Watchers

3 watching

Forks

91 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.