Your first Mistral session
At the end of this page you have installed pi-mistral-native, configured an API key, selected the EU region, and sent your first chat message.
Prerequisites
Section titled “Prerequisites”- The pi coding agent installed
- Node.js 22 or later
- An API key from La Plateforme
-
Install the package:
pi install npm:pi-mistral-nativeThe provider registers — the model catalog refreshes from Mistral’s live model list.
-
Log in:
/login mistral-nativePaste your API key at the prompt (no echo), then pick the region — choose EU to keep inference inside the EU.
-
Check the connection:
/mistral testThe probe confirms the regional endpoint answers with a model list.
-
Start a chat — pick a
mistral-native/…model and say hello. Reasoning models stream their thinking next to the answer.
Where to go next:
- Change a setting — every effective value and where it comes from
- Query your documents — upload once, ask with citations
- Search the web — current answers with sources