# Building Blocks

ByteNite's building blocks are designed to help you structure your distributed workloads into modular, reusable components. These components—Partitioners, Apps, and Assemblers—let you focus on your core logic without worrying about the complexities of distributed execution, fault tolerance, retries, or logging. We've got that covered.

At a high level, ByteNite breaks down a distributed job's lifecycle into three phases:

1. **Partitioning Engine**: Handles input downloading, pre-processing, and task creation.
2. **App**: Executes the core logic for each individual task.
3. **Assembling Engine**: Collects and merges the results from individual tasks.

Each component is fully customizable and versionable, enabling you to build flexible pipelines that fit your specific needs.&#x20;

Explore the following guides to learn how to develop your own ByteNite Apps, Partitioning Engines, and Assembling Engines to create distributed workflows tailored to your needs.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Apps</strong> let you submit code to run on ByteNite's infrastructure.</td><td><a href="/pages/VURot16Ts2LekIWjoFsX">/pages/VURot16Ts2LekIWjoFsX</a></td><td><a href="/files/UgHXPtYA804GRDRMsKqH">/files/UgHXPtYA804GRDRMsKqH</a></td></tr><tr><td>Build a <strong>Data Partitioning Engine</strong> to tell your app how to pre-process input data. </td><td><a href="/pages/kodzVZcuPz9LKyFKguw1">/pages/kodzVZcuPz9LKyFKguw1</a></td><td><a href="/files/9f5TPmlEF9TxR3i6XE7K">/files/9f5TPmlEF9TxR3i6XE7K</a></td></tr><tr><td>Add a <strong>Data Assembling Engine</strong> to define chunk merging logic.</td><td><a href="/pages/4AD9aLhoeRRWXnfEwpyK">/pages/4AD9aLhoeRRWXnfEwpyK</a></td><td><a href="/files/Lh38T9sdBBHM2euY6xuc">/files/Lh38T9sdBBHM2euY6xuc</a></td></tr><tr><td>Use <strong>Job Templates</strong> to harmonize versions across apps and data engines.</td><td><a href="/pages/LbmGVDFnBpqrn6Z3pISX">/pages/LbmGVDFnBpqrn6Z3pISX</a></td><td><a href="/files/seTLhRpzL34dtKeA3dhD">/files/seTLhRpzL34dtKeA3dhD</a></td></tr></tbody></table>


---

# 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://docs.bytenite.com/create-with-bytenite/building-blocks.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.
