{"slug": "why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser", "title": "Why we built scoped overnight approvals and an on-device AI agent browser", "summary": "Casama built scoped, time-bounded permission bundles for scheduled and overnight agent tasks, letting bots preview the exact actions they need via permissions.preview and request approval through permissions.request instead of permanent blanket grants or per-step prompts. The company also paired its cloud Linux sandboxes with a native in-app browser on iOS, Android, macOS, Linux (WebKitGTK) and Windows (WebView2) to avoid datacenter-IP bot walls that block headless cloud browsers. Owner and admin checks are enforced server-side in its packages/safety module.", "body_md": "Two failure modes break real-world AI agents: asking for permission on every single click until the user turns safety off, and getting blocked by datacenter-IP bot walls on everyday websites. Here is how we solved both in [Casama](https://casama.ai).\n\nMost agent tools swing between **full autopilot** (one hallucination or prompt injection causes real damage) and **per-step prompts** (15 interruptions until the user clicks \"Always allow\" for everything).\n\nInstead of permanent blanket grants, Casama lets a bot preview the exact actions an overnight or scheduled task needs (`permissions.preview`) and request a **scoped, time-bounded bundle** (` permissions.request`):\n\n`shared/invoices/` without touching anything outside that folder.`packages/safety`), with owner/admin checks enforced on the server.\nCloud headless browsers run from datacenter IP ranges — banks, travel portals, and everyday web apps frequently block them or force repeated sign-ins.\n\nCasama pairs its cloud Linux sandboxes with a **native in-app browser** built directly into our iOS, Android, macOS, Linux (WebKitGTK), and Windows (WebView2) apps:", "url": "https://wpnews.pro/news/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser", "canonical_source": "https://dev.to/nemoryoliver/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser-3hc6", "published_at": "2026-12-02 22:37:35+00:00", "updated_at": "2026-12-02 22:46:36.289458+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-tools", "developer-tools"], "entities": ["Casama", "WebKitGTK", "WebView2", "iOS", "Android", "macOS", "Windows", "Linux"], "also_reported_by": [], "takeaway": "Replace permanent blanket agent grants with scoped, time-bounded permission bundles previewed via permissions.preview, and run agent browsing through a native in-app browser rather than datacenter-IP cloud headless browsers to avoid bot walls.", "recommendation": {"advice": "Scope agent permissions to specific paths and time windows with server-side owner checks, and route browsing through a native in-app browser to avoid datacenter-IP blocks.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser", "markdown": "https://wpnews.pro/news/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser.md", "text": "https://wpnews.pro/news/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser.txt", "jsonld": "https://wpnews.pro/news/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser.jsonld"}}