Skip to content

feat: Add Mistral model support to strands #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

siddhantwaghjale
Copy link
Contributor

@siddhantwaghjale siddhantwaghjale commented Jun 25, 2025

Description

This PR adds support for Mistral models to the Strands SDK. This implementation includes:

  • Full integration with Mistral's chat and completion APIs
  • Support for streaming responses
  • Tool/function calling capabilities
  • Structured output generation using Mistral's function calling

The Mistral provider supports all major Mistral models including mistral-large-latest, mistral-medium-latest, and other variants.

Related Issues

Documentation PR

Type of Change

New feature

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • [ X] I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly([docs] add Mistral AI provider documentation(Do not merge) docs#106)
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@siddhantwaghjale siddhantwaghjale changed the title feat: add Mistral model support to strands feat: Add Mistral model support to strands Jun 25, 2025
@mehtarac mehtarac self-requested a review June 26, 2025 13:35
Copy link
Member

@mehtarac mehtarac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with models:
mistral-large-latest
mistral-medium-latest
mistral-small-latest

  • Prompts had basic chat questions and also tool use

@mehtarac
Copy link
Member

Related docs PR: strands-agents/docs#106 (review)

@mehtarac mehtarac merged commit 3712ace into strands-agents:main Jun 27, 2025
11 of 12 checks passed
@mehtarac mehtarac self-assigned this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants