WebRover
WebRover is an autonomous AI agent designed to interpret user input and execute actions by interacting with web elements to accomplish tasks or answer questions. It leverages advanced language models and web automation tools to navigate the web, gather information, and provide structured responses based on the user's needs.
Install / Use
/learn @hrithikkoduri/WebRoverREADME
WebRover
<div align="center"> <!-- Backend --> <img src="https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white" /> <img src="https://img.shields.io/badge/FastAPI-009688?style=for-the-badge&logo=fastapi&logoColor=white" /> <img src="https://img.shields.io/badge/OpenAI-412991?style=for-the-badge&logo=openai&logoColor=white" /> <img src="https://img.shields.io/badge/LangChain-121212?style=for-the-badge&logo=chainlink&logoColor=white" /> <img src="https://img.shields.io/badge/LangGraph-FF6B6B?style=for-the-badge&logo=graph&logoColor=white" /> <img src="https://img.shields.io/badge/Playwright-2EAD33?style=for-the-badge&logo=playwright&logoColor=white" /> <img src="https://img.shields.io/badge/Pillow-3776AB?style=for-the-badge&logo=python&logoColor=white" /> <!-- Frontend --> <img src="https://img.shields.io/badge/Next.js-000000?style=for-the-badge&logo=next.js&logoColor=white" /> <img src="https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white" /> <img src="https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white" /> <img src="https://img.shields.io/badge/React-61DAFB?style=for-the-badge&logo=react&logoColor=black" /> <h3>Your AI Co-pilot for Web Navigation 🚀</h3> <p align="center"> <b>Autonomous Web Agent | Task Automation | Information Retrieval | Deep Research</b> </p> </div>Overview
WebRover is an AI-powered web agent that combines autonomous browsing with advanced research capabilities. While maintaining its core ability to automate web tasks, version 2.0 introduces sophisticated research workflows including multi-source analysis, academic paper generation, and deep topic exploration. The system intelligently routes queries between task automation and research modes, providing a versatile tool for both quick actions and comprehensive research.
Motivation
While traditional web automation tools excel at task execution, and search engines help with information retrieval, there's a growing need for tools that can handle both while specializing in deep research workflows. WebRover bridges this gap by offering task automation alongside intelligent research capabilities, with a particular focus on comprehensive information gathering, analysis, and synthesis. This dual-purpose approach aims to transform how we interact with web content, making both task execution and research more efficient and thorough.
Demo Video - Deep Research Agent
https://github.com/user-attachments/assets/325c6c55-9384-4939-a912-3b1d13635799
Watch as the WebRover Deep Research Agent explores a topic, gathers information, and generates an academic paper.
Demo Video - Task Agent
https://github.com/user-attachments/assets/95ae9afb-3fdf-47f8-857e-f6a1a0d94df5
Watch as the WebRover Task Agent navigates a website and performs a task.
Key Features
Agent Capabilities
- Three specialized agents for different use cases (Task, Research, Deep Research)
- Dynamic agent selection based on task complexity
- Real-time agent state visualization
- Streaming agent actions and thoughts
Browser Integration
- Local browser instance for privacy and control
- Multi-tab management
- PDF document handling
- Secure browsing sessions
User Interface
- Modern chat interface with real-time updates
- Interactive agent selection
- Action streaming with visual feedback
- Real-time page annotations and highlights
Output Options
- Direct chat responses
- One-click Google Docs export
- PDF download functionality
- Copy to clipboard support
Research Tools
- Vector store for information retention
- Multi-source verification
- Academic paper generation
- Reference management
Technical Features
- State-of-the-art LLM integration (GPT-4o, o3-mini-high, Claude-3.5 sonnet)
- RAG pipeline for enhanced responses
- LangGraph for state management
- Playwright for reliable web automation
Agent Types
1. Task Agent
A specialized automation agent for executing web-based tasks and workflows.
- Custom action planning for multi-step tasks
- Dynamic element interaction based on context
- Real-time task progress monitoring
2. Research Agent
An information gathering specialist with smart content processing.
- Intelligent source selection and validation
- Adaptive search refinement
- Single-pass comprehensive information gathering
3. Deep Research Agent (New! 🎉)
An advanced research agent that produces academic-quality content through systematic topic exploration.
- Automatic topic decomposition and structured research
- Independent subtopic exploration
- Academic paper generation with proper citations
- Cross-referenced bibliography compilation
Agent Architecture Diagrams
Deep Research Agent Flow

Deep Research Agent's workflow for comprehensive research and content generation
Research Agent Flow

Research Agent's workflow for information gathering and synthesis
Task Agent Flow

Task Agent's workflow for automating web interactions
Architecture
The system is built on a modern tech stack with three distinct agent types, each powered by:
-
State Management
- LangGraph for maintaining agent state
- Handles complex navigation flows and decision making
- Structured workflow management
-
Browser Automation
- Playwright for reliable web interaction
- Custom element detection and interaction system
- Automated navigation and content extraction
-
Content Processing
- RAG (Retrieval Augmented Generation) pipeline
- Vector store integration for efficient information storage
- PDF and webpage content extraction
- Automatic content structuring and organization
-
AI Decision Making
- Multiple LLM integration (GPT-4, Claude)
- Context-aware navigation
- Self-review mechanisms
- Structured output generation
Setup Instructions
Backend Setup
-
Clone the repository
git clone https://github.com/hrithikkoduri18/WebRover.git cd WebRover cd backend -
Install Poetry (if not already installed)
Mac/Linux:
curl -sSL https://install.python-poetry.org | python3 -Windows:
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python - -
Set Python version for Poetry
poetry env use python3.12 -
Activate the Poetry shell: For Unix/Linux/MacOS:
poetry shell # or manually source $(poetry env info --path)/bin/activateFor Windows:
poetry shell # or manually & (poetry env info --path)\Scripts\activate -
Install dependencies using Poetry:
poetry install -
Set up environment variables in
.env:OPENAI_API_KEY="your_openai_api_key" LANGCHAIN_API_KEY="your_langchain_api_key" LANGCHAIN_TRACING_V2="true" LANGCHAIN_ENDPOINT="https://api.smith.langchain.com" LANGCHAIN_PROJECT="your_project_name" ANTHROPIC_API_KEY="your_anthropic_api_key" -
Run the backend:
Make sure you are in the backend folder
uvicorn app.main:app --reload --port 8000For Windows User:
uvicorn app.main:app --port 8000 -
Access the API at
http://localhost:8000
Frontend Setup
-
Open a new terminal and make sure you are in the WebRover folder:
cd frontend -
Install dependencies:
npm install -
Run the frontend:
npm run dev -
Access the frontend at
http://localhost:3000
For mac users:
Try running http://localhost:3000 on Safari browser. If you face any with connecting to browser, open terminal and run:
pkill -9 "Chrome"
and try again.
If you still face issues, try changing the websocket port from 9222 to 9223 in the webrover_browser.py file in the backend/Browser folder.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by @hrithikkoduri
Related Skills
diffs
339.5kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
openpencil
1.8kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-pro-max-skill
53.5kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
