agentskit.js
Providers

mistral

Mistral — open-weights-friendly family including Mistral Large, Codestral, Mixtral.

import { mistral } from '@agentskit/adapters'

const adapter = mistral({
  apiKey: process.env.MISTRAL_API_KEY!,
  model: 'mistral-large-latest',
})

Options

OptionTypeDefault
apiKeystringrequired
modelstringrequired
baseUrlstringhttps://api.mistral.ai/v1
fetchtypeof fetchglobal

Model examples

mistral-large-latest · mistral-small-latest · codestral-latest · mixtral-8x22b.

Env

VarPurpose
MISTRAL_API_KEYAPI key

Notes

  • Codestral is code-specialized; pair with coder skill.
  • Open-weights variants available — see llama.cpp for self-hosted.
✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page