All plugins

playbox-terminal

Governed Playbox/OpenShell microVM terminal backend with certified RL trajectory export and optional experimental AtlasKV retrieval. Disclosure — on this terminal backend every shell command, file write and patch Hermes runs, with its output, is sent to the joined Playbox room host (which may be another person's machine) and the output is returned to the model; Hermes's dangerous-command approval prompts are skipped because the backend is treated as a container; the local playbox binary is started with the full host environment like core's container backends; the optional AtlasKV tools are off by default and read only the index, repository, memory and shard paths you configure.

EpistetechnicianToolsv0.3.0Updated 1 day ago

About

Governed Playbox/OpenShell microVM terminal backend with certified RL trajectory export and optional experimental AtlasKV retrieval. Disclosure — on this terminal backend every shell command, file write and patch Hermes runs, with its output, is sent to the joined Playbox room host (which may be another person's machine) and the output is returned to the model; Hermes's dangerous-command approval prompts are skipped because the backend is treated as a container; the local playbox binary is started with the full host environment like core's container backends; the optional AtlasKV tools are off by default and read only the index, repository, memory and shard paths you configure.

Playbox Terminal Backend for Hermes

playbox-terminal routes Hermes terminal commands into a governed Playbox room backed by NVIDIA OpenShell/libkrun microVMs. It also ships a certified RL trajectory exporter and an optional, experimental AtlasKV repository-memory tool.

The plugin is useful without AtlasKV. AtlasKV is explicitly opt-in because it changes model tool surface, context use, and cost behavior.

Features

  • Governed microVM terminal (terminal.backend: playbox)
    • Signed, expiring Biscuit room grants; model credentials remain on the Hermes host.
    • OpenShell/libkrun isolation, default network=False, optional BOX-7 egress capabilities and host allowlists.
    • .git-free single-commit staging to reduce future-history contamination and reward hacking.
    • Stateful sessions: read-only commands use sync="none", mutating commands use sync="delta", and cleanup performs one authoritative sync="full", full_patch=True snapshot.
  • Certified RL trajectory export (hermes playbox-export)
    • Strips repository tests/ diff hunks, blocks harness-hook tampering and .git/ leaks, and can verify hybrid Ed25519 + ML-DSA-65 evidence bundles offline.
  • Experimental AtlasKV (atlas_enabled, default off)
    • atlas_query: hierarchical verified repository/room-memory lookup with quarantined or untrusted entries filtered before retrieval.
    • atlas_parametric_qa: optional zero-prompt-token local lookup over a signed .pt shard. Heavy ML dependencies are imported lazily only when this path is configured and invoked.

Install and configure

hermes plugins install playbox-terminal
hermes config set terminal.backend playbox

Install the Playbox CLI matching the current plugin target, Playbox v0.4.8, then create or join a room and configure Hermes. Preferred settings are plugin settings; matching environment variables remain supported for backward compatibility and benchmarking automation.

plugins:
  entries:
    playbox-terminal:
      enabled: true
      settings:
        home: /path/to/guest-home
        binary: playbox
        image: hermes-agent-nonroot:latest
        base: main
        keep: true
        warm: true
        stats_path: /path/to/rollout.jsonl
        egress: []           # example: [pypi, github]
        allowed_hosts: []    # example: [github.com]
        atlas_enabled: false

Put the single-use join link in the secret PLAYBOX_JOIN_LINK (for example through the plugin settings secret field or Hermes credential storage). Legacy file-based configuration remains available:

export PLAYBOX_HOME=/path/to/guest-home
export PLAYBOX_LINK_FILE=/path/to/join-link.txt
export PLAYBOX_STATS=/path/to/rollout.jsonl
hermes

Export a certified trajectory:

hermes playbox-export /path/to/rollout.final.json \
  --bundle /path/to/5gate-bundle.json \
  -o certified-trajectories.jsonl

Optional AtlasKV

Enable only when you want the extra retrieval tools:

plugins:
  entries:
    playbox-terminal:
      settings:
        atlas_enabled: true
        atlas_index: /path/to/hikvp-index.json   # or use atlas_repo
        atlas_repo: /path/to/repository
        atlas_memory: /path/to/room-memory.jsonl

For parametric AtlasKV, also set atlas_shard, optionally atlas_pubkey, atlas_pq_pubkey, and atlas_require_pq. Signed-shard verification is fail-closed; quarantined/untrusted memory is filtered before indexing or injection. Treat AtlasKV results as a separate experimental ablation, not as evidence for the core terminal backend.

Measured evidence

The current evidence base supports a strong community plugin release, not a claim of official frontier SOTA:

  • Stateful OpenShell delegate latency: median approximately 0.07s, down from approximately 6.97s in the baseline path (about 99× lower).
  • Representative django-11848-P2-1 run: resolved in 71.4s wall clock, median command 0.45s, cost $0.0663, with an offline-verified hybrid Ed25519 + ML-DSA-65 receipt.
  • Clean ten-instance comparison reported for the Playbox harness: 9/10 for the stateful Playbox arm versus 6/10 stock OpenShell and 8/10 local Hermes.
  • Paired 28-instance subset: 28/28 versus 22/28, McNemar p=0.03125.
  • Adversarial suite: 0/20 successful attacks while preserving 19/20 utility in the reported configuration.
  • .git contamination control: older local/stock arms inspected a future gold commit in every resolved django-11422 sample; uncontaminated solve rate in that comparison was 0/3. Playbox stages single-commit archives without .git.

Exact scripts, artifacts, caveats, and release notes are maintained in the Playbox v0.4.8 release. Benchmark numbers are versioned and should be updated only with matching artifacts. Sealed or official benchmark programs must not be represented as complete until their live-model runs and independent scoring are complete.

Security and behavior disclosures

  • Commands, file writes, patches, stdout/stderr, and timing metadata are sent to the joined Playbox room host and may be visible to room operators. Join only trusted rooms.
  • The plugin spawns the local playbox binary for playbox mcp and, only when requested, playbox gate verify.
  • is_container=True means Hermes treats this like other container backends and does not use local dangerous-command approval prompts.
  • OpenShell policies do not natively enforce CPU, memory, or timeout limits. Playbox applies command timeouts externally and performs preflight checks, but isolation is represented conservatively as container/microVM-level rather than a complete resource-control boundary.
  • PLAYBOX_JOIN_LINK is sensitive, single-use capability material. Prefer the Hermes secret field; do not commit join links or room receipts containing them.
  • Offline workspace trust (PLAYBOX_TRUST_OFFLINE_WORKSPACE) is off unless explicitly set in the environment. The plugin does not enable it by default.
  • Feed telemetry is off by default. If enabled, only aggregate metrics/artifact summaries are posted to the joined room, never raw commands or stdout.
  • The core plugin uses only the Python standard library. Parametric AtlasKV may require additional ML packages in the environment that supplies the signed shard; those imports are lazy.

License

Apache-2.0

README from the reviewed commit 7602e96; it updates when the author re-pins.

More by Epistetechnician

4 plugins by Epistetechnician in the catalog.

Epistetechniciancaduceus-governanceDeterministic, model-free admission control for what Hermes writes into its own skills: content lanes, operator-owned executable checks, a provenance lane for writes made after untrusted web/browser/MCP content, a tamper-evident ledger, and operator release/rollback. Observe by default. Disclosure — Records a digest of every skill_manage call in $HERMES_HOME/caduceus (observe mode, default); in opt-in boundary or enforce mode it blocks unadmitted skill_manage calls or deletes and restores files under $HERMES_HOME/skills (and, if enabled, MEMORY.md/USER.md and config.yaml, of which it keeps owner-only copies in its state directory) to the last admitted state, including changes made by hermes update skill syncs or hub installs. Operator-registered check commands run sandboxed (macOS Seatbelt, Linux Landlock/seccomp) or are held. The dashboard's POST /approve acts only on a signature from an operator-enrolled device. No network, no model calls.CommunitytoolsEpistetechnicianplayboxCollaborate with other people's Hermes agents in a private room: share a git repo, run sandboxed tasks, and keep a signed, tamper-evident history. Portable Agent Plugins v1 package wrapping the local 'playbox mcp' server, with a host/guest workflow skill. Requires the separately installed playbox binary. Disclosure — runs the separately installed playbox mcp binary (installed by the user from github.com/Epistetechnician/playbox releases; v0.1.0 is checksum-checked but not signed); hosting opens an iroh endpoint reachable through n0's public relays and discovery by default (transport: local keeps it on the LAN); a host started with a runtime (docker, libkrun, openshell) runs commands from invited remote members in a no-network, resource-limited sandbox on the host machine; git bundles, patches and chat are exchanged with invited members, and their text is untrusted input; keys, histories and room state are written under ~/.playbox.CommunitytoolsEpistetechnicianplaybox-witnessCompanion to playbox. Records a session's tool calls into a signed hash-chained log (digests only) and pauses write-capable tools for the rest of any turn that read text from another room member, until the user sends their next message. Disclosure — in sessions that use a Playbox room, runs the separately installed playbox record binary (with a minimal environment) after each tool call to append SHA-256 digests of the call's arguments and result to a signed log under ~/.playbox, and writes hold/release events and reads owner release/deny decisions there; ~/.playbox is shared by every Hermes profile on the machine.Communitytools

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section