Docs/Concepts/Approvals

Approvals and safety

How HolaClaw decides which tools your assistant may use on its own, when it asks you first, and how it guards against content that tries to steer it.

3 min read Updated November 17, 2026
  • Desktop
  • Server
  • Security

Your assistant acts through tools: it reads and writes files, fetches web pages, drives a browser, runs commands, and uses the tools of connected services. Every tool call passes through a policy gate first, which decides whether it runs, is refused, or waits for a person to approve it.

Tools and their risk

Each tool belongs to a risk class:

Class Examples
read search memory, read a file, load a skill
write save a memory, write a file, create a task
external fetch a web page, drive the browser, generate an image
exec run a shell command

A connector's tools take their class from what the server says about them.

The policy

For each class, the policy says allow, ask or deny. It can also set a single tool, or a whole connector, apart from its class. A tool that is denied never runs, and the model is told it was refused.

There are three sets of rules, chosen by who is talking:

  • In a conversation with the owner, an admin or a user.
  • For guests: people the assistant does not know yet. They may only read by default.
  • For tasks, which run with nobody there to answer. A tool that would ask is refused instead.

The app sets the policy for you. The assistant may read, write, reach the web and run commands without asking. Commands run inside the assistant's virtual machine, away from the files on your Mac.

Some steps still ask: a browser step that would buy something, send a message, delete something or change an account waits for your approval.

The policy is the [policy] table of each agent's agent.toml. By default an agent may read, write and reach the web freely, and may never run commands. You can switch any class or tool to ask, and allow a few safe commands by prefix, such as git status.

See the agent.toml reference.

Approvals and grants

When a call needs approval, the conversation pauses until someone answers. Only the owner or an admin can approve. You have 5 minutes: after that, the request is denied.

You answer with one of four choices:

Answer Covers
Deny nothing runs
Allow once this call only
Allow for this chat this tool for the rest of the conversation
Always allow this tool in every conversation, for you only

The last two are kept as grants, so the same request does not ask again. A grant never lifts a deny, and never applies to guests.

On Desktop, the request appears in the chat as a card. On Server, it appears in the conversation when the owner or an admin started the turn, with buttons on Telegram, Slack and Google Chat. Otherwise it waits for an admin in holaclaw approvals.

The guard model

On Server, you can give an agent a guard: a second, small model that scores each tool call for how safe it is to run without asking, and labels a risky one as destructive, exfiltration and so on. By default its verdict is advice: a low score turns an allow into an ask, and the score appears in the approval request. In auto mode, the guard allows the clear cases and denies the rest, so nobody is asked, but it never overrules a deny or a person's answer.

Untrusted content

Web pages, browser results, connector results and attached documents come from outside, so HolaClaw marks them as untrusted. The model receives them wrapped as data, and the core prompt tells it never to follow instructions inside them. The mark stays on anything derived from them, such as a summary.

HolaClaw also scores each untrusted result for text that tries to steer the assistant, such as "ignore your instructions". With taint_escalates turned on in an agent's policy, a result like that makes the next commands and web calls of the turn ask for approval. It is off by default: turn it on for an agent that reads the web and holds anything private.

Was this page helpful?

Can’t find what you need?

Ask the community on Discord.