Skip to main content

Module computer

Module computer 

Source
Expand description

Core traits and types.

Always available regardless of feature flags. Includes:

  • Agent - The fundamental trait for all agents
  • Tool / Toolset - For extending agents with capabilities
  • Session / State - For managing conversation context
  • Event - For streaming agent responses
  • AdkError / Result - Unified error handling Provider-neutral computer actuation: actions, screenshots, and the actuator trait. Provider-neutral computer actuation: the actions a computer-use model asks for, and the trait an environment implements to perform them.

An actuator acts only when a tool calls it, and the tools that call it are dispatched through the governed tool path, so tool policy, confirmations, the kill switch, budgets and the action ledger decide every action before it reaches the environment.

Every coordinate is in the pixel space of the screenshots the actuator returns, so a model that reads a screenshot names positions in the same frame the actuator acts in.

Structs§

ScreenPoint
A position in screenshot pixels, with the origin at the top left.
Screenshot
A captured image of the display or of a region of it.

Enums§

ActuationOutput
What an action produced.
ComputerAction
One action on a computer.
ComputerActionKind
The kind of a ComputerAction, without its parameters.
MouseButton
A mouse button.
ScrollDirection
A scroll direction.

Traits§

ComputerActuator
An environment that performs ComputerActions: a virtual desktop, a remote desktop session, or a browser viewport.