Knaph

Agent permissions

The harness's check on every tool call before it runs - allow it, ask you, or refuse it - set by a permission mode and by allow, ask and deny rules (deny wins). A sandbox limits what an action can reach once it runs.

Depth 1 · Foundation

You can explain where permissions are checked, how deny and allow rules combine, and how to set them up so the questions you get are worth reading.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You can explain where permissions are checked, how deny and allow rules combine, and how to set them up so the questions you get are worth reading.

  2. 2

    Deeper

    You can build it: a permission check that runs before every tool call (inside the folder, a denied command, always allowed, ask the person), and a refusal sent back to the model as a tool_result with is_error and the reason, so the conversation stays valid and the model can change course.

    Master depth 1 first

Your path here

What's still between you and Agent permissions, depth 1, in the order you can learn it.

  1. 1Language modelDepth 1 · Foundation · Language Models
  2. 2AI agentDepth 1 · Foundation · AI Agents
  3. 3TokenDepth 1 · Foundation · Language Models
  4. 4ProbabilityDepth 1 · Foundation · Probability
  5. 5Next-token predictionDepth 1 · Foundation · Language Models
  6. 6Stateless modelDepth 1 · Foundation · Language Models
  7. 7Context windowDepth 1 · Foundation · Language Models
  8. 8System promptDepth 1 · Foundation · Language Models
  9. 9Tool useDepth 1 · Foundation · AI Agents
  10. 10Agent loopDepth 1 · Foundation · AI Agents
  11. 11Agent harnessDepth 1 · Foundation · AI Agents
  12. 12Agent permissionsDepth 1 · Foundation · AI Agents

Where it fits