First Template
Browser use in Client
๐งโ๐ป Tech |
๐ Agent
Introduction
On top of our Application, we would have an Agent.
So the Agent will do tasks and give the response.
But, how can we use the Agent to control our Browser?
Let us see here ๐
Through LLM
- We use LLM where we can pass all the
fieldswith thetypeto LLM - For that, in the Front End user can feed like say,
@BrowserAgent please book a ticket for me today - So, in the Agent we need to give the proper instruction to give the response or instructions to follow to do in the Browser through JavaScript
- And from the response from LLM we can do the
actionaccordingly - So, we need to have a JavaScript Handler to do the
actiongiven by LLM - Now our Agent should have controlled Browser
- Here, we have seen the single flow, for Truly Agentic we need to again give the performed
actionand current state to LLM and LLM will again process and give the updatedactionand we need to process and continue the same
In this way we achieve the Agent that will have the ability to control the Browser in the Browser itself
This will give our Agent a Powerful Mechanism that will be very powerful in the Future
Thanks for reading!