Skip to main content

autogen-ext-snaprender

PyPI License: MIT

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 snap-render.com. 200 screenshots a 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

Metadata

Release files for autogen-ext-snaprender 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autogen-ext-snaprender 0.1.1
File Size Uploaded
autogen_ext_snaprender-0.1.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autogen-ext-snaprender 0.1.1
File Interpreter ABI Platform
autogen_ext_snaprender-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / autogen_ext_snaprender-0.1.1.tar.gz

Download URL autogen_ext_snaprender-0.1.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
08dd63a71840a6300bd792736d762c229a32826e338595276869bb89b0da2c3e
BLAKE2b-256 checksum
How to use checksums
c031fe693dae9f94c653129030b846e71f282ba8da909b32b5ea9b144d51bbd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / autogen_ext_snaprender-0.1.1-py3-none-any.whl

Download URL autogen_ext_snaprender-0.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46900c3ad771797920418fa6004dd81740d3c5841b85f68a75adf679fac136e4
BLAKE2b-256 checksum
How to use checksums
b046c2c22ee4a75059b5d274c9f1a082f56ec53b078b0633191326bdbb7f1065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page