Use act() to tell the agent what to do:Instructions provided to act can be high-level tasks:
Copy
await agent.act('log in to the app');
or low level actions:
Copy
await agent.act('click the submit button');
Think of it like you’re telling a coworker to do something. Breaking it up into tiny steps is unnecessary, but you want to be specific enough to make the objective clear.