> ## Documentation Index
> Fetch the complete documentation index at: https://docs.complior.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Autonomy Levels

> 5-level autonomy scale with automatic AST detection.

## The scale

| Level  | Name       | Behavior                              | Example                           | Risk mapping |
| ------ | ---------- | ------------------------------------- | --------------------------------- | ------------ |
| **L1** | Assistive  | Suggests. Human decides AND executes. | Copilot autocomplete              | Minimal      |
| **L2** | Suggestive | Prepares action. Human confirms.      | "Send email? \[Y/n]"              | Minimal      |
| **L3** | Supervised | Acts. Human can veto (time window).   | Order processor, 10-sec review    | Limited      |
| **L4** | Autonomous | Acts on its own. Human gets logs.     | Customer support bot 24/7         | Limited      |
| **L5** | Fully Auto | Acts without notification. No human.  | Trading bot, autonomous recruiter | High         |

## Auto-detection from code

Complior's `autonomy-analyzer.ts` scans AST for human gate patterns and unsupervised actions:

```
human_approval_gates > 0 && unsupervised == 0     → L2
human_approval_gates > 0 && unsupervised > 0       → L3
human_approval_gates == 0 && unsupervised > 0 && logging  → L4
human_approval_gates == 0 && unsupervised > 0 && !logging → L5
nothing detected                                    → L1
```

Additionally detects `killSwitchPresent` — used for `oversight.override_mechanism`.

## Impact on passport

Autonomy level directly affects:

* **Risk class** (L5 → high risk, L1–L2 → minimal)
* **Applicable articles** (high-risk gets Art.6, 9, 11, 12, 13, 14, 26, 27, 49, 50)
* **Oversight block** (generated only for high-risk or L3+)
* **Deployer obligations** (more obligations for higher autonomy)
