You can just extend this e.g. with adding data to database, sending notifications, extracting specific data format ect...
make sure to also accept your added function when its called in act() https://github.com/gregpr07/browser-use/blob/main/src/contro...
Let's say in 1 year, more agents than humans interact with the web.
Do you think:
1. Websites release more API functions for agents to interact with them
or
2. We will transform with tools like this the UI into functions callable by agents and maybe even cache all inferred functions for websites in a third party service?
Context length + API cost is right now main bottleneck for huge HTML + CSS files. The extraction here is already quite efficient but still:
with past messages + system prompt + sometimes extracted text + extracted interactive elements you are quickly already around 2500 tokens (for gpt-4o 0.01$).
If you extract entire HTML and CSS your cost + inference time are quickly 10x.
A)
For Mind2Web: because there are multiple ways to reach a goal state - any thoughts how to evaluate if a task was successful? Should we let the LLM/ other LLM evaluate it?