This repository contains example scripts showing a side-by-side comparison of SDK functionality between the @anthropic-ai/sdk and the @mistralai/mistralai.
This example demonstrates the behavior of undocumented request and response properties in the SDK.
This example shows how to define and pass tool definitions to a model.
- Install dependencies with
yarn install. - Set your environment variables with the relevant API keys (eg
ANTHROPIC_API_KEYorMISTRAL_API_KEY). - Run an example with
yarn tsx examples/<example-file>.ts.