agentql
Tiny Fish AgentQL Python Client
Decision gist · record as of 2026-08-14
Yes, if you're building web automation or scraping workflows and want to reduce selector maintenance overhead. The package is actively maintained, has no known vulnerabilities, low install friction, and uses a permissive license. Verify that AgentQL's query API and documentation match your use case before committing to it as a core dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and a working Playwright browser environment.
- Low friction: pure Python wheel with no compiled dependencies.
- Active maintenance (93 days since last release).
License · maintenance · safety
MIT (permissive) — MIT license is permissive—you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-05-13 (93 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,156 downloads/mo, #14,867 on PyPI
Alternatives
Verify before relying
pip install agentql
from agentql import AgentQL
agent = AgentQL()
result = agent.query("Find all product titles on this page")- Whether AgentQL's query language and API surface are documented sufficiently for typical use cases.
- Performance characteristics when handling large-scale scraping or complex page interactions.
- Whether the tf-playwright-stealth dependency affects compatibility with modern web applications.
What it is and what it does
AgentQL is a Python client for Tiny Fish AgentQL, which replaces traditional CSS/XPath selectors with AI-driven natural language queries for web interaction. Instead of writing brittle element selectors, you describe what you want to extract or interact with in plain language, and the client handles locating and interacting with page elements through Playwright.
The package depends on Playwright for browser control, Pydantic for data validation, httpx and requests for HTTP operations, and includes CLI support via Typer. It's designed for developers building web automation, testing, or scraping workflows who want to avoid maintaining selector-based code that breaks when page layouts change.
Use it for
- Automate web testing workflows without writing brittle CSS or XPath selectors.
- Extract structured data from websites using natural language descriptions instead of manual parsing.
- Build AI-powered bots that interact with web applications by understanding page content semantically.
- Prototype rapid web automation tasks without deep knowledge of page DOM structure.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you're building web automation or scraping workflows and want to reduce selector maintenance overhead.
The package is actively maintained, has no known vulnerabilities, low install friction, and uses a permissive license. Verify that AgentQL's query API and documentation match your use case before committing to it as a core dependency.
Install
agentql on PyPI
Before you install
Low friction: pure Python wheel with no compiled dependencies. Active maintenance (93 days since last release). Requires Python 3.9 or later.
Requires Python 3.9 or later and a working Playwright browser environment.
License in practice
MIT license is permissive—you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install agentql
from agentql import AgentQL
agent = AgentQL()
result = agent.query("Find all product titles on this page")
Verify before relying
- Whether AgentQL's query language and API surface are documented sufficiently for typical use cases.
- Performance characteristics when handling large-scale scraping or complex page interactions.
- Whether the tf-playwright-stealth dependency affects compatibility with modern web applications.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesaiofilescoloramahttpxplaywrightpydanticpygmentspytest-asynciorequeststf-playwright-stealthtypertyping-extensions |
| Maintenance | Actively maintained 93 days since the last release |
| First released | |
| Downloads | 74,156 / month, #14,867 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: BrowsersTopic :: Software Development :: Testing |
Evidence: agentql-1.19.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AI web scraping”
- agentqlAgentQL is a Python client for interacting with web pages using…
- jigsawstackA Python SDK for accessing JigsawStack's hosted AI…
- crewai-toolsCrewAI Tools provides a collection of ready-made and custom tools…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also playwright · stagehand · strands-agents-tools · robotframework-browser · rebrowser-playwright · plato-sdk · browser-use · mechanize · pytest-playwright-asyncio · firecrawl-py