explaingit

gmanu0077/autonomous_web_agent_

Analysis updated 2026-05-18

8PythonAudience · developerLicense

TLDR

A three-phase autonomous browser agent that maps out a web page's structure first, then either clicks through it or answers questions about it.

Mindmap

mindmap
  root((repo))
    What it does
      Controls real browser
      Executes page actions
      Answers page questions
    Tech stack
      Python
      LangGraph
      Pydoll
      Gemini
      Ollama
    Use cases
      Automate web tasks
      Chat with a live page
      Build generic scrapers
    Audience
      Developers
      AI agent builders
    Approach
      Builds DOM graph
      Vector search selectors
      Verifies each step

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automate multi-step web tasks like filling forms or navigating a site without hard-coded selectors.

USE CASE 2

Ask plain-language questions about a web page's content using semantic search.

USE CASE 3

Build a general-purpose browser agent that adapts to new sites without site-specific code.

What is it built with?

PythonLangGraphPydollSeleniumChromaDBGeminiOllama

How does it compare?

gmanu0077/autonomous_web_agent_adam-s/car-diagnosisbobholamovic/dudulearnstocode-template
Stars888
LanguagePythonPythonPython
Last pushed2022-01-16
MaintenanceDormant
Setup difficultymoderatemoderate
Complexity3/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

In plain English

Web Agent Framework, or WAF, is a three phase autonomous agent that controls a real Chrome browser. Given a URL, it can either execute actions on the page, such as clicking buttons, filling forms, and navigating, or answer questions about the page's content. The distinguishing approach is that it does not simply dump raw HTML into an AI model. Instead, it builds a structured graph of every element on the page and queries that graph to find precise selectors before generating any automation code. Phase 1, page preparation, handles the grunt work: dismissing cookie banners and popups, scrolling to reveal hidden content, and building a graph of every DOM node on the page, which is then indexed into a vector store. Phase 2 detects whether the user's request is an action or a question. Phase 3a, action mode, uses the DOM graph to find relevant selectors, asks an LLM to generate targeted Python code using Pydoll or Selenium, runs it against the live browser, then verifies the result and retries if it failed. Phase 3b, chat mode, answers plain language questions about the page using semantic search over the indexed DOM nodes. The AI backbone supports Google Gemini or a locally running Ollama model. The pipeline is built on LangGraph. The project is written in Python. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Set up gmanu0077/autonomous_Web_agent_ to run an action against a given URL and explain the phase it goes through.
Prompt 2
Explain how the DOM graph and node RAG work together to find selectors in this repo's Phase 1 and Phase 3a.
Prompt 3
Configure this framework to use Ollama locally instead of Gemini for the LLM backbone.

Frequently asked questions

What is autonomous_web_agent_?

A three-phase autonomous browser agent that maps out a web page's structure first, then either clicks through it or answers questions about it.

What language is autonomous_web_agent_ written in?

Mainly Python. The stack also includes Python, LangGraph, Pydoll.

Who is autonomous_web_agent_ for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.