Voxta docs
DevelopersModules

Service types

Every service type a Voxta module can implement, from TextGen and TextToSpeech to music generation and chat bridges, and how the score ranks them.

When you register a module, you declare what kind(s) of service it provides via the Supports dictionary. This page lists every supported value and what to use it for.

The Supports dictionary

builder.Register(new ModuleDefinition
{
    // ...
    Supports = new()
    {
        ChatAugmentations = new(ServiceDefinitionCategoryScore.High),
    }
});

Each entry says: "I can act as this kind of service, with this confidence level." A single module can support multiple service types. For example, a vision provider that does both image generation and image understanding declares both.

The score

ServiceDefinitionCategoryScore is a relative weight Voxta uses to rank candidate services for a slot. Values: Low, Medium, High. Use High if your module is purpose-built for this service type, Low if it's a side capability.

Catalog

ServiceTypes valueWhat it doesTypical use caseRegistration
TextGenGenerates assistant replies from prompts.OpenAI, Anthropic, llama.cpp, KoboldCpp, Ollama.AddTextGenService
ActionInferenceDecides which semantic action the user is triggering (run alongside TextGen).Usually delegated to a fast LLM. Configure separately from main chat LLM for cost / speed.AddActionInferenceService
DecisionsPicks one of a fixed set of options and returns it with a probability. Writes no text.Who speaks next, argument-less actions and tool call review, in place of ActionInference. Declared with DecisionsSupport. Set RunsOnActionInference when it answers with the model your ActionInference service loaded. See Decisions.AddDecisionsService
SummarizationCondenses long chat histories into memory.A cheap LLM endpoint kept separate from the main chat LLM.AddSummarizationService
TextToSpeechRenders text to audio.ElevenLabs, Azure TTS, Coqui, Piper, SAPI.AddTextToSpeechService
SpeechToTextTranscribes microphone audio.Vosk, Whisper, Azure Speech, Google STT.AddSpeechToTextService
AudioInputRaw microphone capture.Custom audio backends, virtual mics, network audio.AddAudioInputService
AudioOutputSpeaker playback.Custom output routing, network audio.AddAudioOutputService
AudioPipelineAudio processing (noise suppression, gain, format conversion).DSP plugins, sample-rate converters.AddAudioPipelineService
WakeWordListens for a hotword to start a chat turn.Picovoice Porcupine, openWakeWord.AddWakeWordService
VisionCaptureCaptures images from a source (screen, webcam, game window).Screen grabbers, OBS bridges.AddVisionCaptureService
ComputerVisionUnderstands images: describes scenes, identifies objects, reads text.GPT-4o vision, Claude vision, local vision models.AddComputerVisionService
ChatAugmentationsInjects context into the chat and exposes semantic actions the LLM can trigger.In-process game and app integrations: anything you can drive from .NET without another runtime. See the module examples in the ModuleDevTools skills.AddChatAugmentationsService
MemoryLong-term knowledge store the chat can query.Vector databases, RAG backends.AddMemoryProviderService
ImageGenGenerates images from text.Stable Diffusion (local), DALL·E, Imagen.AddImageGenService
AnimationsDrives avatar / character motion from text.Currently the HY-Motion experimental motion service.AddAnimationGenService
VideoGenGenerates video from a prompt.Text-to-video and image-to-video backends.AddVideoGenService
PortraitAnimationAnimates a character's portrait from the voice it speaks with.Talking-portrait models. See Portrait Animation.AddPortraitAnimationService
ImageBackgroundRemovalCuts the subject out of an image.Transparent character portraits. InSPyReNet, Voxta Cloud.AddImageBackgroundRemovalService
VideoBackgroundRemovalCuts the subject out of a video.InSPyReNet, SAM 2.AddVideoBackgroundRemovalService
ImageUpscalingEnlarges an image.Spandrel, Voxta Cloud.AddImageUpscalingService
VideoUpscalingEnlarges a video.Spandrel.AddVideoUpscalingService
VideoFrameInterpolationAdds frames between a video's frames, for smoother motion.RIFE.AddVideoFrameInterpolationService
MusicGenGenerates songs from a description and lyrics.ACE-Step, LeVo, audio.cpp.AddMusicGenService
MeshGenGenerates a 3D model from an image.TRELLIS.2.AddMeshGenService
AudioTranscriptionTranscribes audio files, as opposed to a live mic.Voice cloning, where a reference clip needs its transcript. Most providers have one or the other: OpenAI transcribes a file and can't stream, Vosk streams and has no file endpoint.AddAudioTranscriptionService
TurnDetectionDecides when the user has finished speaking.Semantic end-of-utterance models, past what a silence timer can tell.AddTurnDetectionService
AssistantThe LLM behind Voxta's own creator tools.Shares its settings with TextGen. Point it at something fast.None. Runs on your TextGen service
CloudStorageStores resource backups in a cloud account.Google Drive. See Cloud storage.AddCloudStorageService
ContentHubBrowses and installs characters, scenarios and collections from a hub.Online content catalogs. See Content Hubs.AddContentHubService
ChatBridgeRuns chats of its own, answering somewhere outside Voxta.The Discord bot. Not a service a chat selects. See Chat bridges.None: builder.Contribute<IChatBridge>(...)
LauncherPuts a game in Play › Games: tells whether it runs, starts it, and names the chat bridge it talks through.Game Shortcut, game integrations. Not a service a chat selects. See Games.None: builder.Contribute<ILauncher>(...)

Chat bridges

A chat bridge starts chats itself, holds them open with nobody connected, and carries messages between them and something outside Voxta: a chat platform, a phone line, a schedule. It is a hosted service that also implements IChatBridge, contributed so Settings → Apps → Chat Bridges can show what it is doing and start or stop it:

builder.Services.AddSingleton<NudgeBridgeService>();
builder.Contribute<IChatBridge>(sp => sp.GetRequiredService<NudgeBridgeService>());
builder.Services.AddHostedService(sp => sp.GetRequiredService<NudgeBridgeService>());

IChatBridge has three members: ServiceName (your module's, which pairs a status with its module), GetStatusAsync (one entry per configured instance for that account: running or not, how many chats it holds, a one-line detail) and SetRunningAsync (the page's Start and Stop). Chats are started as an account through IUserContexts. See Chats and game integrations.

The Nudge Bridge example keeps a chat open and sends it a message on a timer. It is quoted whole in the voxta-module-chat-bridge skill of Module Development, with the pitfalls the Discord bridge ran into. An assistant in a module workspace loads it when you ask for a chat bridge.

Games

A game in the Play library is an ILauncher, contributed the same way and declared with Launcher in Supports:

builder.Services.AddSingleton<GameLauncher>();
builder.Contribute<ILauncher>(sp => sp.GetRequiredService<GameLauncher>());

GetStatusAsync returns one LauncherStatus per module instance of the account. It holds whether the game runs (null when it cannot be told), CanLaunch, NotFound and a one-line Detail. A module that can be any game also sets a Title and CoverFile. LaunchAsync starts the game, and throws with a message for the person when it cannot. A game started by hand sets Instructions in place of implementing it. Name your chat bridge in ChatBridgeServiceName and Play starts it first. A game installed by a store needs no path: ask IInstalledGames for it, which Game Launchers fills with what Steam, GOG and Epic installed.

The Game Bridge example is a game mod talking to Voxta characters:

  • one headless chat per conversation
  • replies voiced as wav files the game plays (a local chat can ask for speech)
  • the player on Voxta's microphone
  • game actions as tools
  • the game in the library

How the mod reaches the module on Voxta's own port, and the account it runs as, are in Chats and game integrations. The example is quoted whole in the voxta-module-game-integration skill of Module Development. An assistant in a module workspace loads it when you ask to integrate a game.

Choosing the right type

A few rules of thumb:

  • Wrapping an external AI API? Pick the corresponding category: TextGen for an LLM, TextToSpeech for a voice, etc. The framework gives you a ServiceBase to inherit from and an interface to implement.
  • Adding context to chats? ChatAugmentations. This is the most flexible category. You get callbacks for events, can inject text into the prompt, and can register semantic actions the LLM calls.
  • Capturing the screen or webcam? VisionCapture. Pair it with a ComputerVision service to describe what was captured.
  • Bridging a game or app? ChatAugmentations is usually the right home, since the integration's job is to feed game state into chat and translate chat output into game actions. A game mod that holds its own conversations is a chat bridge with a Launcher. See Games.

Registering the implementation

After declaring Supports, you tell the builder which class implements each type:

builder.AddTextGenService<MyTextGen>("my-service");
builder.AddChatAugmentationsService<MyAugmentations>("my-service");
builder.AddTextToSpeechService<MyTts>("my-service");
// etc.

The string is your ServiceName from the ModuleDefinition. Most service types register with Add{ServiceType}Service<TImpl>(string serviceName). The catalog lists the exact method for each. Your class inherits the appropriate base (ServiceBase) and implements the matching interface (ITextGenService, IChatAugmentationsService, ITextToSpeechService, …).

Examples in the wild

  • ChatAugmentations: voxta-module-elite-dangerous (open-source reference example)
  • ComputerVision: built-in Cloud / OpenAI vision modules
  • TextGen: built-in LLM providers (OpenAI, Anthropic, llama.cpp, Ollama, ...)

These are not modules. They are external integrations that connect to Voxta over the WebSocket API instead of running in-process:

See Developers for when a module fits and when an integration does.

On this page