Voxa.Core 0.1.0-alpha

This is a prerelease version of Voxa.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Voxa.Core --version 0.1.0-alpha
                    
NuGet\Install-Package Voxa.Core -Version 0.1.0-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Voxa.Core" Version="0.1.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Voxa.Core" Version="0.1.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Voxa.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Voxa.Core --version 0.1.0-alpha
                    
#r "nuget: Voxa.Core, 0.1.0-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Voxa.Core@0.1.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Voxa.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Voxa.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Tool

Voxa

CI License: MIT .NET

A frame-based, real-time voice AI pipeline framework for .NET. Inspired by Pipecat; built around the Microsoft Agent Framework, Azure Voice Live, and Azure Speech.

Status: pre-alpha (0.1.x). Public API stabilising. Not yet on NuGet.

What it is

Voxa lets you compose real-time voice agents from small, testable processors. Each processor consumes and emits typed Frames — audio, transcription, tool calls, control signals. System frames (interruption, errors) preempt data frames in their own task. Pipelines run asynchronously with bounded backpressure on data, unbounded priority on system signals.

var pipeline = Pipeline.Build()
    .Source(new WebSocketAudioSource(ws))
    .Then(new AzureVoiceLiveProcessor(opts))
    .Sink(new WebSocketAudioSink(ws));

await using var runner = new PipelineRunner(pipeline);
await runner.StartAsync();
await runner.WaitAsync();

Why not just call Voice Live (or OpenAI Realtime) directly

Voice Live is great for the simple case. But the moment you have a second backend (regional fallback, premium voices Voice Live doesn't host, OpenAI Realtime, telephony), one tenant policy that diverges, or an audit/cost/observability concern that crosses backends, you need a pipeline. Voxa is that pipeline. The Voice Live composite processor is one node in it; you can swap it for an Azure Speech STT → MAF agent → Azure Speech TTS chain on the same wire.

The same AzureVoiceLiveProcessor speaks Azure Voice Live, Azure OpenAI Realtime, and OpenAI Realtime — they share a wire protocol, so only the endpoint URL and auth header change.

Packages

Package Description
Voxa.Core Frames, processors, pipeline, runner. Zero external deps beyond NUlid.
Voxa.Testing WAV file source/sink, capturing/passthrough processors.
Voxa.Transports.WebSocket Host-agnostic source + sink over System.Net.WebSockets.WebSocket.
Voxa.Services.AzureVoiceLive Composite STT+LLM+TTS+VAD via the Realtime API protocol.
Voxa.Services.AzureSpeech Granular STT + TTS via the Cognitive Services Speech SDK.
Voxa.Services.MicrosoftAgents Wraps any Microsoft Agent Framework AIAgent as a processor.
Voxa.Observability TracingProcessor + VoxaActivities ActivitySource for OpenTelemetry.

Architecture

┌──────────────┐   ┌──────────────┐   ┌──────────────┐
│PipelineSource│-->│FrameProcessor│-->│ PipelineSink │
└──────────────┘   └──────────────┘   └──────────────┘
       │                  ↑                  │
   IngestAsync       ErrorFrame         ReadAllAsync
                    (upstream)

Each FrameProcessor runs two concurrent tasks: a system task draining priority frames (InterruptionFrame, speaking events, errors) and a data task draining ordered frames. An interruption mid-frame cancels the in-flight data frame's CancellationToken so long-running calls (LLM streaming, TTS synthesis) abort cleanly.

Two pipeline shapes

Voice Live path — managed STT+LLM+TTS+VAD in a single processor:

Pipeline.Build()
    .Source(new WebSocketAudioSource(ws))
    .Then(new AzureVoiceLiveProcessor(voiceLiveOpts))
    .Sink(new WebSocketAudioSink(ws));

Granular path — for tenants without Voice Live regional access, premium voices, or a different LLM stack:

Pipeline.Build()
    .Source(new WebSocketAudioSource(ws))
    .Then(new AzureSpeechSttProcessor(speechOpts))
    .Then(new MicrosoftAgentsProcessor(yourAgent))
    .Then(new AzureSpeechTtsProcessor(speechOpts))
    .Sink(new WebSocketAudioSink(ws));

Wire protocol

Binary WebSocket frames carry raw 16-bit PCM @ 24 kHz mono. Text WebSocket frames carry typed JSON envelopes:

Client → Server: hello, end, text, toolResult Server → Client: transcription, text, toolCall, speaking, interruption, error, end

See WireProtocol.cs for the codec.

Observability

Voxa.Observability publishes VoxaActivities.Source (an ActivitySource named Voxa). Drop a TracingProcessor anywhere in the pipeline to emit per-frame spans:

Pipeline.Build()
    .Source(...)
    .Then(new TracingProcessor("user-input"))
    .Then(new AzureVoiceLiveProcessor(opts))
    .Then(new TracingProcessor("voice-live-out"))
    .Sink(...);

Wire OpenTelemetry to capture them:

services.AddOpenTelemetry()
    .WithTracing(t => t.AddSource("Voxa").AddOtlpExporter());

Sample app

samples/Voxa.Samples.AspNetServer — minimal ASP.NET Core voice-agent server. dotnet run it, point a WebSocket client at wss://localhost:5001/voice, stream PCM.

Building

dotnet build
dotnet test

Targets net10.0. Requires .NET 10 SDK.

Roadmap

Phase Scope
1 ✅ Core pipeline primitives
2 ✅ AzureVoiceLive composite + Voxa.Testing harness
3 ✅ WebSocket transport + Microsoft Agents adapter
5 ✅ AzureSpeech STT/TTS standalone + ASP.NET sample
6 (current) Observability, OSS release, NuGet publish, CI
4 Mobile client integration (downstream consumers)

(Phase 4 swapped to last since it lives in consuming repos, not Voxa itself.)

Contributing

See CONTRIBUTING.md. All contributions need an issue or design doc reference for non-trivial changes.

License

MIT. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

NuGet packages (18)

Showing the top 5 NuGet packages that depend on Voxa.Core:

Package Downloads
Voxa.Speech.Abstractions

Vendor-neutral STT and TTS abstractions for the Voxa pipeline. Defines ISpeechToTextEngine, ITextToSpeechEngine, and the generic SpeechToTextProcessor / TextToSpeechProcessor that any vendor engine plugs into.

Voxa.Services.MicrosoftAgents

Adapter that wraps any Microsoft.Agents.AI AIAgent as a Voxa FrameProcessor. Bridges transcribed user input into the agent and pumps streamed text + tool calls back into the pipeline.

Voxa.Transports.WebSocket

WebSocket source and sink processors for the Voxa pipeline. Operates over any System.Net.WebSockets.WebSocket — works with ASP.NET Core, ClientWebSocket, and any host that surfaces a WebSocket.

Voxa.Services.AzureVoiceLive

Composite STT+LLM+TTS+VAD processor for the Voxa pipeline framework, backed by the Azure Voice Live API. The same processor speaks Azure OpenAI Realtime and OpenAI Realtime by changing the endpoint.

Voxa.Audio.SileroVad

ML-based voice activity detection for the Voxa pipeline using the Silero VAD ONNX model. Drop-in replacement for SilenceGateProcessor when energy-based filtering isn't enough — handles noisy environments and emits the same UserStartedSpeakingFrame / UserStoppedSpeakingFrame as Voice Live.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.2-alpha 274 7/10/2026
0.7.1-alpha 222 7/10/2026
0.7.0-alpha 226 7/10/2026
0.6.0-alpha 225 6/22/2026
0.5.0-alpha 166 6/13/2026
0.4.0-alpha 1,779 5/10/2026
0.3.0-alpha 149 5/9/2026
0.2.0-alpha 145 5/8/2026
0.1.0-alpha.2 120 5/8/2026
0.1.0-alpha 139 5/8/2026