> ## 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.

# Introduction

> Complior — open-source AI compliance platform for EU AI Act. Scan code, test AI systems, auto-fix issues, generate documents, and create audit-ready Agent Passports.

<Info>
  **EU AI Act enforcement: August 2, 2026.** Complior gives development teams the tools to get compliant before the deadline — from code analysis to audit-ready documentation.
</Info>

## What is Complior?

`complior` is an open-source CLI and platform for AI compliance. It scans your codebase, tests your AI systems, auto-fixes compliance issues, and generates legally required documents — all from the terminal.

<CardGroup cols={2}>
  <Card title="Scan Code" icon="magnifying-glass" href="/scan/overview">
    5-layer static analysis with compliance score 0–100. Detects 57+ AI frameworks.
  </Card>

  <Card title="Test AI Systems" icon="flask-vial" href="/eval/overview">
    680 dynamic probes on live endpoints — bias A/B testing, transparency, security attacks.
  </Card>

  <Card title="Auto-Fix Issues" icon="wrench" href="/fix/overview">
    18 remediation strategies across code, docs, config, and dependencies. Preview and undo.
  </Card>

  <Card title="Generate Passport" icon="id-card" href="/passport/overview">
    AI system identity card. Ed25519 signed. 65–70% auto-filled from code at init.
  </Card>
</CardGroup>

## By the numbers

<CardGroup cols={4}>
  <Card title="108" icon="scale-balanced">
    EU AI Act obligations mapped
  </Card>

  <Card title="57+" icon="microchip">
    AI frameworks detected
  </Card>

  <Card title="680" icon="flask-vial">
    Dynamic test probes
  </Card>

  <Card title="36" icon="id-card">
    Passport fields
  </Card>
</CardGroup>

## What you get

Every AI system in your project gets a complete compliance package:

<CardGroup cols={3}>
  <Card title="Agent Passport" icon="passport">
    Standardized identity card with 36 fields — risk class, autonomy level, permissions, compliance status.
  </Card>

  <Card title="Compliance Documents" icon="file-shield">
    FRIA, AI Policy, Worker Notification, Technical Docs — pre-filled from your passport data.
  </Card>

  <Card title="Evidence Chain" icon="link">
    Cryptographic proof of every action: SHA-256 hash → ed25519 signature → tamper-proof chain.
  </Card>
</CardGroup>

## See it in action

```bash theme={null}
$ complior scan

◆ Complior v1.0.0  ·  EU AI Act Compliance Scanner
────────────────────────────────────────────────────
Scanning  acme-ai-support
Files     57 collected
Elapsed   82ms

────────────────────────────────────────────────────
COMPLIANCE SCORE                         33 / 100  F
────────────────────────────────────────────────────

Layer Results
  L1    File Presence            FAIL   13 issues
  L3    Dependencies             FAIL   3 issues
  L4    Code Patterns            WARN   46 issues
  NHI   Secrets                  FAIL   7 issues

FINDINGS  (72 total · 6 critical · 8 high · 55 medium)

Next: run `complior fix` to auto-remediate 29 findings
```

## Get started

<Steps>
  <Step title="Initialize project" icon="folder-plus">
    Create `.complior/` config, auto-discover AI agents, generate Agent Passports.

    ```bash theme={null}
    complior init
    ```
  </Step>

  <Step title="Scan your code" icon="magnifying-glass">
    5-layer static analysis — compliance score, security score, actionable findings.

    ```bash theme={null}
    complior scan
    ```
  </Step>

  <Step title="Fix issues" icon="wrench">
    Auto-remediate findings — add SDK wrappers, generate documents, harden config.

    ```bash theme={null}
    complior fix
    ```
  </Step>

  <Step title="Open dashboard" icon="gauge-high">
    Launch the TUI with 9 interactive pages for full compliance visibility.

    ```bash theme={null}
    complior
    ```
  </Step>
</Steps>

## Why Complior?

<AccordionGroup>
  <Accordion title="Developer-first" icon="code">
    CLI, TUI, and MCP server — not a web form for lawyers. Works in the terminal alongside your code. Integrates with Claude Code, Cursor, Windsurf, and other AI agents.
  </Accordion>

  <Accordion title="Deterministic compliance" icon="shield-check">
    LLM **never** makes compliance decisions. All checks are AST + rules (layers L1–L4). LLM only helps understand and fix issues (opt-in layer L5).
  </Accordion>

  <Accordion title="Works offline" icon="wifi-slash">
    Base scan runs in 2–5 seconds with zero dependencies, zero internet, zero accounts. Install → works.
  </Accordion>

  <Accordion title="Audit-ready artifacts" icon="stamp">
    Every action produces cryptographic evidence (SHA-256 + ed25519). Passports, documents, and evidence combine into an audit package for the regulator.
  </Accordion>

  <Accordion title="108 obligations mapped" icon="scale-balanced">
    Full EU AI Act coverage with each obligation mapped to a concrete Complior feature. Plus ISO 42001, OWASP LLM Top 10, and MITRE ATLAS.
  </Accordion>

  <Accordion title="Open source" icon="heart">
    AGPLv3. Full daemon + TUI + CLI + SDK + MCP Server. No account required.
  </Accordion>
</AccordionGroup>

## The compliance pipeline

| Step            | Action                                                  | Command                                     |
| --------------- | ------------------------------------------------------- | ------------------------------------------- |
| **1. Init**     | Create config + discover AI agents + generate passports | `complior init`                             |
| **2. Scan**     | Analyze code for compliance gaps                        | `complior scan`                             |
| **3. Fix**      | Auto-remediate issues                                   | `complior fix`                              |
| **4. Eval**     | Test live system behavior                               | `complior eval --target <url>`              |
| **5. Document** | Generate FRIA, AI Policy, Worker Notification           | `complior agent fria` / `policy` / `notify` |
| **6. Certify**  | Produce audit package                                   | `complior agent audit-package`              |
| **7. Monitor**  | Track production drift                                  | `complior` (daemon watcher)                 |

<Tip>
  **Agent Passport** is the central data layer — it receives data from every step and feeds into documents, scoring, and certification.
</Tip>

## New to AI compliance?

<CardGroup cols={3}>
  <Card title="Compliance 101" icon="graduation-cap" href="/guides/compliance-101">
    EU AI Act explained in 5 minutes for developers.
  </Card>

  <Card title="Quick Start" icon="rocket" href="/getting-started/quickstart">
    4 commands from zero to audit-ready. Takes 3 minutes.
  </Card>

  <Card title="FAQ" icon="circle-question" href="/guides/faq">
    Common questions about Complior and compliance.
  </Card>
</CardGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Installation" icon="download" href="/installation">
    npm, npx, or cargo — choose your install method.
  </Card>

  <Card title="CLI Reference" icon="terminal" href="/cli/commands">
    40+ commands with flags and examples.
  </Card>

  <Card title="API Reference" icon="server" href="/api/overview">
    100+ HTTP endpoints for programmatic access.
  </Card>

  <Card title="SDK" icon="puzzle-piece" href="/sdk/overview">
    Runtime compliance middleware for LLM clients.
  </Card>
</CardGroup>
