
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@agentskit/eval-braintrust
Advanced tools
Braintrust scoring pipeline for AgentsKit. Quality + robustness scorers, CI regression alerts, and dataset upload helpers.
@agentskit/eval-braintrustBraintrust scoring pipeline for AgentsKit. Ships 8 scorers in two families and a thin runner that uploads results to a Braintrust experiment.
@agentskit/eval-braintrust connects AgentsKit evals to Braintrust so teams can score behavior, track regressions, and keep quality visible in CI.
Docs: package guide · agent handoff
npm install @agentskit/eval-braintrust braintrust
braintrust is loaded lazily — install it alongside.
import {
runBraintrustEval,
qualityFamily,
robustnessFamily,
} from '@agentskit/eval-braintrust'
const result = await runBraintrustEval({
cases: [
{ input: 'What is the capital of France?', output: '', expected: 'Paris' },
],
agent: async input => {
const r = await myAgent.run(input)
return { output: r.text, metadata: { toolCalls: r.toolCalls } }
},
scorers: [...qualityFamily.scorers, ...robustnessFamily.scorers],
options: {
projectName: 'agentskit-showcase',
experimentName: `pr-${process.env.GITHUB_PR_NUMBER ?? 'local'}`,
},
})
console.log(result.summary)
console.log(result.url) // public Braintrust experiment URL
If BRAINTRUST_API_KEY is missing or the SDK is not installed, the runner still computes scores locally and returns them — useful for local iteration without uploads.
import { detectRegressions, formatAlertsMarkdown } from '@agentskit/eval-braintrust/ci'
const alerts = detectRegressions(baselineSummary, currentSummary, { default: 0.05 })
process.stdout.write(formatAlertsMarkdown(alerts))
if (alerts.length > 0) process.exit(1)
Wire into a GitHub Actions step that posts the comment on the PR.
import type { Scorer } from '@agentskit/eval-braintrust'
const verbosityPenalty: Scorer = ({ output }) => ({
name: 'verbosity_penalty',
score: output.length < 1000 ? 1 : Math.max(0, 1 - (output.length - 1000) / 5000),
})
Pass it alongside the bundled scorers in runBraintrustEval({ scorers: [...] }).
Scorers are pure functions returning a [0, 1] score. They never call out to model APIs themselves — that lives in the agent under test. This keeps scorers fast, deterministic in unit tests, and trivially portable across runtimes.
Robustness scorers read fields from the case metadata (e.g. parseError, hitlTriggered, fallbackFired) that the agent's wrapper is expected to populate. The contract is documented per scorer in src/scorers/.
MIT
FAQs
Braintrust scoring pipeline for AgentsKit. Quality + robustness scorers, CI regression alerts, and dataset upload helpers.
The npm package @agentskit/eval-braintrust receives a total of 21 weekly downloads. As such, @agentskit/eval-braintrust popularity was classified as not popular.
We found that @agentskit/eval-braintrust demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.