> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> A single, self-configuring component that auto-detects Cascade, Realtime, or Hybrid mode.

The `Pipeline` is a single, self-configuring component. You hand it the components you need, and based on what you pass in it automatically selects **Cascade**, **Realtime**, or **Hybrid** mode and connects them for you.

## Pipeline Code Snippet

A basic Cascade pipeline built from STT, LLM, TTS, VAD, and a Turn Detector.

<CodeGroup>
  ```python title="main.py" Python theme={null}
  from zrt import Pipeline
  from zrt.plugins import DeepgramSTT, OpenAILLM, ElevenLabsTTS, SileroVAD, TurnDetector
  from zrt.inference import AICousticsDenoise

  pipeline = Pipeline(
      stt=DeepgramSTT(),
      llm=OpenAILLM(),
      tts=ElevenLabsTTS(),
      vad=SileroVAD(),
      turn_detector=TurnDetector(model="echo-large"),
      denoise=AICousticsDenoise(model_id="quail-vf-2.2-l-16khz"),
  )
  ```
</CodeGroup>

## What's Next

#### Plugins

<CardGroup cols={4}>
  <Card title="STT" icon="waveform" href="/plugins/overview#speech-to-text">
    Speech-to-text providers.
  </Card>

  <Card title="TTS" icon="volume-high" href="/plugins/overview#text-to-speech">
    Text-to-speech providers.
  </Card>

  <Card title="LLM" icon="brain" href="/plugins/overview#llm">
    Language model providers.
  </Card>

  <Card title="Realtime" icon="bolt" href="/plugins/overview#realtime-models">
    Speech-to-speech realtime models.
  </Card>
</CardGroup>

#### Feature

<CardGroup cols={2}>
  <Card title="Pipeline Observability" icon="chart-line" href="/build/configure-a-pipeline/observability-hooks">
    Observe metrics and traces at each pipeline stage.
  </Card>

  <Card title="Modes" icon="sliders" href="/build/configure-a-pipeline/modes">
    Cascade, Realtime, and Hybrid, chosen automatically from your components.
  </Card>
</CardGroup>

## References

<Tabs>
  <Tab title="Python">
    #### Examples

    <CardGroup cols={2}>
      <Card title="Cascade Basic" icon="github" href="https://github.com/ZeroRuntimeAI/zrt-python-sdk-examples/blob/main/features/basic_cascade.py">
        Minimal cascade pipeline.
      </Card>

      <Card title="Realtime Basic" icon="github" href="https://github.com/ZeroRuntimeAI/zrt-python-sdk-examples/blob/main/features/realtime.py">
        Minimal Realtime pipeline.
      </Card>
    </CardGroup>

    #### SDK Reference

    <CardGroup cols={2}>
      <Card title="Pipeline" icon="book" href="/api-reference/python/core/pipeline">
        `Pipeline` in the Python API reference.
      </Card>
    </CardGroup>
  </Tab>
</Tabs>
