harbor-langsmith 0.3.0


pip install harbor-langsmith

  Latest version

Released: Jul 17, 2026


Meta
Author: Alex Shaw
Requires Python: >=3.12

Classifiers

harbor-langsmith

LangSmith plugin for Harbor jobs.

pip install "harbor[langsmith]"
export LANGSMITH_API_KEY=...
harbor run ... --plugin langsmith

You can also pass the full import path:

harbor run ... --plugin harbor_langsmith:LangSmithPlugin

Optional environment variables:

  • HARBOR_LANGSMITH_DATASET
  • HARBOR_LANGSMITH_EXPERIMENT — create or reuse a named shared experiment session; the name is used verbatim, linked to the synced dataset at creation, and is not closed by individual Harbor jobs
  • HARBOR_LANGSMITH_EXPERIMENT_ID — reuse an existing experiment session instead of creating a Harbor-job-specific session
  • LANGSMITH_ENDPOINT
  • LANGSMITH_WORKSPACE_ID
  • HARBOR_LANGSMITH_SYNC_DATASET=false
  • HARBOR_LANGSMITH_FAIL_FAST=true

Plugin kwargs (CLI --pk or job config kwargs:) mirror the constructor options: dataset_name, experiment_name, experiment_id, endpoint, api_key, workspace_id, sync_dataset, and fail_fast.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
harbor (>=0.13.0)
requests (>=2.32.4)