> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/platform/pop.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Pops

The reusable pipeline every EyePop analysis runs through

A Pop is a reusable vision pipeline. It combines one or more models and [abilities](https://docs.eyepop.ai/platform/abilities.md) — models, prompts, and logic — into a workflow, and every image, video, livestream, or camera feed EyePop analyzes runs through one. Because a Pop is built by composing components, it is sometimes called a **composable Pop**; same thing.

### Why Pops exist

Most real-world visual AI problems need more than one model. Reading a license plate means detecting a vehicle, locating the plate, cropping it, running OCR, and returning structured results. A Pop combines those steps into a single reusable workflow, so the intermediate crops never round-trip to your code.

### Anatomy of a Pop

A Pop holds a list of components. The simplest Pop runs a single ability. An inference component identifies the ability it runs and any optional thresholds or output category; other component types handle operations such as forwarding, tracking, and turning segmentation masks into shapes.

Components at the top level run in parallel on the full frame. Sequencing is expressed by *forwarding* a component's output to the components that come next — which is what turns a list into a pipeline.

The reference is split across three pages: [Pop Object](https://docs.eyepop.ai/platform/pop/pop-object.md) for the pipeline's own shape, [Components](https://docs.eyepop.ai/platform/pop/pop-components.md) for every component type and attribute, and [Forwarding](https://docs.eyepop.ai/platform/pop/pop-forwarding.md) for how they chain. [Examples](https://docs.eyepop.ai/platform/pop/pop-examples.md) shows the common pipelines end to end.

### Chaining components

A component can forward its output to further components. A crop forward passes each detected region downstream; a full forward passes the whole image. For example, a Pop can find people and then run 2D body points on each person crop.

The same shape covers the common pipelines: vehicle → plate → OCR, worker → PPE → violation, product → classification → inventory, and detect → crop → VLM.

### Running a Pop

Use the Python SDK or Node SDK to attach a Pop to a worker session and hand it a [source](https://docs.eyepop.ai/platform/sources-and-options.md). The [Quickstart](https://docs.eyepop.ai/readme.md) shows the minimal flow in both languages; their complete guides are available from this site's navigation.

### Inputs and outputs

A Pop accepts a [source](https://docs.eyepop.ai/platform/sources-and-options.md): [Source Types](https://docs.eyepop.ai/platform/sources-and-options/sources.md) covers every kind it takes, and [Source Options](https://docs.eyepop.ai/platform/sources-and-options/options.md) the settings that shape how each one is processed. It returns structured JSON — bounding boxes, labels, counts, OCR text, tracking IDs, classifications, extracted fields, and VLM responses, depending on the abilities it runs.

### Where a Pop runs

The same Pop definition runs unchanged in the [cloud](https://docs.eyepop.ai/deploying/cloud.md) or [on-premise](https://docs.eyepop.ai/deploying/on-premise.md). A persistent [Deployment](https://docs.eyepop.ai/deploying/cloud/deployment.md) keeps one Pop continuously active with models pre-loaded, for low-latency and real-time workloads.

### Best practices

* Start with the simplest workflow that solves the problem.
* Use detection to narrow the scope before running more expensive analysis.
* Hide intermediate stages the caller did not ask to see, rather than filtering them out in your own code.
* Test with representative production data.
* Reuse Pops across applications rather than duplicating workflows.

### Next steps

* [Pop Object](https://docs.eyepop.ai/platform/pop/pop-object.md) — the shape of a Pop and how its top-level components run
* [Components](https://docs.eyepop.ai/platform/pop/pop-components.md) — every component type and its attributes
* [Forwarding](https://docs.eyepop.ai/platform/pop/pop-forwarding.md) — chaining components, and what each one receives
* [Examples](https://docs.eyepop.ai/platform/pop/pop-examples.md) — worked pipelines from one ability to multi-stage chains
* [Abilities](https://docs.eyepop.ai/platform/abilities.md) — the pretrained and custom models to name in an inference component
* [Sources and Options](https://docs.eyepop.ai/platform/sources-and-options.md) — what you can submit to a Pop


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/platform/pop.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
