AgentQL: query language and SDK connecting AI agents to the web

AgentQL connects LLMs and AI agents to the web with a query language and parser for interacting with page elements and extracting data.

Best for
Product data extraction
Key capability
Query language and parser
Screenshot of AgentQL interface showing natural language query input and database response

What is AgentQL?

AgentQL, by TinyFish, is a suite of tools for connecting AI to the web. Its query language and parser interact with page elements and extract data quickly and precisely, through Python and JavaScript SDKs and a browser debugger.

Screenshot of AgentQL interface showing natural language query input and database response

Key features of AgentQL

AgentQL offers a query language and parser, Python and JavaScript SDKs with Playwright, a browser-based debugger and a browserless API that retrieves public data from any page.

Query language and parser

Interact with elements and extract data quickly, precisely and at scale.

Python and JavaScript SDKs

Interact with web page elements via Playwright, the Python and JavaScript SDKs and headless browsers.

Browser-based debugger

A debugging browser extension optimizes queries in real time on any web page.

Browserless REST API

Retrieve public facing data from any URL with no browser required.

PDF parsing

Parse difficult information like tables from PDFs.

Pros and cons of AgentQL

Pros

  • Works on any page, even behind authentication
  • Self-healing queries that hold up when pages change
  • Free Starter plan, no credit card required
  • The same query works across similar pages
  • Context-aware AI improves query accuracy

Cons

  • API calls beyond the monthly allowance are billed per call
  • Pricing may be high for small teams
  • Dependent on AI accuracy which may vary with complex queries

Key use cases for AgentQL

Product data extraction

Extract product names and prices into structured JSON.

Web agents and data workflows

Build web agents and data workflows that interact with page elements.

Pages behind authentication

Query public or private pages, even behind authentication.

PDF tables

Parse tables and other difficult information from PDFs.

How AgentQL works

  1. 1

    Write a query

    Describe the data you want and define its shape in your query.

  2. 2

    Run it with the SDK

    Run the query via Playwright with the Python or JavaScript SDK.

  3. 3

    Debug in the browser

    Optimize queries in real time with the debugging browser extension.

  4. 4

    Get structured data

    Receive consistent, structured results despite dynamic content and page changes.

Who is using AgentQL

Developers building web agents and data workflows
Teams running data workflows and web automation pipelines
Software developers
Small to medium enterprises
Data-driven decision makers

AgentQL pricing

Starter

$0/month

50 free API calls per month, then $0.02 per call; 10 API calls per minute; 10 hrs of remote browser included.

Professional

$99/month

10,000 API calls per month included, then $0.015 per call; 50 API calls per minute; 500 hrs of remote browser included.

Enterprise

Custom

Fully managed dedicated cloud environment, on-premise deployment available.

Plans and prices are as published by the vendor and can change. Check the official site before you buy. Open the pricing page (opens in a new tab)

Frequently asked questions about AgentQL

A suite of tools for connecting AI to the web, with a query language and parser for interacting with elements and extracting data.

Python and JavaScript SDKs that work with Playwright and headless browsers.

Yes. The REST API retrieves public facing data from any URL with no browser required.

Yes. It works on public or private pages, even behind authentication.

Yes. You can try AgentQL for free with no credit card required, and the Starter plan costs nothing per month.

TinyFish.

It depends on your specific needs and how you plan to use the tool. The official website and documentation are the best sources for the latest details.

Conclusion

Instead of XPath or CSS selectors, developers describe the data they want in an AgentQL query, and AI analyzes the page structure to find it. The query also defines the shape of the returned data, and the same query works across similar pages even when content changes. Queries run through Python and JavaScript SDKs with Playwright and headless browsers, a REST API that needs no browser, or a debugging browser extension.

Pages behind authentication are supported, and tables can be parsed from PDFs. The toolkit comes from TinyFish and is aimed at developers building web agents and data workflows. A free Starter plan includes a small monthly allowance of API calls, after which each call is billed, while paid tiers target teams running regular automation pipelines.

Sources

Share AgentQL:

No reviews yet

Be the first to share how this tool worked for you.

Featured on TiorAI

Show your visitors that your tool is listed on TiorAI.

AgentQL — featured on TiorAI

For white and near-white backgrounds.

Badge style
<a href="https://tiorai.com/tools/agentql/"><img src="https://tiorai.com/wp-content/themes/tiorai/assets/images/badge/featured-on-tiorai-light.svg" alt="AgentQL — featured on TiorAI" width="260" height="76" loading="lazy" style="max-width:100%;height:auto" /></a>

How to install it
  1. Pick the style that suits the background it will sit on.
  2. Copy the snippet and paste it into your footer, press page or integrations page.
  3. Nothing else is needed — the badge is a single image and requires no script on your site.
Do you recommend this?