Expand description
App-scoped capture and input for Linux automation agents.
agent-seat-linux exposes a private Wayland socket. Applications launched
with that socket as WAYLAND_DISPLAY remain ordinary visible windows on
the user’s compositor, while the owning process can capture their
wl_shm frames and inject input at the application boundary.
The crate deliberately does not capture the ambient desktop and does not
forward privileged Wayland interfaces. See AgentSeat to get started.
Structs§
- Agent
Seat - Private Wayland proxy that owns its socket, worker threads, and bridges.
- Captured
Frame - One decoded frame plus the surface it came from.
- Computer
Use - Complete app-scoped computer-use harness.
- Computer
UseBuilder - Builder for a standalone Linux computer-use harness.
- Controlled
App - A launched application with capture and input methods bound to its exact seat connection.
- Error
- Error returned by the high-level computer-use API.
- Launch
Config - Cloneable description of an application to launch.
- SeatApp
- One proxied app.
- Xwayland
Bridge - One authenticated, rootful XWayland server connected through the private agent seat. It is used as a compatibility bridge only when a native Wayland client cannot expose a readable application frame.
Enums§
- Pointer
Button - Pointer buttons understood by
ControlledApp::click. - Seat
Error - Every failure mode of the agent seat, from session discovery through capture and input injection.
- Transport
- Display transport selected for a controlled application.
Functions§
- available
- True when an agent seat can be created in this environment (Wayland session with a reachable compositor socket).
- seat
- The process-wide agent seat, created on first use. Fails when there is no Wayland session to proxy into.
- shutdown
- Stop the process-wide seat and release all of its sockets and threads.
A later call to
seatcreates a fresh seat.
Type Aliases§
- Result
- Result type used by the high-level API.