Skip to content

mistral-ai-toolkit

Python

Python wrapper and CLI for Mistral AI.

CLI and Python wrapper for Mistral AI's Mixtral, Mistral, and NeMo models. Chat, generate text, get structured JSON output.

python mistral ai cli

[features]

Multiple Models

Mistral-7b, Mixtral-8x7b, NeMo

Conversational AI

Interactive chatbots and assistants

Text Generation

Contextually relevant responses

JSON Output

Structured output support

[install]

git clone https://github.com/ramonclaudio/mistral-ai-toolkit.git
cd mistral-ai-toolkit
pip install -r requirements.txt

[usage]

# CLI
python cli.py --chat
python cli.py --text --prompt "Write a story"

# Python
from mistral import Chat, Text
Chat().run()

[requirements]

[license]

This project is licensed under the MIT license.

[links]