LLM-powered web automation library with autonomous agents
Project description
webtask
LLM-powered web automation with autonomous agents.
📚 Documentation | 🐍 PyPI | 📊 Benchmarks
Quick Start
pip install pywebtask
playwright install chromium
export GEMINI_API_KEY="your-key" # or OPENAI_API_KEY
Autonomous mode - Give it a task, let the agent figure out the steps:
from webtask import Webtask
from webtask.integrations.llm import Gemini
from playwright.async_api import async_playwright
async with async_playwright() as p:
browser = await p.chromium.launch(headless=False)
llm = Gemini(model="gemini-2.5-flash")
agent = await Webtask().create_agent_with_browser(llm=llm, browser=browser)
result = await agent.do("search for cats and click the first result")
Features
- Multimodal by default - Sees screenshots with bounding boxes + DOM text
- Extensible - Pluggable LLM and browser interfaces
- Batteries included - OpenAI, Gemini LLMs and Playwright browser provided
- Isolated sessions - Separate cookies and storage per agent
Documentation
Benchmarks
webtask-benchmarks - Evaluation on Mind2Web and other benchmarks
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywebtask-0.17.2.tar.gz.
File metadata
- Download URL: pywebtask-0.17.2.tar.gz
- Upload date:
- Size: 59.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318e9e89c6b3811389a94e15d909a203df430cb9badec4a6c70fb091194d75ad
|
|
| MD5 |
fe86193c1233022c8ca176ffe0950e3a
|
|
| BLAKE2b-256 |
048632f243e11c4ca277acfc23ccf34dbb9ca8dc7d7c0700e25d0fdad569811e
|
Provenance
The following attestation bundles were made for pywebtask-0.17.2.tar.gz:
Publisher:
publish.yml on steve-z-wang/webtask
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pywebtask-0.17.2.tar.gz -
Subject digest:
318e9e89c6b3811389a94e15d909a203df430cb9badec4a6c70fb091194d75ad - Sigstore transparency entry: 709789657
- Sigstore integration time:
-
Permalink:
steve-z-wang/webtask@e5ca7ada56c47679cf3dda9d30c91643fc67d6b6 -
Branch / Tag:
refs/tags/v0.17.2 - Owner: https://github.com/steve-z-wang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5ca7ada56c47679cf3dda9d30c91643fc67d6b6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pywebtask-0.17.2-py3-none-any.whl.
File metadata
- Download URL: pywebtask-0.17.2-py3-none-any.whl
- Upload date:
- Size: 86.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c49884469d8775520965f6795a51398c33fc9fa10acf6236d8756545d4c64e
|
|
| MD5 |
026060404b728a897a73aca13a739da9
|
|
| BLAKE2b-256 |
812a388a6ca7a944a206e28c6ce418f95bbe85e70e63d4c9e8d47c0e562a3c85
|
Provenance
The following attestation bundles were made for pywebtask-0.17.2-py3-none-any.whl:
Publisher:
publish.yml on steve-z-wang/webtask
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pywebtask-0.17.2-py3-none-any.whl -
Subject digest:
53c49884469d8775520965f6795a51398c33fc9fa10acf6236d8756545d4c64e - Sigstore transparency entry: 709789666
- Sigstore integration time:
-
Permalink:
steve-z-wang/webtask@e5ca7ada56c47679cf3dda9d30c91643fc67d6b6 -
Branch / Tag:
refs/tags/v0.17.2 - Owner: https://github.com/steve-z-wang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5ca7ada56c47679cf3dda9d30c91643fc67d6b6 -
Trigger Event:
push
-
Statement type: