Skip to main content

Simple, observable computer use - Remote desktop for AI agents

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

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.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valk-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for valk-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 943ebadaee54d51c9dfc5e6884fe6cbfb2649087c98b9d3edc7dc0760f51405a
MD5 dd88df9fc0c526419d07cbc4bd3f4e65
BLAKE2b-256 3d382fc84d577c86f0f06f4af3825bc0973f65f5a1ba4cd4f3639243d4c18ceb

See more details on using hashes here.

Provenance

The following attestation bundles were made for valk-0.0.3-py3-none-any.whl:

Publisher: release.yaml on ercbot/valk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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