feat(browser-runtime): add native Kernel support - #311
Merged
Perry2004 merged 3 commits intoAug 21, 2026
Conversation
Collaborator
|
Thanks for the contribution, I'll take a look. |
Perry2004
approved these changes
Aug 21, 2026
Perry2004
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the contribution.
The PR LGTM, will merge and include in the next release. 🎉
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.
What does this PR do?
Adds Kernel as a managed browser runtime:
The integration creates a Kernel browser, connects the existing ClawBench runtime and harness over CDP, captures the standard action/request/screenshot/message artifacts, downloads the Kernel replay as
data/recording.mp4, and deletes the browser after the run.No new package dependency is required; the provider uses Kernel's REST API through the standard library.
Lifecycle
The new
KernelRuntimeProviderhandles:KERNEL_API_KEYand optionalKERNEL_BASE_URL.stealth,region,proxy, andtags.Replay finalization uses a shared five-minute deadline. Missing or invalid recordings produce
browser_runtime_artifact_failedrather than silently marking the run successful.Managed-runtime behavior
This also generalizes behavior that was previously specific to Browserbase:
claude-code-chrome-extensionis rejected for managed runtimes because it requires its own browser process inside the container.Local, remote-CDP, Steel, and Browserbase behavior remains unchanged.
User-facing changes
kernelto CLI and TUI runtime selection.Corpus
Test plan
uv run ruff format --check .uv run ruff check .uv run pyrightuv run pytest -q— 203 passedRelated issues
N/A