Remote control of a computer
Project description
Valk
A Python library for remote controlling computers with AI agents. This package provides a simple interface for programmatic control of mouse movements, keyboard input, and screen capture.
Installation
pip install valk
Quick Start
from valk import Computer
# Initialize a computer connection
computer = Computer("http://localhost:8255")
# Take a screenshot
screenshot = computer.screenshot()
# Move mouse and click
computer.move_mouse(x=100, y=100).left_click()
# Type text
computer.type("Hello, World!")
Remote Server
In order to make use of valk you will need to have a machine running with the valk-server on it. We provide a few docker images as demos.
Features
- Mouse control (move, click, drag)
- Keyboard input
- Screen capture
- System information
- Debug viewer
Requirements
- Python 3.12 or higher
- Docker (for running the computer server)
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 valk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: valk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14a17435eb117254d767567d68cc407584d429ccb3f0c899772c4ad3c5b79aa
|
|
| MD5 |
bf7e4ad4301b888f38a915f73019b848
|
|
| BLAKE2b-256 |
6b926a2c07b4a8f72bb307b390d687fea0636613573e565aea8cae8e10ecdcde
|
Provenance
The following attestation bundles were made for valk-0.0.2-py3-none-any.whl:
Publisher:
release.yaml on ercbot/valk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
valk-0.0.2-py3-none-any.whl -
Subject digest:
c14a17435eb117254d767567d68cc407584d429ccb3f0c899772c4ad3c5b79aa - Sigstore transparency entry: 169832072
- Sigstore integration time:
-
Permalink:
ercbot/valk@1b257ef3a8dcc9f7860c7d56d0b29052f49e2151 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ercbot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@1b257ef3a8dcc9f7860c7d56d0b29052f49e2151 -
Trigger Event:
workflow_dispatch
-
Statement type: