Repository navigation
evalkit 0.4.0
Released 2026-11-07. Single sign-on through any OIDC identity provider,
judge-using evaluators scored on the server, packages that extend evalkit,
and an Apache-2.0 licence (was AGPL-3.0).
Before you upgrade
- CLI: Run
evalkit update --server <url>once the server is on 0.4.0;
a 0.3 CLI refuses every other command against it. - Server: Stop the old server, then run
evalkit db upgradebefore
starting the new one. One migration fails if the default judge's base URL
matches no LLM provider: register one or clear the default judge first. - Server: Each server now opens up to 30 database connections
(db.pool_size20 plusdb.max_overflow10). Keep that times your
replicas well under Postgresmax_connections, or lower them in
config.yaml. - Server: The server config no longer takes
mcp.oauth; a config that
has it fails to load. Configureauth.oidcinstead. - Server: Trace sources are checked against private addresses like LLM
providers. Withoutallow_private_endpoints: true, a source on a private
address stops importing until an admin points it at a public one. - Server: A proxy in front of the server must let
POST /api/experiment-runs/<id>/server-evaluations/<name>run for
minutes; the CLI and SDK wait up to 900 s
(EVALKIT_SERVER_EVALUATOR_TIMEOUT). - Server: A harness that declares
run_listingnames the tenant
org_idinstead ofclient_id, in theGET /runsfilter and on each
run. The run browser's filter and the MCPfind_runstool sayorg_id
too. - Evaluators: The default judge is set by provider name:
GET,PUT
andPATCH /api/judge-defaultuseprovider, and abase_urljudge is
refused there and on server runs. - Evaluators:
evalkit judge-default set --concurrencyis gone and
Judge(concurrency=...)is ignored; setevaluation_concurrencyinstead. - SDK:
evalkit.yamlno longer takescredentials.llm_providers(or
credentials.judges); a file that has it fails to load. Pass the judge key
with--judge-api-key-envorJudge(api_key=...). - SDK: "Split" is "tag" everywhere:
run_experiment(split="x")is
run_experiment(tags=["x"]), the API'sselectiontakestags(a request
withtagis refused), andGET /api/datasets/{ref}/splitsis
GET /api/datasets/{ref}/tags. - SDK: Code that embeds
evalkit.sdkinstallshttpx2instead of
httpx, andSyncApiandAsyncApitake anhttpx2.Auth
(evalkit.client.oidc.static_auth(token)wraps a token). - CLI:
evalkit run finance/<name>no longer falls back to a tag when
<name>is not a folder or file of the dataset: pass--tag <name>. - CLI:
evalkit traces mapping push --activateis gone, and so is the
activatequery parameter onPUT /api/agents/{agent}/mappings/draft:
push the draft, then runevalkit traces mapping activate <agent> <version>. - CLI: A case file with
cases:oroverlays:refuses any other
top-level key besidesdefaults, where it used to ignore it (a typo such
asdefualts:dropped your defaults silently), and both must be lists. - Tracing:
tracing.register,tracing.exporterand
tracing.processorneedEVALKIT_OTEL_TOKEN(an agent token); they no
longer fall back to a login token. - Tracing: Sibling agents that hand over without a tool call (CrewAI
sequential tasks, say) now make one trajectory; list them in the mapping's
subagent_spansto keep them apart. - Packaging: Only releases are published to PyPI; get a
developbuild
(X.Y.Z.devN) from the workflow artifact or the GHCR image. - Extending evalkit:
create_appno longer takesmcp_jwt_verifier;
/mcpverifies tokens with theauth.oidcsettings.
Features
- Sign-in: Single sign-on through any OIDC identity provider that
issues JWT access tokens (auth.oidc): the web UI offers "Continue with
",evalkit loginopens the browser (or uses the device flow
with--no-browser), and the first sign-in creates the user.
auth.password_login(adminorall) decides who may still use a
password. - Sign-in: CI signs in as a machine client with
EVALKIT_OIDC_CLIENT_ID
andEVALKIT_OIDC_CLIENT_SECRET; an admin adds it with
evalkit users add <name> --subject <sub>, andevalkit users bindlinks
an existing user to an identity. - Sign-in:
auth.oidc.admin_claimlets the identity provider grant and
revoke evalkit admin at each sign-in, andauth.oidc.required_scopes
refuses access tokens that lack a scope. - Evaluators: Local and SDK runs score the judge-using built-ins
(answer_rubrics,presentation_judge,trajectory_rubrics) on the
server with its LLM provider, so they need no judge key; each score
records where it ran. To bring your own judge, pass--judge-base-urland
--judge-api-key-env, orJudge(base_url=..., api_key=...). - Extending evalkit: Another package can serve evalkit with API routes
of its own (app.include_router()aftercreate_app, behind sign-in with
SIGNED_IN) and UI pages of its own (ui/src/extensions/), and can split
the data by organisation withcreate_app(resolve_tenant=...), an async
function that returns the tenant id orNoneto refuse the request. See
"Extending evalkit" inAGENTS.md. - CLI:
evalkit run --tagtakes several tags and runs the cases
carrying any of them; the run dialog's Tags is a multi-select, and an
experiment's case table filters by tag. - CLI:
evalkit traces mapping activate <agent> <version>makes a
pushed draft live, or rolls back to an older version. - CLI: New commands
evalkit experiments listand
evalkit datasets show <dataset>: the first filters by--agent,
--datasetand--limit; the second prints a dataset's last sync, case
counts per review state and tags. - Review:
evalkit review approvetakes several cases or
--all-waiting,evalkit review queue finance@devlists one dataset's
cases, andevalkit review resolve <comment-id>needs only the comment id. - Web UI: Datasets in a personal workspace have Run experiment too; set
the options and copy theevalkit runcommand it builds. - SDK: A code-driven agent can set its own input schema with
evalkit agents create|edit <name> --input-schema schema.json. - Docs: New pages: Framework mappings (a ready-to-use span mapping for
ten agent frameworks), Server config (every key and its default), Case
schema, and CI sync (lint cases on PRs, sync on merge). Docs pages in the
web UI need no sign-in.
Improvements
- CLI:
evalkit summary <id> --baseline <id>shows the change in every
bucket, evaluator and gauge, and lists improved, regressed, new and
removed cases. Its failing cases include any case where one evaluator
scored below 0.80. - Tracing: Trajectories built from OTel spans fit more agent shapes:
subagents only where a tool started them, a user step for every message in
a chat, and mapping rulesrekind_spans,main_agentand
subagent_spans.evalkit traces checkand the SDK dry run warn when a
trajectory looks wrong: no answer span, LLM spans that lost attributes,
tool spans without tool calls, messages with an unknown role. - Evaluators: Scoring runs at most 16 runs at once; change it with
--evaluation-concurrencyonevalkit runandevalkit evaluate, in the
SDK, or in the run dialog. Server runs takerunner.evaluation_concurrency
from the server config. - CLI:
evalkit linterrors name the file, the case and the valid keys,
say where a misplaced evaluator belongs, and cover every broken case in a
file.evalkit lint --offlinereports them as findings instead of a
traceback. - Review: The review queue names the author a case went back to,
evalkit syncsays edited cases are back in review,review request
skips cases already waiting on that reviewer, and a promoted case's
changelog includes its history from the source workspace. - CLI:
evalkit datasets listandevalkit review queuetake
--workspace, andevalkit workspaces listshows promotion links. - CLI:
evalkit init-server --portsets the server's port, and
evalkit servedefaults to the port inserver.base_url. - Packaging: evalkit runs on Python 3.12 as well as 3.13.
- Server: A page path returns the web UI only to a browser
(Accept: text/html); other clients get 404. - Docs: The docs site root serves the latest release's pages directly,
and the Install page covers running the CLI inside a uv project and
installing the skills.
Fixes
- Evaluators: Fixed scoring an experiment of more than about 40 runs
failing with 500s: each scoring request uses one database connection, and
a server out of connections answers 503 withRetry-After, which the CLI
and SDK retry. - Evaluators: Fixed a re-score treating an evaluator that errored after
an earlier success as done; it retries it. - Evaluators: Fixed an evaluator that raised an exception without a
message recording an empty error; it records the exception type, such as
ReadTimeout. - Tracing: Fixed Google ADK, Gemini and LangChain-style traces losing
the model's messages and tool calls (roles such asmodel,aiand
human), which made tool evaluators score 0. - Tracing: Fixed an agent behind FastAPI or another instrumented HTTP
server losing its spans when the server's request span is the trace root,
once the session id is on the agent's own turn span. - CLI: Fixed
evalkit runs pullfailing the whole batch with a 500 when
one run's trajectory is missing from the blob store; that run gets a
pull_errorand the others are pulled. Everyrun.jsonhas a
started_atfield,nullwhen the harness gives no creation time. - CLI: Fixed
evalkit lint --agentfailing with anAssertionErroron a
code-driven agent. - Server: Fixed a malformed URL in an agent, evaluator, LLM provider or
trace source answering a server error instead of 400 when
allow_private_endpointsis off. - Server: Fixed an MCP client probing
/.well-known/on a server
without SSO getting the web UI's page.