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

# Examples

> Browse example code for the ai-coustics SDK across all supported languages.

Explore ready-to-run examples for each SDK language binding. Each example demonstrates common usage patterns like model loading, audio enhancement, and benchmarking.

<Note>
  SDK examples require an `AIC_SDK_LICENSE` environment variable. Get your license key from the [ai-coustics Developer Platform](https://developers.ai-coustics.com). LiveKit examples can use LiveKit Cloud authentication instead.
</Note>

## LiveKit

<CardGroup cols={1}>
  <Card title="LiveKit Quickstart" href="/models/get-started/livekit-quickstart">
    Add ai-coustics speech enhancement to a LiveKit Python or Node.js voice agent.
  </Card>
</CardGroup>

## Python

<CardGroup cols={2}>
  <Card title="Basic Usage" icon="python" href="https://github.com/ai-coustics/aic-sdk-py/blob/main/examples/basic.py">
    Download a model from the CDN, load it, configure a processor, and enhance audio in a synchronous workflow.
  </Card>

  <Card title="Async Usage" icon="python" href="https://github.com/ai-coustics/aic-sdk-py/blob/main/examples/basic_async.py">
    Asynchronous version of the basic example using `async`/`await` for model downloading and audio processing.
  </Card>

  <Card title="File Enhancement" icon="python" href="https://github.com/ai-coustics/aic-sdk-py/blob/main/examples/enhance_files.py">
    Enhance WAV files from disk. Supports mono and multi-channel audio with progress reporting.
  </Card>

  <Card title="Benchmark" icon="python" href="https://github.com/ai-coustics/aic-sdk-py/blob/main/examples/benchmark.py">
    Benchmark real-time processing throughput by spawning parallel processing sessions.
  </Card>
</CardGroup>

## Pipecat

<CardGroup cols={2}>
  <Card title="Speech Enhancement (AICFilter)" icon="robot" href="https://github.com/pipecat-ai/pipecat/blob/main/examples/voice/voice-aicoustics.py">
    Voice agent that enhances incoming audio with the AICFilter.
  </Card>

  <Card title="Voice Activity Detection" icon="robot" href="https://github.com/pipecat-ai/pipecat/blob/main/examples/voice/voice-aicoustics-vad-only.py">
    Voice agent using the standalone Quail VAD analyzer.
  </Card>
</CardGroup>

## Node.js

<CardGroup cols={2}>
  <Card title="Basic Usage" icon="node-js" href="https://github.com/ai-coustics/aic-sdk-node/blob/main/examples/basic.js">
    Download a model, create a processor, and enhance audio samples with the Node.js SDK.
  </Card>

  <Card title="File Processing" icon="node-js" href="https://github.com/ai-coustics/aic-sdk-node/blob/main/examples/file-processing.js">
    Read a WAV file, enhance it with configurable model and enhancement level, and write the result to disk.
  </Card>
</CardGroup>

## Rust

<CardGroup cols={1}>
  <Card title="Basic Usage" icon="rust" href="https://github.com/ai-coustics/aic-sdk-rs/blob/main/examples/basic_usage.rs">
    Download a model at runtime, configure a processor with enhancement and VAD parameters, and process audio.
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Benchmark" icon="rust" href="https://github.com/ai-coustics/aic-sdk-rs/blob/main/examples/benchmark.rs">
    Multi-threaded benchmark that measures real-time processing throughput across parallel sessions.
  </Card>

  <Card title="Build-Time Model Download" icon="rust" href="https://github.com/ai-coustics/aic-sdk-rs/tree/main/examples/build-time-download">
    Download a model at build time and embed it directly into your binary using the `include_model!` macro.
  </Card>
</CardGroup>

## C

<CardGroup cols={1}>
  <Card title="Basic Usage" icon="c" href="https://github.com/ai-coustics/aic-sdk-c/blob/docs/0.14.0/examples/basic.c">
    Load a model from file, create a processor, and enhance multi-channel audio using the C API.
  </Card>
</CardGroup>

## C++

<CardGroup cols={1}>
  <Card title="Basic Usage" icon="c" href="https://github.com/ai-coustics/aic-sdk-cpp/blob/main/example/main.cpp">
    Load a model, configure a processor with enhancement and VAD settings, and process audio using the C++ API.
  </Card>
</CardGroup>
