An open API service indexing awesome lists of open source software.

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

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.

![chat-ui](./assets/chat-ui.png)

## 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
![Web Surfer Agent](./assets/workflow.png)