Mjara Docs
Safety & Control

Human-in-the-Loop

Arif AI implements a risk-based confirmation system to ensure that sensitive or high-impact operations require explicit user approval before execution. This prevents accidental bulk deletions, unauthorized modifications, and other potentially destructive actions.

Risk Levels

The system automatically assesses the risk level of each operation based on the number of affected documents and the operation type:

Risk LevelTriggerExampleAction Required
Low< 5 documentsCreate a single customerAuto-execute
Medium5–20 documentsDelete 10 invoicesUser confirmation
High20–100 documentsBulk update 50 recordsManager approval
Critical> 100 documents or financialDelete 200+ invoicesDirector approval

Confirmation Flow

How It Works

  1. When the AI requests a tool execution, the system checks the risk level
  2. For low-risk operations, execution happens immediately
  3. For medium, high, or critical operations, a Pending Action is created
  4. The user receives a notification with a description of the action and a preview of what will happen
  5. The user has a 7-day window to confirm or reject the action
  6. If not confirmed within 7 days, the action automatically expires

Pending Actions

You can view all pending actions by navigating to the Arif Pending Action list in Mjara. Each action shows:

  • A description of what will happen
  • The number of affected documents
  • A preview of the changes
  • The risk level
  • The expiry date

Confirmation via Chat

You can also confirm or reject actions directly in the chat. When Arif AI requests confirmation, it provides the details and waits for your response before proceeding.

On this page