Skip to main content

Inspect AI interface to Harbor tasks

Project description

Inspect Harbor

Harbor is a framework for building, evaluating, and optimizing AI agents in containerized environments. Inspect Harbor provides an interface to run Harbor tasks using Inspect AI.

pip install inspect-harbor

Then in Python:

from inspect_ai import eval
from inspect_harbor import aider_polyglot

eval(aider_polyglot(), model="openai/gpt-5-mini")

Or load any dataset directly via the generic harbor() interface:

from inspect_ai import eval
from inspect_harbor import harbor

eval(
    harbor(package_name="aider/aider-polyglot", package_ref="latest"),
    model="openai/gpt-5-mini",
)

For full documentation, see https://meridianlabs-ai.github.io/inspect_harbor. The docs site covers installation, the Harbor task model, the default agent scaffold, task parameters, the generic harbor() interface (org/name and name@version datasets, plus local/git tasks), and a complete catalog of available datasets.

See CHANGELOG.md for release notes.

Development

Clone the repository and install development dependencies:

git clone https://github.com/meridianlabs-ai/inspect_harbor.git
cd inspect_harbor
make install  # Installs dependencies and sets up pre-commit hooks

Run tests and checks:

make check    # Run linting (ruff check + format) and type checking (pyright)
make test     # Run tests
make cov      # Run tests with coverage report

Clean up build artifacts:

make clean    # Remove cache and build artifacts

Credits

This work is based on contributions by @iphan and @anthonyduong9 from the inspect_evals repository:

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

inspect_harbor-0.6.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

inspect_harbor-0.6.1-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file inspect_harbor-0.6.1.tar.gz.

File metadata

  • Download URL: inspect_harbor-0.6.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for inspect_harbor-0.6.1.tar.gz
Algorithm Hash digest
SHA256 54230f0466d37f05d2b50e0c7285ee67f8df40f72dde1c3641da63e63bcedb9d
MD5 07c7b548cdfa91b481e0317b9d1d48e0
BLAKE2b-256 8caf14e20adb538d6320cf0aef3ea0f8123b766ef97a96336c0ca04ece27d8dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for inspect_harbor-0.6.1.tar.gz:

Publisher: release.yaml on meridianlabs-ai/inspect_harbor

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

File details

Details for the file inspect_harbor-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: inspect_harbor-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for inspect_harbor-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0af0018c2fdb086c379ba7fb9a0edc35c74db04cc200102fd97f7b8aec583f3a
MD5 0f9cb7edf100f7885720d25a04b11f8b
BLAKE2b-256 7eb3f628a3391b4f7d03b564e37d2f540631d684d4023d195303f59fd3dcb1cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for inspect_harbor-0.6.1-py3-none-any.whl:

Publisher: release.yaml on meridianlabs-ai/inspect_harbor

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