Use a Mistral agent
Run a hosted Mistral agent in your pi session — its tool set executes on Mistral’s side. You need this when you have configured an agent on La Plateforme and want pi to talk to it.
Prerequisites
Section titled “Prerequisites”- The
pi-mistral-nativepackage installed - An agent configured on La Plateforme
-
Set the agent id. Pick one method:
/mistral set agentId my-agent{ "agentId": "my-agent" }Terminal window export MISTRAL_AGENT_ID=my-agentIgnored if any config file sets
agentId. -
Verify the mode:
/mistralThe status card shows
Agent id: my-agent. -
Start a chat — requests now run through the Agents API with the agent’s tool set.
The value supports the config-value protocol ($VAR, ${VAR}, !command) — see Keep secrets out of the config file.