feature: Add TensorLake MicroVM Sandbox environment#1237
Merged
alexgshaw merged 18 commits intoApr 20, 2026
Conversation
benediktstroebl
previously requested changes
Mar 27, 2026
Collaborator
|
Thanks for the PR! Could you run [email protected] with the oracle agent to sanity check the integration? Our threshold is >90%. |
Collaborator
|
Any update here? |
|
@ajjimeno is attempting to deploy a commit to the Harbor Framework Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
We have enabled it on Windows and improved the performance on the
***@***.*** as shown below.
Results written to jobs/2026-04-10__21-17-22/result.json
oracle on terminal-bench
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ Metric ┃ Value ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ Agent │ oracle │
│ Dataset │ terminal-bench │
│ Trials │ 89 │
│ Errors │ 0 │
│ │ │
│ Mean │ 0.921 │
│ │ │
│ Reward Distribution │ │
│ reward = 1.0 │ 82 │
│ reward = 0.0 │ 7 │
└─────────────────────┴────────────────┘
…On Fri, Apr 10, 2026 at 9:55 PM Alex Shaw ***@***.***> wrote:
*alexgshaw* left a comment (harbor-framework/harbor#1237)
<#1237 (comment)>
Any update here?
—
Reply to this email directly, view it on GitHub
<#1237 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6BZDNYCKC2L7KFQJJGYVL4VHF25AVCNFSM6AAAAACWZRMECOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMRYGIYTKNRXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
ajjimeno
force-pushed
the
aj/tensorlake-environment
branch
from
April 13, 2026 16:36
802ff8d to
a1f63ec
Compare
ssddOnTop
reviewed
Apr 15, 2026
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
ajjimeno
force-pushed
the
aj/tensorlake-environment
branch
from
April 17, 2026 16:41
c2bbd39 to
4c49744
Compare
Contributor
Author
|
@alexgshaw we have been working to enhance our Tensorlake environment. We get the following numbers below with the Also, just a friendly comment just in case, we have been running tests on Daytona and Modal with (0.77 and 0.88) using the |
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
alexgshaw
approved these changes
Apr 20, 2026
harshraj172-scale
pushed a commit
to harshraj172-scale/harbor
that referenced
this pull request
May 30, 2026
…#1237) * Cleaned up environment configuration * Updated pyproject * Fixed regex * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Fix devin linting issue * Moving tensorlake dependency * Fix devin linting issue * Improvements to running tensorlake * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Update src/harbor/environments/tensorlake.py Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Linting * Update pyproject.toml Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Fix cmd --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Summary
Add TensorLake MicroVM Sandbox as a new execution environment, enabling Harbor benchmark runs to be distributed across TensorLake's cloud infrastructure with support for high concurrency, GPU access, and optional internet isolation.
Context
Harbor supports multiple sandbox environment backends (E2B, Modal, Runloop, GKE, Daytona, Apple Container) to allow agents to execute tasks in isolated compute environments. TensorLake's sandbox offering provides ubuntu:24.04-based MicroVM sandboxes with a simple SDK that fits the same lifecycle interface. Adding it as a first-class environment lets users of the TensorLake platform run benchmarks without needing to provision their own Kubernetes or cloud infrastructure.
Changes
TensorLakeEnvironmentclass implementing the fullBaseEnvironmentinterface:start,stop,exec,upload_file,upload_dir,download_file,download_dir,is_dir,is_file, andattachTensorLakeClientManagersingleton to share a singleSandboxClientacross all concurrent environment instances, with automatic cleanup at program exitTensorLakeEnvironmentinEnvironmentFactoryand addedTENSORLAKEto theEnvironmentTypeenumtensorlake>=0.4.20as a project dependencyKey Implementation Details
create_and_connect()which polls untilSandboxStatus.RUNNINGbefore returning, preventingSANDBOX_NOT_RUNNINGerrors on the firstexec()callloop.run_in_executorto avoid blocking the async event loop during concurrent benchmark runstenacity) is applied to sandbox creation, deletion, and file I/O operationsforce_build=Trueis accepted for interface parity but emits a warning — TensorLake uses a fixed ubuntu:24.04 base image; custom dependencies must be installed viaexec()after start, or via a pre-built snapshot passed assnapshot_id_validate_definition()is overridden to a no-op since no Dockerfile is requiredattach()delegates totl sbx ssh <id>for interactive shell accessUse Cases
Testing
The integration test covers:
echoround-trip)