Skip to content

Add OpenHermit exec backend example - #8

Open
opencolin wants to merge 2 commits into
mainfrom
examples/openhermit-tenki
Open

Add OpenHermit exec backend example#8
opencolin wants to merge 2 commits into
mainfrom
examples/openhermit-tenki

Conversation

@opencolin

Copy link
Copy Markdown
Collaborator

Adds examples/openhermit-tenki — running OpenHermit agents on Tenki microVM sandboxes, per the tenki backend 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, and gateway.json presets with autoProvisionSandbox. 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 way TenkiExecBackend.ensure() does, execs via sh -c with env pass-through, round-trips a skill file, then reattaches by id via client.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

@tenki-reviewer

tenki-reviewer Bot commented Aug 3, 2026

Copy link
Copy Markdown

opencolin does not have permission to run Code Reviewer. You can manage permissions in your settings.

opencolin and others added 2 commits August 14, 2026 09:50
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant