AI & Technical question
Design guardrails for Manus taking actions on websites that lack APIs.
- Manus
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
AI and technical guardrail design for an agent operating in the riskiest environment: websites with no structured API to constrain its actions.
How to approach it
- Identify the core risk: without an API, the agent interacts via clicking and form-filling, which can trigger unintended actions like purchases, account changes, or destructive operations if misread.
- Classify actions by risk before executing: read-only actions (browsing, searching) proceed freely, while any action matching patterns like 'submit', 'buy', 'delete', or 'confirm' triggers a required checkpoint.
- Add a sandboxed dry-run step where possible, simulating the click's likely effect before committing to it, to reduce misclick risk on ambiguous page elements.
- Add domain and action allowlists for the highest-risk categories, such as requiring explicit user permission before the agent interacts with a payment or account-settings page at all.
- Add a rate limit and anomaly detection layer to catch an agent stuck in a loop or behaving unexpectedly on a page it may be misinterpreting.
- Measure success as zero unauthorized high-risk actions in testing and production, tracked as the top guardrail metric above task success rate.
What a strong answer includes
- Names the specific structural risk (no API means action intent must be inferred from page content, which is inherently riskier).
- Proposes a concrete risk-classification and checkpoint system based on action keywords and page context.
- Adds a dry-run or simulation step, a specific technical mitigation for misclick risk on unfamiliar pages.
- Includes anomaly detection to catch the agent behaving unexpectedly, not just individual risky actions.
- Prioritizes a zero-unauthorized-action guardrail above raw task completion, appropriate for this risk level.
Common mistakes
- Treating all web actions as equally safe just because there is no formal API involved.
- Not addressing how the agent handles ambiguous or deceptive page elements.
Likely follow-up questions
- How would you handle a page designed to be hard to interpret correctly?
- What would you do if the agent misclicked and caused an unintended action?
- How would you test these guardrails before deploying broadly?
More ai & technical questions
- How would you improve Manus's reliability on long, multi-step autonomous tasks?Manus · AI & Technical · Hard
- Design a simple load balancer for Google.com. What data structures would you use?Google · AI & Technical · Hard
- You’re part of the Google Search web spam team. How would you detect duplicate websites?Google · AI & Technical · Hard
- Build a system to predict if something can go wrong in a cab ride.Lyft · AI & Technical · Hard
- Explain the data pipeline for the last AI project you worked on. What were the top challenges in getting data, and how did you resolve them?Google · AI & Technical · Hard
- Create an API design for third-party integration for payments.Microsoft · AI & Technical · Hard
More questions from Manus
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture