A sovereign ReAct agent harness under in-loop governance
Ran Tao (Octoryn Research)
Abstract
A sovereign-first ReAct agent harness combining a function-calling-shape tool registry, tool-result message threading, a bounded loop guard, short-term per-task memory, and an in-loop governance gate routing every tool call through a governor and audit before dispatch. The loop plumbing passes its full self-test suite with a model-free harness. Claimed: correct ReAct-plus-governance plumbing under test. Not claimed: end-task quality (model-dependent), tool breadth, or any throughput, latency, or scaling property. This is an engineering-correctness result, not a task-quality benchmark.
1. Contribution
Claimed. This is a sovereign-first ReAct (reason + act) agent harness whose loop mechanics are validated independently of any model. The implementation comprises five concrete mechanisms: (1) a tool registry declaring tools in a familiar function-calling schema; (2) tool-result message threading that feeds tool outputs back into the reasoning loop; (3) a bounded loop guard limiting iteration count; (4) short-term memory scoped to a single task; and (5) an in-loop governance gate through which every tool call passes a governor and an audit step before dispatch. The harness passes its full self-test suite with a model-free harness — i.e. the loop plumbing, registry dispatch, result threading, loop bound, and governance gating are exercised without a model in the loop.
NOT claimed. This note does not claim any result about end-task quality, reasoning ability, or task-completion rate on open-ended tasks — those depend entirely on the model placed behind the harness, which is absent from the validated path. It does not claim tool-ecosystem breadth comparable to mature agent frameworks, nor any throughput, latency, or scale measurement (none were taken). The altitude is honest: this is an engineering/plumbing-correctness result (a harness that wires ReAct + governance correctly and is covered by a passing test suite), not a novel algorithm and not a quality benchmark. The harness pass count is a unit-test result for the harness mechanics, not an evaluation score.
2. Design
The agent occupies the Worker layer of the stack. Its design pillars:
| Mechanism | Description |
|---|---|
| Tool registry | Function-calling schema for tool declaration |
| Message threading | Tool results fed back into the reasoning loop |
| Loop guard | Bounded iterations to prevent runaway loops |
| Memory | Short-term memory within a single task |
| Governance | In-loop gate: every tool call passes governor + audit before dispatch |
| Harness mode | Model-free by default (loop mechanics validate without a model) |
| Hardware | Apple Silicon (M-series) |
The Worker is fed by a skill factory and a skill runtime: the same loop that acts is the one whose successful traces crystallize into skills, which later activate in place of re-derivation (act -> crystallize -> activate). Other coding/agent runtimes occupy the same Worker role; the architectural distinction described here is the in-loop governance gate and the skill-compounding layer behind the Worker, not a comparative-performance claim.
3. Evidence / Status
| Item | Status | Value |
|---|---|---|
| Harness test suite | Measured (pass count) | full suite passes |
| Loop bound | Implemented | bounded loop guard |
| Governance gate | Implemented, in-loop | every tool call -> governor + audit |
| Model-free harness | Implemented (default) | no model required to validate the loop |
| End-task quality | Not measured | depends on underlying model (out of scope) |
The only quantitative claim is the harness-test pass count and the existence of a bounded loop guard. No throughput, latency, accuracy, or task-success numbers exist, and none are introduced here. Everything beyond the harness mechanics (e.g. real-task performance) is prototype/architecture-level, not measured.
4. Limitations (harsh, honest)
- The pass count is a unit-test result, not a benchmark. It establishes that the harness plumbing behaves as specified; it says nothing about agent task quality, robustness on adversarial inputs, or coverage breadth. What each test asserts beyond "harness mechanics" is not detailed.
- Model-free validation has a ceiling. By design the validated path excludes a model, so the entire reasoning-quality dimension — the part that determines whether the agent is actually useful — is untested here. Parity-of-plumbing is not parity-of-behavior once a model is attached.
- No performance data. There are no latency, throughput, token-cost, or scaling numbers; nothing about how the governance gate or audit affects per-step cost.
- Tool-ecosystem breadth unquantified. The number and kind of registered tools are not enumerated, so claims of practical utility cannot be substantiated from this note.
- Single source of truth, single run. The pass count is reported once with no variance, no CI configuration, and no independent reproduction recorded.
- Evidence level. Carried forward as "experimental"; given that the only data point is a harness pass count, a reader could reasonably read this closer to an architecture/prototype note than a measured experiment. We do not silently downgrade the field, but flag it here.
5. Provenance / Relation
- Provenance: hardware was an Apple Silicon (M-series) machine; build and test ran via the platform's standard release build/test toolchain; sovereignty was verified by confirming reliance only on the platform-native acceleration library, with no third-party ML framework in the path. Exact build identifiers, version pins, and the test harness location are not recorded in source notes. The reproducible artifact described is the passing harness; exact invocation is not given.
- Relation: this Worker is fed by a skill factory and skill runtime (act -> crystallize -> activate). It is positioned alongside other coding/agent runtimes as a Worker; the described distinction is the in-loop governance gate and the skill-compounding layer, not a comparative-performance claim.
- Validate-first caveat: when a model is attached, the model path must be validated separately — the model-free harness does not transfer correctness guarantees to model-driven behavior.
Claim boundary
The author's explicit scope — what this work does and does not establish — carried over from the Octoryn Research publishing model.
Proves
- A sovereign ReAct agent (function-calling-shape tool registry, tool-result threading, bounded loop guard, short-term memory, in-loop governance gate) passes its full harness self-test suite with a model-free harness.
- It serves as the Worker layer fed by a skill factory and skill runtime (act, crystallize, activate).
Does not prove
- Task-completion quality on real open-ended tasks, which depends on the model placed behind the harness.
- Tool-ecosystem breadth comparable to mature agent frameworks.
- Any throughput, latency, token-cost, or scaling property; none were measured.
- That a passing model-free harness transfers correctness to model-driven behavior.
Applies when
- Running governed ReAct loops where every tool call must pass a governance gate and be audited before dispatch.
Does not apply when
- Claims about end-task quality independent of the underlying model.
- Performance or scale claims, or judging the harness as a benchmark rather than a unit-tested plumbing layer.
Authors
- Ran Tao — Investigation, Writing
Cite this
Citation
Tao, R., Octoryn Research. (2026). A sovereign ReAct agent harness under in-loop governance (TR-2026-0031). Octopus Research Institute.
BibTeX
@techreport{oritr20260031,
title = {A sovereign ReAct agent harness under in-loop governance},
author = {Tao, Ran and {Octoryn Research}},
institution = {Octopus Research Institute},
year = {2026},
note = {Permanent ID TR-2026-0031. Not peer reviewed.}
}Disclosures
- Funding
- Hardware and infrastructure provided by Octoryn / Octopus Core Pty Ltd.
- Conflicts of interest
- Octoryn ships commercial inference and governance tooling; findings are reported independently.
