Open Operator

Normal
GitHub TypeScript No License

Description

An open-source template for building web agents with Stagehand on Browserbase, providing serverless browser automation for AI agents to safely execute web tasks in the cloud.

Key Features

  • Open-source web agent template built on Stagehand and Browserbase — converts natural language intent into headless browser operations via a simple agent loop
  • Serverless browser automation powered by Browserbase — AI agents execute web tasks in isolated cloud browser sessions without managing infrastructure
  • Stagehand DOM manipulation and state management for precise interaction with web elements and structured data extraction
  • One-click Vercel deployment with OpenAI integration — deploy a working web agent in minutes with environment variable configuration
  • Next.js framework foundation providing modern web stack with TypeScript, React, and API routes for extensible agent development

Use Cases

💡 Rapid prototyping of web automation agents — quickly build and test natural language-driven browser interaction flows
💡 Cloud-based web scraping and data extraction without managing browser infrastructure or proxy configurations
💡 Building custom AI web agents as a starting point — extend the template with Stagehand for production web agent applications
💡 Educational reference for understanding web agent architecture — study the agent loop, Stagehand integration, and Browserbase usage patterns

Quick Start

Clone the repo, run `pnpm install`, copy `.env.example` to `.env.local`, and set your `OPENAI_API_KEY`, `BROWSERBASE_API_KEY`, and `BROWSERBASE_PROJECT_ID`. Run `pnpm dev` and open `http://localhost:3000`. Type a natural language task and watch the agent automate browser interactions via Stagehand on Browserbase.

Related Projects

Related Articles