Configure evalflow.yaml
Add ananthropic block under providers and set default_provider to anthropic:
api_key_env is the name of the environment variable that holds your key — evalflow reads the variable at runtime and never stores the key itself.
Set your API key
Verify the connection
Runevalflow doctor to confirm evalflow can see the key before running any evals:
Run evals
eval.default_provider is already set to anthropic in your evalflow.yaml, you can omit the --provider flag:
Provider notes
- Default model:
claude-3-5-haiku-20241022. You can override it by settingdefault_modelto any Claude model your account can access. - API key required: An Anthropic account and API key are required. Requests without a valid key will fail immediately.
- Judge model: By default, evalflow uses Groq as the LLM judge. If you want Anthropic to serve as both the model under test and the judge, update the
judgeblock inevalflow.yaml: