Add OpenHermit exec backend example - #8
Open
opencolin wants to merge 2 commits into
Open
Conversation
|
opencolin does not have permission to run Code Reviewer. You can manage permissions in your settings. |
This was referenced Aug 3, 2026
Walkthrough for pointing an OpenHermit agent's sandbox at Tenki (HCF-STUDIOS/openhermit#239): hermit sandbox add --type tenki, config keys, gateway env, and presets. verify.mjs proves the Tenki contract the backend relies on -- sticky session, sh -c exec with env pass-through, skill-file sync, reattach by session id -- against the live API, with no gateway or PostgreSQL needed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Review feedback: openhermit@0.10.0 on npm predates the Tenki backend, so document running from a source checkout until the next release; and `agents create` auto-provisions the default Docker sandbox, so pass --no-sandbox (or --sandbox <tenki-preset>) before `sandbox add --type tenki` to avoid the default-alias conflict. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
opencolin
force-pushed
the
examples/openhermit-tenki
branch
from
August 14, 2026 16:50
def6f8c to
2e88f6d
Compare
This was referenced Aug 14, 2026
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.
Adds
examples/openhermit-tenki— running OpenHermit agents on Tenki microVM sandboxes, per thetenkibackend that landed in openhermit#239.What's in it
README.md— the full walkthrough:hermit sandbox add --agent main --type tenki, the config-blob key table (resources,agent_home,timeout_ms), gateway env setup, andgateway.jsonpresets withautoProvisionSandbox. Explains what makes this backend distinctive: one sticky microVM per agent that the gateway reattaches by session id after a restart (resume-if-paused, workspace intact).verify.mjs— CI proof with no gateway or PostgreSQL: boots a sticky session the wayTenkiExecBackend.ensure()does, execs viash -cwith env pass-through, round-trips a skill file, then reattaches by id viaclient.get()(the gateway-restart path) and confirms workspace state survived. Passes locally against the live API.README — new "Agent platforms" examples section (OpenHermit is the first row; DeerFlow/RAGFlow follow in their own PRs and may need a trivial rebase on this table), plus the "Projects with built-in Tenki support" row now links to the example.
🤖 Generated with Claude Code