Skip to content

Decide what an agent may do

Permission rules belong to the agent taking the turn. Its instructions describe the work it should do; its rules govern the calls it may make. The conversation's permission mode derives effective rules for a run without changing the stored list. Run shape, host services, and model compatibility can further limit tools an agent's rules allow.

What you can do

GoalHow
Restrict which tools an agent may useSwitch tools off on the agent's Store page, Access tab
Require confirmation before a changeAdd an ask rule to the agent (see Permissions)
Stop being asked about one commandChoose Always under Allow on the confirmation card, then Approve
Stop being asked inside one folderClick the folder in the path on a file's confirmation card
Switch off a mini app toolSwitch off that tool, or the whole mini app, for the agent
Track substantial workKeep a task-board mini app on; let the agent start subagents when parallel work helps
Cut tokens per turnGive the agent fewer tools — a lean agent is a lean prompt
Undo your edits to a shipped roleReset to defaults on that agent's Permission rules

How it works

The agent decides authority

Plain text
run shape + host services + model compatibility + effective agent rules
  → allowed tool candidates → immediate or deferred schemas

Permission rules belong to an agent and to nothing else. A run reads that one ordered list and the last rule matching the call decides; a role narrower than another is simply a different agent, which you can create and edit like any other. Permissions owns the rule grammar.

What a project still decides is where things are INSTALLED — its plugins, mini apps, MCP servers and skills — not what may run.

A conversation's permission mode derives the effective rules for its runs from the agent's list. Plan mode adds mutation denials. Bypass and Autonomous remove call-class confirmation rules and turn named-tool questions into allows while keeping existing denials. The stored agent rules stay unchanged. Run shape, host services, and model compatibility can also withhold a tool its rules allow.

Mini app tools and plugins

A mini app's tools join the same roster as the built-in ones, so one rule shape answers for both. tool:<name> over * with effect deny removes that mini app tool from the agent's runs; mini-app:<name> removes the whole mini app: its tools, its prompt line and its commands. A plugin:<name> rule does the same for a Claude Code plugin: its skills, commands, agents and MCP servers. The run projects the rules only after the loaded mini apps and plugins are known, so a tool switched off on the agent's Access tab never reaches the turn.

The conversation's Plan permission mode constrains project changes while allowing its own plan files and permitted session-state changes. Use it to investigate and prepare a plan for approval. For a lasting restriction, give the agent rules that deny the relevant calls; denying file-write tools alone does not prevent writes through shell commands or other tools. Agreed work can be tracked on a task-board mini app (see the Localix marketplace); its board starts no model or session. When separate execution is useful, the agent explicitly calls Agent, whose subagent runs as itself or a directory agent under the same mode.

Going back to what we ship

The roles that come with Localix start from rules we wrote, and after that the rules are yours. When an agent's list no longer matches ours, the Permissions page grows a Reset to defaults button; when it already matches, there is nothing to reset and no button. An agent you created has no default to return to, so it never shows one. Reset STAGES our answer rather than writing it — you read it on screen, then press Apply, and nothing is stored until you do.

Spending fewer tokens

Tool schemas contribute to each model request. Core schemas are sent directly; mini app and MCP schemas are deferred until activated or brought by a linked workbench. Use ContextBudget to inspect the current request cost; the tool roster guide explains the measured boundary.

There is no session switch for this. A run that should be lean is an AGENT that is lean: switch off the tools it does not need on its Store page, Access tab, and its mini apps, plugins and MCP servers with them — a server denied by the agent's rules is not connected for that run. A whole-tool denial with no later argument exception removes the candidate's schema. A conditional allow or named-tool question can keep the schema available, while the permission gate judges each call's arguments. The specialist presets use different candidate lists and action restrictions; their permission choices remain editable.

Switching a tool OFF for a role is the whole of that dial. Switching one on is not: a run also has to be able to carry it, which is the run shape's answer rather than the rule's — a tool a child session is allowed but its run shape never hands it is simply absent. The shipped roles are checked against this, so an allow one of them holds is one it can actually reach.

There is no separate per-session economy switch. Configure the agent's rules and inspect the assembled roster with ContextBudget; enabled tools can still be withheld by structural gates.

Configuration

SurfaceOperation
Agent Store page, Access tab: Tools / Skills / MCP / Plugins / Mini appsSwitch any one of them on or off for an agent
Settings → PermissionsArgument patterns, ask, whole families, and rule order
Confirmation cardOnce, This session, or Always; a folder level

The Access tab switches and the Permissions rules write the same thing. A switch is a rule: turning a skill off stores skill:<name> over * with effect deny, which is exactly the row Settings → Permissions would show. The registry switches send their changes immediately. The rules editor and Reset to defaults stage a draft until Apply. Turning a switch on writes an explicit allow; clearing a rule in the editor instead restores the artifact's default/trust behavior. Settings → Permissions also supports argument patterns and order, which a whole-item switch cannot express.

Limits

  • Rules are Localix application policy, not an operating-system sandbox. Nothing here grants or removes host privileges, and no rule bypasses protections enforced outside Localix.
  • An ask rule relies on each tool's static or per-call mutation classification. An incorrect classifier can prompt too often or let a write through without the extra confirmation.
  • Switching a tool on does not create it. The run shape, mini apps, client capabilities, and host dependencies can each narrow a run further.
  • The board creates no execution directory. Explicit sub-agents share the owning session hierarchy's workspace.

Source of truth