hanzo-tools-computer
Computer control tools for Hanzo AI - pyautogui-based Mac automation.
Installation
pip install hanzo-tools-computer
Usage
from hanzo_tools.computer import ComputerTool, register_tools
# Register with MCP server
register_tools(mcp_server, permission_manager)
Actions
Mouse
click- Click at (x, y)double_click- Double click at (x, y)right_click- Right click at (x, y)move- Move mouse to (x, y)drag- Drag to (x, y)scroll- Scroll by amount
Keyboard
type- Type text stringpress- Press single keyhotkey- Press key combination
Screen
screenshot- Capture screenlocate- Find image on screeninfo- Get screen/mouse info
Examples
# Click at coordinates
computer(action="click", x=100, y=200)
# Type text
computer(action="type", text="Hello world")
# Keyboard shortcut (Cmd+C on Mac)
computer(action="hotkey", keys=["command", "c"])
# Take screenshot
computer(action="screenshot")
# Get screen info
computer(action="info")
Safety
- FAILSAFE enabled: Move mouse to corner to abort
- macOS only (checks platform)
- All actions run in executor threads (non-blocking)
License
MIT
Metadata
Release files for hanzo-tools-computer 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hanzo_tools_computer-0.5.5.tar.gz | 114.0 kB | Without provenance | Details for hanzo_tools_computer-0.5.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hanzo_tools_computer-0.5.5-py3-none-any.whl | Python 3 | none | any | Details for hanzo_tools_computer-0.5.5-py3-none-any.whl |
Total release size: 150.0 kB
Release files / hanzo_tools_computer-0.5.5.tar.gz
| Download URL | hanzo_tools_computer-0.5.5.tar.gz |
|---|---|
| Size | 114.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6753c557016bcfa5e24bc2dc3e8c553eafa7ab2ef36792064b0a3b802cef565
|
|
BLAKE2b-256 checksum How to use checksums |
6481e68731705f044b9c1ab1d13f70c5a96fc7a8ab59c99f8bdc459d22963e0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / hanzo_tools_computer-0.5.5-py3-none-any.whl
| Download URL | hanzo_tools_computer-0.5.5-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
154d53dc61cc4a3adeba0b0afd63019ffc5c3ad5f44bbff3e69ea3664c115bbc
|
|
BLAKE2b-256 checksum How to use checksums |
b7ad8fea6e548e192c5a1e0b20cc5af2d4a4e4a049c108bd0d4f7c96ff4b1226
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for hanzo-tools-computer 0.5.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.