agentql

AgentQL is a suite of tools for connecting your AI to the web. Featuring a query language and Playwright integrations for interacting with elements and extracti

What is agentql?

AgentQL is a suite of tools for connecting your AI to the web. Featuring a query language and Playwright integrations for interacting with elements and extracting data quickly, precisely, and at scale. Includes REST API, Python and JavaScript SDKs, browser debugger.

Overview of agentql

What it is

AgentQL is a suite of tools for extracting data and automating workflows on live web sites. It features an AI-powered query language, Python and JavaScript SDKs, a browser-based debugger, and a REST API endpoint. It uses natural language queries to pinpoint data and elements on any web page, including authenticated and dynamically generated content. Users can define structured data output and apply transforms within queries. The natural language selectors find elements based on page content and work across similar web sites, self-healing as UI changes over time.

Key features

  • Playwright integration: AgentQL's Python and JavaScript SDKs integrate with Playwright for automation and testing.
  • Cross-site compatibility: The same query can be used across different sites with similar content.
  • Structured output: The shape of the query defines the output structure.
  • Natural language selectors: Find elements and data using intuitive queries.
  • Transforms and extracts: Data can be transformed and extracted within queries.
  • Works on any page: Public or private, any site, any URL, even behind authentication.
  • Resilience to UI changes: Queries work regardless of page structure changes over time.

Use cases

AgentQL can be used for a variety of web automation and data extraction tasks. Examples from the repository include getting started scripts, closing cookie dialogs, comparing product prices, infinite scrolling, site login, headless browser usage, e-commerce pricing data extraction, sentiment analysis, collecting paginated data from HackerNews, scraping Google Maps to CSV, and more.

Getting started

See the repository README for installation and quick start instructions.

License and pricing

AgentQL is open source under the MIT license.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/tinyfish-ioagentql.svg)](https://yunodb.com/tools/tinyfish-ioagentql?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/tinyfish-ioagentql?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/tinyfish-ioagentql.svg" alt="Featured on YunoDB" height="20"></a>