AI agent instructions
AI agent instructions
- a list of actions that can be taken on the page (e.g. click on a button, scroll, etc.)
- a screenshot of the page (base64 encoded)
- some metadata about the page (title, url, etc.)
perception_type='deep' and instructions are removed on December 1, 2026, and passing
either emits a DeprecationWarning. Use perception_type='fast' (the default) instead of 'deep'.
For instructions: use session.act(instruction), which picks the action for the instruction and
runs it, or call observe() without instructions and pick from the returned actions
(observation.space.actions). See the migration guide: https://docs.notte.cc/features/sessions/observe-migration
Parameters
The minimum number of actions to list before stopping. If not provided, the listing will continue until the maximum number of actions is reached.
The maximum number of actions to list after which the listing will stop. Used when min_nb_actions is not provided.
Deprecated, removed on December 1, 2026. Additional instructions to use for the observation.
"fast" (the default) or "deep". "deep" is deprecated, removed on December 1, 2026.Returns
Observation | list[Annotated[ClickAction | FillAction | MultiFactorFillAction | FallbackFillAction | CheckAction | SelectDropdownOptionAction | UploadFileAction | DownloadFileAction, annotation=NoneType required=True discriminator='type']]: The formatted observation result from the API response when no instructions provided. list[InteractionActionUnion]: The filtered list of actions when instructions is provided.