mistral-proxy

Enforce per-app authentication, quotas, and routing for Mistral proxy deployments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rcliment1987/skills-bimsmarter --skill mistral-proxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mistral-proxy
Source: https://github.com/rcliment1987/skills-bimsmarter/tree/main/mistral-proxy
Command: npx skills add https://github.com/rcliment1987/skills-bimsmarter --skill mistral-proxy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill documents and operationalizes a two-level Mistral proxy architecture for BIMSmarter, including app-specific local proxies and a shared backend proxy, to enforce security, quota, and resilient routing.

Core Features & Use Cases

  • Local app proxies enforce per-app security (auth, quota, CORS) and inject app-specific system prompts.
  • Shared proxy handles API calls to Mistral, Groq, and Perplexity with rotation of keys and fallback mechanisms.
  • Supports optional n8n RAG integration for real-time knowledge augmentation and automatic fallbacks for degraded services.

Quick Start

Deploy a new app under your BIMSmarter subdomain with mistral-proxy-local.php configured and test a POST request using a Firebase ID token.

Frequently Asked Questions about mistral-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce per-app authentication and quota limits when proxying Mistral API calls?

Per-app authentication and quota limits for Mistral API calls are enforced using a two-level proxy architecture with Firebase authentication and Firestore-backed quota management. A local proxy validates payloads and injects system prompts before routing requests.

Can I use Firebase authentication and Firestore to manage rate limiting for a PHP proxy?

Yes, Firebase authentication and Firestore-backed quota management can be integrated into a PHP proxy to handle rate limiting. The local proxy configuration verifies Firebase ID tokens and checks Firestore quotas before forwarding authenticated requests.

What is the best way to route Mistral API requests with fallbacks to Groq and Perplexity?

The best way to route Mistral API requests with fallbacks to Groq and Perplexity is through a shared backend proxy. This proxy manages API key rotation and automatically falls back to alternative providers when services degrade.

How do I integrate n8n RAG workflows into a secure proxy for real-time knowledge augmentation?

n8n RAG workflows integrate into the secure proxy by connecting the shared backend proxy to n8n for real-time knowledge augmentation. The proxy routes requests to n8n while maintaining strict payload validation and environment isolation.

Does this proxy architecture support strict payload validation and environment isolation for app deployment?

Yes, the two-level proxy architecture supports strict payload validation and environment isolation for app deployment. Local app proxies enforce per-app security, CORS rules, and system prompts, while the shared backend handles resilient routing.