Why we built scoped overnight approvals and an on-device AI agent browser

2026-12-03来源 dev.toEnglish

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.

1. Scoped overnight permission bundles

Most 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).

Instead 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):

  • Path and tool limits: Approve a bot to read and organize files inside shared/invoices/ without touching anything outside that folder.
  • Automatic expiration: Overnight grants expire on schedule and can be revoked immediately from your phone.
  • Hard exclusions stay protected: High-impact external actions are enforced by our open-source safety rules (packages/safety), with owner/admin checks enforced on the server.
  • Morning review cards: If a bot hits an unapproved step while you sleep, it pauses cleanly instead of discarding work and hands you a single Approve & finish card in the morning.

2. Why an on-device browser beats cloud VMs for personal web tasks

Cloud headless browsers run from datacenter IP ranges — banks, travel portals, and everyday web apps frequently block them or force repeated sign-ins.

Casama pairs its cloud Linux sandboxes with a native in-app browser built directly into our iOS, Android, macOS, Linux (WebKitGTK), and Windows (WebView2) apps:

  • Your real network and session: Zero VM boot delay and normal local browser sessions.
  • Watch live and take over in one tap: See every click on screen; tap in for a login or checkout step, then hand control back.
  • Same safety rules: Every sensitive step still obeys Casama's approval checkpoints.

Links

原文:https://www.a8q9.cn/en/article/why-we-built-scoped-overnight-approvals-and-an-on-device-ai-agent-browser-0c1f33.html

相关文章