Add Harbor/Terminal-Bench integration via Daytona and local Docker#15
Open
doxav wants to merge 1 commit into
Open
Add Harbor/Terminal-Bench integration via Daytona and local Docker#15doxav wants to merge 1 commit into
doxav wants to merge 1 commit into
Conversation
Member
|
This is so amazing -- I've been thinking if we should process all our data into Harbor format! |
Member
|
Also I'm happy to help integrate modal/daytona completely into all tasks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces support for Terminal-Bench tasks via the Harbor CLI. Because Terminal-Bench evaluates an agent's ability to execute shell commands and modify system states, these tasks require strict sandboxing to prevent agents from inadvertently damaging the host system or accessing sensitive local files.
When using Daytona service ?
By default, running these benchmarks in cloud notebook environments (like Google Colab) requires nested virtualization or running a local Docker daemon, which is not possible on Google Colab.
We integrated Daytona (harbor_env: daytona) as a remote execution backend because:
=> It allows us to offload the sandboxed environments securely without needing a local Docker daemon.
=> Security & Isolation: Agents perform potentially destructive system interventions safely away from the orchestrator.
=> Consistency: Ensure reproducibility across runs regardless of where the trace_bench script is actually executing.
How to run locally (Without Daytona) ?
If you are running trace_bench locally on a machine with Docker installed, you do not need a Daytona API key or service. You can simply switch the Harbor environment to use the local Docker daemon.
To do this, configure harbor_env: docker instead of daytona in your evaluation configuration:
When local execution is triggered, Harbor will build and spin up isolated Docker containers directly on your machine.