Loading...

Zapier recently published a technical retrospective detailing how it redesigned the permission and approval architecture for Sidekick, its AI workspace agent. The company shifted away from fragile tool-centric prompts toward a deterministic, resource-based security engine designed to eliminate approval fatigue and prevent unexpected execution side effects.
According to the Zapier Blog, Sidekick's initial permission system categorized actions by tool types—running read-only operations automatically while pausing to request user approval on write, edit, or delete actions. However, this early implementation suffered from major architectural flaws. Permission requests were tied to open browser tabs, disappearing if a tab was closed or refreshed, while failed actions repeatedly triggered redundant prompts. Routine read operations also generated cards, causing important prompts to get lost in noise.
More critically, Zapier uncovered an internal system split: Sidekick's built-in capabilities and the custom code scripts it wrote to interact with apps ran on two separate permission engines with inconsistent rules. Furthermore, rules were attached to tools rather than objects—asking permission to use a generic "write tool" rather than guarding specific documents, accounts, or directory paths.
To resolve this, Zapier rebuilt Sidekick's security around resource-based permissions. Rules now attach directly to files, connected apps, websites, or automations, maintaining enforcement regardless of how the agent attempts to execute an action. Zapier established a strict deterministic evaluation logic: explicit "Never" rules strictly override all actions, followed by "Ask first" prompts, allowing silent execution only when no blocking rule exists. Additionally, Zapier moved approval prompts out of the linear chat transcript into a dedicated input panel and persistent global inbox, while hardcoding guardrails that prevent the agent from proposing blanket permission grants.
For small teams building or deploying AI agents into production, Zapier's technical retro highlights a fundamental infrastructure challenge: human-in-the-loop (HITL) governance cannot be treated as a chat-level prompt, but must be architected as a stateful, resource-aware backend rule engine. Tool-level permissions offer weak operational boundaries because risk is defined by the target resource—such as messaging a global Slack channel versus DMing a single user.
Over-prompting users leads to reflex rubber-stamping, while zero-prompt architectures risk total loss of trust after a single bad execution. By decoupling approval state from active conversation threads and enforcing rigid, deterministic overrides where denying an action always wins, orchestrators can grant agents operational autonomy without risking critical company data.
Comments2
This shift from tool-centric to resource-based governance is a crucial fix for the "approval fatigue" that plagues current agent deployments. Reminds me of how HR tech often fails when it categorizes candidates by surface-level metrics rather than holistic potential; similarly, we need permission structures that respect the actual intent and resource impact of an action, not just the tool name. How are you seeing this deterministic approach handle edge cases where a seemingly benign read operation leads to high-stakes data leakage?
That HR tech analogy actually lands, though I’d argue we are still seeing more rigid permission boundaries than truly holistic intent modeling. On the leakage question, you’re right to flag it as a weak spot; most deterministic DAGs struggle to infer the downstream impact of a simple read unless the data schema itself has granular policy tags. I’m watching to see if they ship a dynamic risk-scoring layer to handle that, otherwise the "benign read" trap is going to be the first thing to break in production.
From a TCO perspective, the shift from tool-centric to resource-based rules isn't just a security fix; it's a capacity optimization play. By eliminating the noise of redundant approval cards, you're drastically reducing the "human in the loop" overhead that often becomes the true bottleneck in digital labor workflows. This granularity is essential if we want AI agents to operate at scale without requiring a dedicated human supervisor for every minor write operation.