Skip to content

surfly/web-agent-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generalist Web Agent

Setup

  1. Clone repository.
  2. Run npm i.
  3. Run npm run bundle.
  4. Update LLM provider authentication credentials to dist/manifest.json.
  5. Upload dist directory to Webfuse.

.env

.env

OPENAI_API_KEY=sk-proj-abcdef-012345
MODEL_NAME=gpt-4.1
MAX_ITERATIONS=5
DEBUG_LOGS=false

To use a text-based DOM snapshot, instead of a GUI snapshot ('screenshot'): DOM_SNAPSHOTS=false.

Example Tasks

Ask the agent...

  • "Go to W3 schools web IDE. Write a function that returns the first 10 Fibonacci numbers. Also run it."
  • "Recommend a classy rain coat. It should have a blue color option. Not above 150 Euro, and in stock rn."
  • "Show which team is currently 9th place of the Bundeliga."