Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

add native Mistral LLM provider #83

Description

@yai-dev

Summary

Add a native Mistral provider to @agentrail/core.

Important Context

Mistral is already usable today through the existing openai provider plus a baseUrl override. This issue is therefore about native ergonomics and Mistral-specific behavior, not basic compatibility.

Proposed Implementation

  1. Add the Mistral SDK to packages/core/package.json
  2. Implement a native provider in packages/core/src/llm/providers/
  3. Register/export it through the current providers index
  4. Add tests against the current core provider test setup

Acceptance Criteria

  • provider: "mistral" works in ModelConfig
  • Text streaming works
  • Tool calling works
  • baseUrl override is respected for self-hosted / alternate deployments if applicable
  • Mistral-specific behavior has a clear home separate from generic OpenAI compatibility
  • Tests pass
  • Changeset included

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersruntime-coreRelated to @agentrail/runtime-core package

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions