robotgo

RobotGo, Go Native cross-platform RPA, GUI automation, Auto test and Computer use @vcaesar

What is robotgo?

RobotGo, Go Native cross-platform RPA, GUI automation, Auto test and Computer use @vcaesar

Overview of robotgo

What it is

RobotGo is a Go native cross-platform library for desktop automation, GUI automation, automated testing, and AI computer use. It provides control over the mouse, keyboard, screen reading, process management, window handles, image and bitmap operations, and global event listeners. RobotGo supports macOS, Windows, and Linux, including both arm64 and x86-amd64 architectures.

Key features

  • Control mouse and keyboard input
  • Read screen content and capture images
  • Manage windows (get title, bounds, active PID, etc.)
  • Process and bitmap operations
  • Global event listener for keyboard and mouse
  • Cgo-free builds available for Windows, macOS, and Linux (with build tags)
  • Supports multiple backends: Cgo (default) and pure Go (tested)

Use cases

  • Desktop automation and RPA (Robotic Process Automation)
  • Automated testing of GUI applications
  • AI computer use agents that interact with the desktop
  • Cross-platform scripting for repetitive tasks

Getting started

Install the package:

go get github.com/go-vgo/robotgo

Import it in your Go code:

import "github.com/go-vgo/robotgo"

For Cgo-free builds, use the appropriate build tag (e.g., purego on macOS, win on Windows, x11 or wayland on Linux) and set CGO_ENABLED=0. See the repository README for detailed build instructions.

License and pricing

RobotGo is open source under the Apache-2.0 license. The project is free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/go-vgorobotgo.svg)](https://yunodb.com/tools/go-vgorobotgo?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/go-vgorobotgo?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/go-vgorobotgo.svg" alt="Featured on YunoDB" height="20"></a>