AgentQL
AgentQL tools provides web interaction and structured data extraction from any web page using an AgentQL query or a Natural Language prompt. AgentQL can be used across multiple languages and web pages without breaking over time and change.
Overview​
AgentQL provides the following three tools:
ExtractWebDataToolextracts structured data as JSON from a web page given a URL using either an AgentQL query or a Natural Language description of the data.
The following two tools are also bundled as AgentQLBrowserToolkit and must be used with a Playwright browser or a remote browser instance via Chrome DevTools Protocal (CDP):
-
ExtractWebDataBrowserToolextracts structured data as JSON from the active web page in a browser using either an AgentQL query or a Natural Language description. -
GetWebElementBrowserToolfinds a web element on the active web page in a browser using a Natural Language description and returns its CSS selector for further interaction.
Integration details​
| Class | Package | Serializable | JS support | Package latest |
|---|---|---|---|---|
| AgentQL | langchain-agentql | ❌ | ❌ | 1.0.0 |
Tool features​
| Tool | Web Data Extraction | Web Element Extraction | Use With Local Browser |
|---|---|---|---|
| ExtractWebDataTool | ✅ | ❌ |