awscreen
Find clickable elements by describing what they look like.
Part of the Aither World (aw*) family of CLI tools.
Install
pip install awscreen
Usage
Find elements in a screenshot by natural language description:
# Set your API key
export AWSCREEN_URL=http://localhost:8150 # a LOCAL vision model
export AWSCREEN_MODEL=your-vision-model
# Find the save button in a screenshot
awscreen screenshot.png "the blue save button in the top toolbar"
Or use in Python:
from awscreen import Finder
finder = Finder() # reads AWSCREEN_URL / AWVISION_URL
screenshot = finder.load_image("screenshot.png")
results = finder.find(screenshot, "the blue save button")
for match in results:
print(f"Found at ({match.x}, {match.y}): {match.description}")
How it works
awscreen analyzes screenshots using Claude's vision capabilities to find interactive elements matching your description. No pixel-perfect coordinates needed — just describe what you're looking for in natural language.
Features
- Visual matching: Describe elements like "the red button in the bottom right"
- Confidence scores: Each match includes a confidence rating
- Bounding boxes: Get precise pixel coordinates for click targets
- Text output or JSON: Choose human-readable or machine-parseable output
Exit codes
0: Elements found; details printed1: No elements found matching the description2: Cannot proceed (missing API key, invalid image, API error)
API key
Requires an Anthropic API key for vision analysis. Provide it via:
- Environment variable:
AWSCREEN_URL(falls back toAWVISION_URL) - CLI argument:
awscreen image.png description --api-key sk-ant-...
No API key. awscreen sends a picture of your screen, so it sends it to a loopback endpoint you run -- nothing leaves the machine. It speaks the OpenAI /v1/chat/completions shape, the same one awvision uses, so one local vision model serves both.
Related
awiam— identify who the caller isawbac— control what they may doawseal— prove it
License
Apache 2.0
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 awscreen-1.0.0.tar.gz.
File metadata
- Download URL: awscreen-1.0.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7477ee1f2b72268bdd5078499dcfb588621a3a0a2c0238073b3bae062b2426
|
|
| MD5 |
5eb3b6d744e7076aa06bf1cdc0bee3e0
|
|
| BLAKE2b-256 |
ebfcb2a08a3bccc776cee815d5d08473e72f33a84e88fcacebf63ac3f68d2e03
|
File details
Details for the file awscreen-1.0.0-py3-none-any.whl.
File metadata
- Download URL: awscreen-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6832e2e8c40615710bf6026cbd39a89b593259f7bf2b147c7932f0b5bde61ece
|
|
| MD5 |
dee857d5322b63d5f0629c815cd8b943
|
|
| BLAKE2b-256 |
07302831dc2ed5a33f619afc7aae5469bf832cbd61e8170351a798ed93913474
|