agent-sh / computer-use-linux
PublicLinux desktop control over MCP — AT-SPI, GNOME Shell, Wayland portals, ydotool
computer-use-linux is a bridge that lets AI assistants control Linux desktop computers. It works by connecting to the operating system's accessibility features to read what's on screen, and to input controls to click buttons, scroll pages, and type text. The tool supports multiple Linux desktop environments (GNOME, KDE, Hyprland, i3, COSMIC) and both Wayland and X11 display systems. It includes safety features like a system health check, clear labels on which actions can change your computer, and no network connectivity. Users install it once, run a setup check, and then their AI assistant can see and interact with their desktop just like a human user would.
How It Works
You've been using AI assistants that can help with text, but you want one that can actually click buttons, read screens, and automate your Linux desktop just like you would.
You download and install computer-use-linux, which sets up a bridge between your AI assistant and your Linux desktop. The installer checks that everything your computer needs is ready.
You run the 'doctor' command which checks your system like a medical checkup. It verifies your screen sharing permissions, accessibility features, and input controls are all working properly.
A small browser extension gets installed so the AI can see and control your windows precisely.
Your desktop's built-in window controls get connected so the AI can read and manage your windows.
You tell your AI assistant (like Claude Desktop or Hermes Agent) to use this new tool. Now your AI can see your desktop, click buttons, read text, and type into applications.
You ask your AI to help you with a task, and it opens applications, reads the screen to understand what's there, clicks the right buttons, and types text exactly where you need it.
Your AI assistant can now help you automate repetitive clicks, fill out forms, test applications, or handle any desktop task you show it how to do.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.