# Beams

Interceptors are responsible for connecting to massive data streams and ensuring stable consumption of the data. They act as a conduit, executing Beams on the data flows. Beams, in this context, represent small, modular pieces of code that are designed to perform specific data processing tasks.

Beams, in this context, represent small, modular pieces of code that are designed to perform specific data processing tasks. They can be compared to serverless functions, as they can be combined and orchestrated to achieve the desired data processing results. Beams are designed to be lightweight, flexible, and easy to integrate into data processing pipelines.

Currently, the majority of Beams are built within the Interceptor framework by the DH3 team, which provides a structured environment for managing data flows and processing. Shortly anyone will be able to provide their Beams through WASM (WebAssembly) modules, enabling custom logic and extending the capabilities of the data processing system. This will allow for more complex and specialized data processing tasks, such as incorporating external data sources, dictionaries, and other custom logic.


---

# 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.dh3.io/specs/stream-interceptors/beams.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.
