Operate Windows Apps
With AI

Pig makes it easy to build complex automations, powered by AI.

Pig Screenshot
Pig icon 1
Pig icon 2
Pig icon 3
Pig icon 4
Pig icon 5

Automate with Chat

Pig's specialized computer-use AI is comes in a familiar chat interface. Connect your machines and prototype workflows, without writing a single line of code.

Chat interface for automation

Integrate with Agent API

Access the same computer-use AI that powers Pig Chat, via the Agent API.

1with machine.agent() as agent:
2agent.task("launch epic")
3
4for file in queue:
5agent.task("Perform a workflow using input data {}".format(file))

Build Complex Agents with the SDK

For advanced automation and experienced AI teams, we provide a low-level SDK to implement your own agents using Pig's base tool kit.

Simple Interface

Built for developers, Pig's SDK plugs into your agent, wherever you need.

Machines You Control

Automations on Pig are self-hosted by default. Securely subscribe your own machines as workers in the Pig system.

Packed With Tools

Agents use natural computer tools like click(), type(), and screenshot() to control Windows apps.

Humans In The Loop

Seamlessly transfer control to human operators when critical operations need oversight.

1from pig import Client
2
3# Initialize client and select machine
4client = Client()
5machine = client.machines.get("M-6HNGAXR-NT0B3VA-P33Q0R2")
6
7# Run your Agent loop
8with machine.connect() as conn:
9 while True:
10 # View the desktop
11 screen = conn.screenshot()
12
13 # Control using the same API as humans
14 conn.left_click(x=330, y=750)
15 conn.type("excel")
16
17 # Transfer control to human operator
18 conn.yield_control()
19 conn.await_control()

Ready to build?

Choose your path to get started with Pig.