Zum Inhalt springen

External harnesses (optional)

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Next release (0.2) Claude Code runs as an external harness behind the policy gate (oax run --harness claude-code), verified with real runs (in-process, 2026-10-04). The isolated run-node path through the model proxy (off by default) is implemented; its real-run verification is pending. The OpenCode adapter is implemented on main and tested against a fake CLI; verification with the real binary is pending. Hermes and OpenClaw are planned for 0.3; today they are typed stubs.

Some teams already use an agent harness they like. openagentix can hand an agent to such a harness without giving up any guardrail: an adapter translates agents.md into the harness configuration, runs the harness in a sandboxed runner, and routes every tool call through the openagentix policy gate.

Harness Adapter Status
Claude Code claude-code Next release (0.2)
OpenCode opencode Implemented, real-run verification pending
Hermes hermes Roadmap 0.3
OpenClaw openclaw Roadmap 0.3
  1. The harness gets an MCP configuration with one server: the openagentix-gate proxy, authenticated with the run’s signed token.
  2. The proxy offers only the agent’s granted tools. Each call goes through the audit gate, is recorded in the audit trail, counts against the budgets and is watched by the control agent.
  3. The harness’s own tools are switched off; it can act only through the proxy.

For Claude Code this means a headless invocation along these lines:

Terminal window
claude -p "<prompt>" --output-format stream-json --verbose --model <model> \
--append-system-prompt "<instructions>" \
--mcp-config .openagentix/mcp.json --strict-mcp-config \
--permission-mode dontAsk \
--allowedTools "mcp__openagentix-gate__tickets__get_ticket,…"

with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 set.