browsernode  by leoning60

AI agent browser control SDK

created 1 month ago
322 stars

Top 84.1% on SourcePulse

GitHubView on GitHub
Project Summary

Browsernode provides a TypeScript framework for enabling AI agents to interact with and control web browsers, automating online tasks. It is designed for developers and AI researchers looking to integrate LLM-powered agents with real-world web interactions, offering a simplified interface to browser automation.

How It Works

Browsernode leverages Playwright for browser automation, allowing AI agents to navigate websites, click elements, and extract information. It integrates with various LLM providers, such as OpenAI, to interpret user tasks and generate browser actions. The core advantage lies in its compatibility with the Browser-use API, providing a familiar and robust foundation for building complex AI-driven web workflows.

Quick Start & Requirements

  • Install via npm: npm install browsernode
  • Install Playwright browsers: npx playwright install chromium
  • Requires Node.js v20.19.4 or higher.
  • API keys for LLM providers (e.g., OpenAI) are needed and configured via a .env file.
  • Official documentation: https://github.com/leonin60/browsernode (links within README)

Highlighted Details

  • Full compatibility with Browser-use APIs and features.
  • Supports both CommonJS and ESM module styles for integration.
  • Includes example demos for tasks like data scraping and document manipulation.
  • Offers an interactive CLI for testing and development.

Maintenance & Community

The project welcomes contributions via issues and pull requests. Documentation contributions are also encouraged. Specific community channels like Discord or Slack are not explicitly mentioned in the README.

Licensing & Compatibility

The project appears to be licensed under the MIT License, which generally permits commercial use and integration with closed-source projects.

Limitations & Caveats

The README notes a known bug with Playwright in the Bun environment, suggesting Node.js as the primary runtime. Some demo tasks may not always complete successfully, as indicated by an example where the agent failed to reach a specific target page.

Health Check
Last commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
322 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.