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.
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.
deep_research_agent_demo.mp4
Watch as the WebRover Deep Research Agent explores a topic, gathers information, and generates an academic paper.
demo_edit_149.mp4
Watch as the WebRover Task Agent navigates a website and performs a task.
- 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
- Local browser instance for privacy and control
- Multi-tab management
- PDF document handling
- Secure browsing sessions
- Modern chat interface with real-time updates
- Interactive agent selection
- Action streaming with visual feedback
- Real-time page annotations and highlights
- Direct chat responses
- One-click Google Docs export
- PDF download functionality
- Copy to clipboard support
- Vector store for information retention
- Multi-source verification
- Academic paper generation
- Reference management
- 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
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
An information gathering specialist with smart content processing.
- Intelligent source selection and validation
- Adaptive search refinement
- Single-pass comprehensive information gathering
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
Deep Research Agent's workflow for comprehensive research and content generation
Research Agent's workflow for information gathering and synthesis
Task Agent's workflow for automating web interactions
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
-
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/activate
For 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 8000
For Windows User:
uvicorn app.main:app --port 8000
-
Access the API at
http://localhost:8000
-
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.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by @hrithikkoduri