Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valk-0.0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file valk-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: valk-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.6

File hashes

Hashes for valk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e00dce55cdbe7b942893184b5cffbcd06c9c59b0b6b832ed832f83baa27fbce1
MD5 ccc8c7f12d8b038e1a170179c757b33b
BLAKE2b-256 5d58114792f8fdd59ce7c6c82aa0d01ba86f2688bec74a14bfeb928c6b711fa8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page