https://github.com/areid987/open-operator

https://github.com/areid987/open-operator

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: AReid987
  • Language: TypeScript
  • Default Branch: main
  • Size: 860 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created 10 months ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

FLOSS Ops

[!INFO] Shout out to Browserbase and Stagehand

Getting Started

  1. Install the dependencies

bash pnpm i

  1. Environment Variables:

bash pnpm dlx dotenv-vault pull

  • Option B

    - copy the sample env file

    bash cp .env.example .env.local

You'll need to set up your API keys:

  1. Get your OpenAI API key from OpenAI's dashboard
  2. Get your Browserbase API key and project ID from Browserbase

Update .env.local with your API keys:

  • OPENAI_API_KEY: Your OpenAI API key
  • BROWSERBASE_API_KEY: Your Browserbase API key
  • BROWSERBASE_PROJECT_ID: Your Browserbase project ID

Then, run the development server:

bash pnpm dev

Open http://localhost:3000 with your browser to see Open Operator in action.

How It Works

Building a web agent is a complex task. You need to understand the user's intent, convert it into headless browser operations, and execute actions, each of which can be incredibly complex on their own.

public/agent_mess.png

Stagehand is a tool that helps you build web agents. It allows you to convert natural language into headless browser operations, execute actions on the browser, and extract results back into structured data.

public/stagehand_clean.png

Under the hood, we have a very simple agent loop that just calls Stagehand to convert the user's intent into headless browser operations, and then calls Browserbase to execute those operations.

public/agent_loop.png

Stagehand uses Browserbase to execute actions on the browser, and OpenAI to understand the user's intent.

For more on this, check out the code at this commit.

Key Technologies

  • Browserbase: Powers the core browser automation and interaction capabilities
  • Stagehand: Handles precise DOM manipulation and state management
  • Next.js: Provides the modern web framework foundation
  • OpenAI: Enable natural language understanding and decision making

Contributing

We welcome contributions! Whether it's:

  • Adding new features
  • Improving documentation
  • Reporting bugs
  • Suggesting enhancements

Please feel free to open issues and pull requests.

License

Open Operator is open source software licensed under the MIT license.

Acknowledgments

This project is inspired by OpenAI's Operator feature and builds upon various open source technologies including Next.js, React, Browserbase, and Stagehand.

Owner

  • Name: Antonio Reid
  • Login: AReid987
  • Kind: user
  • Location: Austin, Texas

GitHub Events

Total
  • Push event: 1
  • Pull request event: 1
  • Create event: 2
Last Year
  • Push event: 1
  • Pull request event: 1
  • Create event: 2

Dependencies

package.json npm
  • @eslint/eslintrc ^3 development
  • @types/node ^20 development
  • @types/react ^19 development
  • @types/react-dom ^19 development
  • eslint ^9 development
  • eslint-config-next 15.1.6 development
  • postcss ^8 development
  • tailwindcss ^3.4.1 development
  • typescript ^5 development
  • @ai-sdk/anthropic ^1.2.11
  • @browserbasehq/sdk ^2.0.0
  • @browserbasehq/stagehand ^2.2.1
  • @vercel/analytics ^1.4.1
  • ai ^4.1.2
  • framer-motion ^11.0.3
  • jotai ^2.11.1
  • motion ^12.0.3
  • next 15.2.4
  • playwright ^1.50.0
  • playwright-core ^1.50.0
  • posthog-js ^1.209.3
  • react ^19.0.0
  • react-dom ^19.0.0
  • sharp ^0.33.5
  • usehooks-ts ^2.16.0
  • zod ^3.22.4
pnpm-lock.yaml npm