Plan for: "login to the site"Page: https://app.example.com/loginElements: 8 interactiveSuggested actions: 1. Fill the email field with your username (85% match) 2. Fill the password field with your password (85% match) 3. Click the "Sign in" button to submit (90% match) 4. Click "Forgot password?" if needed (20% match)Use bap act to execute actions, or bap observe for full element list
Each suggestion includes:
Description — What the action does
Method — The BAP protocol method to call
Relevance — How relevant the action is to the stated goal (0-100%)
bap plan analyzes the current page state and matches interactive elements against your goal. It
does not execute any actions — it only suggests them.
Use bap plan as a decision-making step in autonomous agent loops. It observes the page and ranks
possible actions by relevance to your goal, so the agent can pick the best next step.