Connect Claude
- Select the organization that will own the evals.
- Open Settings > Harnesses > Add harness and choose Claude Code.
- Enter an Anthropic API key and choose Everyone in the organization, so CLI, SDK and CI batches can use it.
- Save it. From the connection’s actions menu, choose Make default if it isn’t already, then Check it works.
evals:read and evals:write in the same organization and set it as SPHYNX_API_KEY in your shell or CI secrets. Your eval file and GitHub workflow hold no Anthropic key. Hosted E2B sandboxes need no key of their own.
Check one trial
Installsphynx-sh, then create claude.eval.ts:
Compare models
Keep the cases and add variants:If setup fails
- Missing Claude credential: check the organization, that the connection is shared with everyone, and that it is the default.
- Authentication rejected: rotate the Anthropic key and check it again.
- Model unavailable: check the exact ID and your account’s access.
- Works locally but fails in CI: an API key uses the organization’s connections, not your personal connection or local login.