> 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/pop-components.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Components

Every Pop component type and the attributes it accepts

The component types a [Pop](https://docs.eyepop.ai/platform/pop.md) can contain, and every attribute each one accepts. For how components chain together, see [Forwarding](https://docs.eyepop.ai/platform/pop/pop-forwarding.md).

### Component types

| `type`             | Purpose                                                              | Runs inference | Reference                                                                                                 |
| ------------------ | -------------------------------------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------- |
| `inference`        | Run an ability or model and emit predictions.                        | yes            | [Inference](https://docs.eyepop.ai/platform/pop/pop-components/inference.md)                              |
| `tracking`         | Assign stable `trackId`s to detections across video frames.          | yes            | [Tracking](https://docs.eyepop.ai/platform/pop/pop-components/tracking.md)                                |
| `forward`          | Route media and predictions onward without analyzing them.           | no             | [below](#forward)                                                                                         |
| `contour_finder`   | Turn segmentation masks into contours.                               | no             | [Mask Operations](https://docs.eyepop.ai/platform/pop/pop-components/mask-operations.md#contour_finder)   |
| `component_finder` | Split segmentation masks into sub-objects with connected components. | no             | [Mask Operations](https://docs.eyepop.ai/platform/pop/pop-components/mask-operations.md#component_finder) |

### Attributes every component shares

| Attribute | Type    | Description                                                                                                                                                                                                                                                                                                                                                                                           |
| --------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `type`    | string  | One of the types above. Required. An unrecognized value is rejected.                                                                                                                                                                                                                                                                                                                                  |
| `id`      | integer | Stable identifier for this component. Assigned automatically from `1` upward when omitted. Must be unique within the Pop — a collision is rejected with `id N is not unique`.                                                                                                                                                                                                                         |
| `forward` | object  | Where this component's output goes next. See [Forwarding](https://docs.eyepop.ai/platform/pop/pop-forwarding.md).                                                                                                                                                                                                                                                                                     |
| `toWorld` | boolean | Enrich this component's point-based predictions with world coordinates, back-projected through the Pop's [`depthMap`](https://docs.eyepop.ai/platform/pop/pop-object.md). Only `inference` and `tracking` honour it; asking for it on any other type is rejected when the Pop is compiled. See [World Coordinates](https://docs.eyepop.ai/platform/depth-and-world-coordinates/world-coordinates.md). |

Every component type can forward, including the ones that run no inference. That is what lets a Pop tee one stage into several, or chain a finder into further analysis.

### `forward`

Carries media and predictions onward without analyzing them. Every other component type inherits forwarding, so a dedicated `forward` component is only needed to tee one stage into several branches, or as a Pop's single pass-through component.

It has no attributes of its own beyond [the shared ones](#attributes-every-component-shares).

### Next steps

* [Inference](https://docs.eyepop.ai/platform/pop/pop-components/inference.md) — running an ability, its attributes and prompts
* [Tracking](https://docs.eyepop.ai/platform/pop/pop-components/tracking.md) — the tracker, its defaults and its tuning
* [Mask Operations](https://docs.eyepop.ai/platform/pop/pop-components/mask-operations.md) — contours and sub-objects from segmentation masks
* [Forwarding](https://docs.eyepop.ai/platform/pop/pop-forwarding.md) — chaining these components, and what each one receives
* [Examples](https://docs.eyepop.ai/platform/pop/pop-examples.md) — worked pipelines end to end


---

# 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/pop-components.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.
