open-operator  by browserbase

Template for building web agents using Browserbase and Stagehand

created 6 months ago
1,764 stars

Top 24.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a template for building web agents using Browserbase and Stagehand, targeting developers who want to create custom browser automation tools. It simplifies the process of converting natural language instructions into headless browser operations and executing them.

How It Works

The core of the agent operates in a loop: it takes user intent, uses Stagehand to translate this into headless browser operations, and then executes these operations via Browserbase. Stagehand handles precise DOM manipulation and state management, while OpenAI powers the natural language understanding component. This architecture leverages Browserbase for automation and OpenAI for intent interpretation.

Quick Start & Requirements

  • Install dependencies: pnpm install
  • Copy environment variables: cp .env.example .env.local
  • Set API keys in .env.local: OpenAI API key, Browserbase API key, and Browserbase Project ID.
  • Run the development server: pnpm dev
  • View at http://localhost:3000.
  • Requires Node.js and pnpm.

Highlighted Details

  • Proof of concept for building web agents.
  • Leverages Browserbase for core automation and Stagehand for DOM manipulation.
  • Utilizes Next.js for the web framework and OpenAI for natural language understanding.

Maintenance & Community

Contributions are welcomed via issues and pull requests. Further details on community channels or roadmap are not specified in the README.

Licensing & Compatibility

Licensed under the MIT license, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

This project is explicitly labeled as a proof of concept and may not be production-ready.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
191 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Didier Lopes Didier Lopes(Founder of OpenBB), and
4 more.

stagehand by browserbase

1.0%
15k
AI browser automation framework for production
created 1 year ago
updated 1 day ago
Feedback? Help us improve.