🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@livekit/agents-plugin-mistralai

Package Overview
Dependencies
Maintainers
20
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/agents-plugin-mistralai

Mistral AI plugin for LiveKit Node Agents

latest
Source
npmnpm
Version
1.5.5
Version published
Maintainers
20
Created
Source

Mistral AI plugin for LiveKit Agents

The Agents Framework is designed for building realtime, programmable participants that run on servers. Use it to create conversational, multi-modal voice agents that can see, hear, and understand.

This package contains the Mistral AI plugin, providing LLM, STT, and TTS capabilities via the official @mistralai/mistralai SDK.

Installation

npm install @livekit/agents-plugin-mistralai

Usage

LLM

Uses the Mistral Conversations API.

import * as mistral from '@livekit/agents-plugin-mistralai';

const llm = new mistral.LLM({
  model: 'mistral-small-latest',
  // apiKey defaults to process.env.MISTRAL_API_KEY
});

STT

Supports both batch transcription and realtime streaming (WebSocket).

// Batch transcription
const stt = new mistral.STT({ model: 'voxtral-mini-latest' });

// Realtime streaming (requires a VAD)
const stt = new mistral.STT({
  model: 'voxtral-mini-transcribe-realtime-2602',
});

Realtime models require a VAD for endpointing. If none is provided, Silero VAD is loaded automatically (install @livekit/agents-plugin-silero).

TTS

Text-to-speech with voice presets or reference audio for voice cloning.

const tts = new mistral.TTS({
  model: 'voxtral-mini-tts-latest',
  voice: 'en_paul_neutral',
});

Environment variables

  • MISTRAL_API_KEY ; Your Mistral API key (used by all components unless apiKey or client is passed explicitly)

Supported models

See models.ts for the full list of chat, STT, TTS, and voice models.

FAQs

Package last updated on 22 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts