https://github.com/littlelittlecloud/websurferagent
A web surfer agent demo using playwrite.net and autogen.net
https://github.com/littlelittlecloud/websurferagent
llm playwrite web
Last synced: 7 months ago
JSON representation
A web surfer agent demo using playwrite.net and autogen.net
- Host: GitHub
- URL: https://github.com/littlelittlecloud/websurferagent
- Owner: LittleLittleCloud
- License: mit
- Created: 2024-08-28T16:44:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T21:00:47.000Z (almost 2 years ago)
- Last Synced: 2025-04-08T19:47:37.090Z (about 1 year ago)
- Topics: llm, playwrite, web
- Language: C#
- Homepage:
- Size: 1020 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Surfer Agent
Automate web surfing using GPT-4o and playwright.Net
> [!Note]
> This project is modified from the [WebSurferAgent](https://github.com/microsoft/autogen/blob/main/autogen/agentchat/contrib/web_surfer.py).
> With a few modifications to better follow the dotnet style.
> The original project is written in python and uses playwright-python.
> The tag_utils.js is copied from https://github.com/reworkd/tarsier, with little modification to return the list of interactive elements.

## Getting Started
### Pre-requisites
- `dotnet 8.*`
### Installation
- Clone the repository
- restore dotnet tool
```bash
dotnet tool restore
```
- build the project
```bash
dotnet build
```
- install required browser drivers using playwright.ps1
```bash
dotnet pwsh bin/Debug/net8.0/playwright.ps1 install
```
- run the project
```bash
dotnet run
```
## Workflow
