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

# Concepts overview

> The mental model behind Frayme — what a case is, how a decision is born, where the queue and audit trail fit in.

Frayme is a directed pipeline from **event → decision**, recorded by an immutable **audit trail**, and presented to analysts through a **queue → console** workflow.

The router at the centre of every workflow follows the same shape: a score, compared against four bands and routed accordingly.

```mermaid theme={null}
flowchart LR
  E[Event<br/>case opened] --> WF[Workflow run]
  WF --> D{Decision}
  D -- Low risk · auto-approve --> A[Approved]
  D -- Mid risk · queue → console --> Q[Manual review]
  D -- High risk · block / escalate --> B[Blocked / escalated]
  WF -.-> AUD[(Audit log)]
  Q --> AUD
  B --> AUD
```

The **conditions** that decide which branch fires are explicit — score thresholds, hard signals (sanctions, hard reject labels), or analyst overrides. The four bands themselves are fixed (Low, Medium, High, Critical); their **ranges** and **routing** are per-client tunable.

## Five things to internalise

<CardGroup cols={2}>
  <Card title="Case" icon="folder-open" href="/concepts/cases">
    The unit of work. A case can be a transaction, a KYC submission, or a KYB submission. Carries channel, subject, payload, originator-risk-level.
  </Card>

  <Card title="Decision" icon="gavel" href="/concepts/decisions">
    The verdict produced by a workflow run: approve / review / deny / report, plus the risk band and reasoning trail.
  </Card>

  <Card title="Queue" icon="list-check" href="/concepts/queue">
    The live work list. Anything that didn't auto-resolve lands here.
  </Card>

  <Card title="Risk score" icon="gauge-high" href="/concepts/risk-scoring">
    A 0–100 synthesis. Mapped into the four bands.
  </Card>

  <Card title="Workflow" icon="diagram-project" href="/concepts/workflows">
    The graph that turns events into decisions.
  </Card>

  <Card title="Audit trail" icon="scroll" href="/concepts/audit-trail">
    Append-only log of everything that touched a case.
  </Card>
</CardGroup>

## Glossary

The [glossary](/concepts/glossary) collects Frayme-specific terms plus country-specific regulatory vocabulary (currently focused on Brazil — CPF, CNPJ, COAF, PIX, DICT, PSAV).
