AutoGen tools for SnapRender Screenshot API — capture websites as PNG, JPEG, WebP, or PDF
Project description
autogen-ext-snaprender
AutoGen tools for SnapRender Screenshot API. Lets your AutoGen agents capture website screenshots as PNG, JPEG, WebP, or PDF.
Install
pip install autogen-ext-snaprender
Setup
export SNAPRENDER_API_KEY="sk_live_your_key_here"
Get a free key at app.snap-render.com — 50 screenshots/month, no credit card.
Usage
from autogen_ext_snaprender import screenshot_tool, cache_tool, usage_tool
# Use with AssistantAgent
from autogen_agentchat.agents import AssistantAgent
agent = AssistantAgent(
"web_agent",
model_client=model_client,
tools=[screenshot_tool, cache_tool, usage_tool],
)
Tools
screenshot_tool
Capture any website as PNG, JPEG, WebP, or PDF with device emulation, dark mode, ad blocking, and more.
cache_tool
Check if a screenshot is cached (free, doesn't count against quota).
usage_tool
Get current month's usage stats.
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 autogen_ext_snaprender-0.1.0.tar.gz.
File metadata
- Download URL: autogen_ext_snaprender-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2b3071c82eabf19d4579269a4b45dcd17d9b7a4ee3afd2990e116094c9d9f43
|
|
| MD5 |
6bc6dab107392ac8922fb91e7afaa2f8
|
|
| BLAKE2b-256 |
991391f93b964a8e9daa3a22ea72ba6d6bd68556f2f262d343a39b8e23b71c4d
|
File details
Details for the file autogen_ext_snaprender-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autogen_ext_snaprender-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0341dce46a534e39f594bbf14c4bada4c90d0bc9fcda514fe0e00234468b05c6
|
|
| MD5 |
003670ad973d62bc8824bf9df6812c53
|
|
| BLAKE2b-256 |
5866c1ccf3563d10a7bd9cef75f025458e20cdd463a9f4bdb8f7bc1bfa2bfcf7
|