mistral-webhooks-events

Installation
SKILL.md

Mistral AI Events, Agents & Async Patterns

Overview

Async and event-driven patterns for Mistral AI: the Agents API for stateful multi-turn workflows, Batch API for cost-effective bulk inference (50% cheaper), SSE streaming endpoints, background job queues, and Python async processing. Mistral does not have native webhooks — this skill covers the patterns that replace them.

Prerequisites

  • @mistralai/mistralai SDK installed
  • MISTRAL_API_KEY configured
  • For agents: La Plateforme access to create agents
  • For batch: JSONL file preparation

Instructions

Step 1: Mistral Agents API

Create stateful agents with instructions, tools, and model configuration:

import { Mistral } from '@mistralai/mistralai';
Related skills
Installs
27
GitHub Stars
2.2K
First Seen
Jan 27, 2026