cerebellum  by theredsix

AI agent for browser automation using goal-driven planning

Created 11 months ago
834 stars

Top 42.7% on SourcePulse

GitHubView on GitHub
Project Summary

Cerebellum is an AI-driven browser automation system designed for users who need to accomplish complex tasks on webpages. It leverages a planning agent powered by a Large Language Model (LLM) to navigate websites, interact with elements, and achieve user-defined goals, simplifying automated web interactions.

How It Works

Cerebellum models web browsing as a directed graph, where each page is a node and user actions are edges. An LLM, currently Claude 3.5 Sonnet, analyzes the current page state and past actions to determine the next optimal action (e.g., click, type). This action is executed, and the resulting new state is fed back to the LLM, creating an iterative planning loop until the goal is met or deemed unachievable. This approach allows for dynamic strategy adjustment and goal-oriented navigation.

Quick Start & Requirements

  • Install: Python SDK available.
  • Prerequisites: Requires an LLM provider (currently Claude 3.5 Sonnet). Compatible with any Selenium-supported browser.
  • Setup: Refer to Python or Typescript setup directions.

Highlighted Details

  • AI-driven planning for goal completion.
  • Compatible with any Selenium-supported browser.
  • Fills forms using provided JSON data.
  • Accepts runtime instructions for dynamic strategy adjustment.

Maintenance & Community

Maintained by Han Wang, with collaborators Darwin Lo, Michael Shuffett, and Shane Moran. Contributions are welcome.

Licensing & Compatibility

Licensed under the MIT License. Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

Currently experiences safety refusals from Claude 3.5 Sonnet, preventing it from solving CAPTCHAs or navigating pages with political content. Data extraction and horizontal scrolling are marked as TODOs.

Health Check
Last Commit

7 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Luis Capelo Luis Capelo(Cofounder of Lightning AI), and
15 more.

stagehand by browserbase

0.7%
17k
AI browser automation framework for production
Created 1 year ago
Updated 18 hours ago
Feedback? Help us improve.