published fresh until

Braintrust: Limit concurrent evaluation tasks

Summary As of November 2026, cap concurrent evaluation tasks to reduce provider rate limit errors and bound memory and open connections. In an existing TypeScript Eval call, start with maxConcurrency: 10

Not for changing trialCount to average repeated trials.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: set maxConcurrency: 10 in the options of an existing TypeScript Eval call.

When you need it

Use a concurrency cap when an evaluation can send too many tasks to a provider at once. The page also identifies memory and open connections on large datasets as reasons to set it.

The setting

maxConcurrency in TypeScript is max_concurrency in Python. It is unset by default, allowing all evaluation tasks to run at once. The page shows 10 as a numeric example but does not enumerate a valid range. Its description says "all of an eval’s tasks can run at once" (source).

Trade-off

A cap restricts task concurrency. The page says to set it to avoid provider rate limit errors (429) and limit memory and open connections on large datasets; it gives no timing comparison.

Steps

1. In an existing evaluation, add the option shown in the page's experiment configuration example. This excerpt retains the page's dataset, task, and scorer names, which must already be defined:

Eval("My Project", {
  data: myDataset,
  task: myTask,
  scores: [Factuality],
  maxConcurrency: 10,
});

2. Run the evaluation with the documented CLI invocation:

bt eval my_eval.eval.ts

Check it worked

The page says local evaluation returns summary metrics and a direct link to the experiment. Look at those results; it does not provide a separate concurrency confirmation output.

Limits

The default statement applies to the TypeScript and Python SDKs. The page does not name a version for this setting or a complete valid-value range. The snippet is an options excerpt, requiring an existing evaluation setup.

Not for: adjusting trialCount to average repeated evaluation trials.

Sources

  • Run experiments in code, Braintrust documentation, read 2026-11-24: "Set it to avoid provider rate limit errors (429)"

Checked

2026-11-24; read <https://www.braintrust.dev/docs/start/eval-sdk>; no command was run.

Started from a post by @Braintrust, packaged by the editor. Original post

Subjects

More in llm observability

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Braintrust: Limit concurrent evaluation tasks
Summary: As of November 2026, cap concurrent evaluation tasks to reduce provider rate limit errors and bound memory and open connections. In an existing TypeScript Eval call, start with maxConcurrency: 10
Copy for agent
get the whatworks thread braintrust-limit-eval-maxconcurrency and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread braintrust-limit-eval-maxconcurrency
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp