# Edge pipeline

Defines what the edge pipeline does and what it guarantees.

### Responsibilities of the Edge Pipeline

The edge pipeline is responsible for:

```mermaid
sequenceDiagram
  autonumber
  participant Cam as Camera
  participant Edge as Edge service
  participant Infer as Inference
  participant Policy as Policy/guardrails
  participant Store as Local store (DB+FS)
  participant UI as Local UI/dashboard
  participant Site as Site hub (optional)

  Cam->>Edge: Frame/stream
  Edge->>Infer: Preprocess + infer
  Infer-->>Edge: Detections + confidences
  Edge->>Policy: Apply thresholds + rules
  Policy-->>Edge: PASS / FAIL / REVIEW
  Edge->>Store: Write event metadata + evidence refs
  Edge->>UI: Update station status + counts
  Edge-->>Site: Sync events/evidence (optional, async)
```

* Ingesting live video or sensor streams
* Evaluating inspection conditions in real time
* Producing inspection outcomes
* Capturing inspection evidence
* Emitting structured inspection events

### Design Characteristics

The edge pipeline is designed to be:

* Deterministic in latency
* Bounded in resource usage
* Configurable per inspection station
* Predictable under load

Specific algorithms, models, and optimization strategies are proprietary and intentionally omitted.

### Next steps

* [Local RCA engine](/doc/intelfactor-ai/product-concepts/local-rca-engine.md)
* [Safety rails](/doc/intelfactor-ai/product-concepts/safety-rails.md)
* [Interfaces](/doc/intelfactor-ai/architecture-and-data/interfaces.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://intelfactor.gitbook.io/doc/intelfactor-ai/architecture-and-data/edge-pipeline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
