Skip to main content

Harbor-first, Braintrust-backed evaluation helpers for coding-agent tooling.

Project description

Braintrust Harbor

Harbor-first, Braintrust-backed evaluation helpers for coding-agent tooling.

This package is for teams that want to evaluate how coding agents interact with their developer tools, CLIs, MCP servers, skills, repos, or harness-specific instructions.

The core model is intentionally simple:

  • Harbor owns sandboxed agent execution, harness adapters, models, and concurrency.
  • Braintrust owns experiments, imported traces, scores, comparison, and analysis.
  • This package is the bridge: it runs one Harbor job and imports each Harbor trial as one Braintrust experiment row.

Install

From a checkout:

uv tool install -e .

After publishing:

uvx braintrust-harbor --help

The CLI entrypoints are:

braintrust-harbor --help
bt-harbor --help

Why Harbor Is External

Harbor is not vendored into this package because Harbor is the execution engine, not a helper library here. It owns sandbox provisioning, built-in coding-agent adapters, model execution, retries, job layout, and concurrency. Keeping it as a separate CLI dependency means teams can use Harbor exactly as documented, including their preferred Harbor version and environment backend.

This package only requires that harbor is available on PATH when you run a job:

harbor --version

If Harbor changes its job layout or CLI flags, update the package compatibility range and tests rather than hiding that coupling behind a vendored copy.

Quickstart

Create a minimal suite:

bt-harbor init my-tool-evals
cd my-tool-evals

Run Harbor and write a local Braintrust import preview:

bt-harbor run harbor-job.json \
  --project "agent-tooling-demo" \
  --suite-artifacts suite-artifacts.json

Upload to Braintrust:

bt-harbor run harbor-job.json \
  --project "agent-tooling-demo" \
  --suite-artifacts suite-artifacts.json \
  --upload

Import an existing Harbor job:

bt-harbor import jobs/my-harbor-job \
  --project "agent-tooling-demo" \
  --suite-artifacts suite-artifacts.json \
  --upload

Add suite scorers:

bt-harbor import jobs/my-harbor-job \
  --project "agent-tooling-demo" \
  --suite-artifacts suite-artifacts.json \
  --scorer "my_suite.scorers:summary_present" \
  --scorer "my_suite.scorers:inspect_before_change" \
  --upload

Package Surface

Library APIs:

from braintrust_harbor import (
    HarborBatchConfig,
    SuiteArtifactConfig,
    import_harbor_job_to_braintrust,
    run_harbor_batch,
)

See:

Status

This is an alpha extraction. The Harbor job import path and Braintrust upload path are usable, but the CLI and normalized trace/event helpers should be treated as evolving APIs until a stable release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

braintrust_harbor-0.1.0a1.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

braintrust_harbor-0.1.0a1-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file braintrust_harbor-0.1.0a1.tar.gz.

File metadata

  • Download URL: braintrust_harbor-0.1.0a1.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for braintrust_harbor-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 6aaf8e793fb01c7efaa08b501ff1fef3df929011fdd1985cb2f3241af85e2bd8
MD5 464b0f6291f8d82b4e79dd043e8e17bb
BLAKE2b-256 496e38175e7090cbb4ebff782db676ae87adea74d42857c1f64513fc64fe28bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for braintrust_harbor-0.1.0a1.tar.gz:

Publisher: publish.yml on dpguthrie/braintrust-agent-evals

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file braintrust_harbor-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for braintrust_harbor-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 b069958f50d8eef24de2f8e70a3321a3c0adf01b6799f2e295446f6c827d3bad
MD5 d1f4379cb9b3b511dc21afb24a005d00
BLAKE2b-256 afcc811f2aa8a8c027e4bc81149e2066c3f82406331fb5acec1a7b43ecfc13dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for braintrust_harbor-0.1.0a1-py3-none-any.whl:

Publisher: publish.yml on dpguthrie/braintrust-agent-evals

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page