goto(): navigate to a specific URLobserve(): observe the current pageextract(): extract data from the current pageact(): take action on the current page
getStagehand() helper function retrieves the persisted instance created for the network execution.
For a complete example of a simple search agent using Stagehand, check out the Simple Search Agent using Stagehand example.