Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Part III — What survives, and where to go next

ETF Research puts its policy in a small Rust interpreter over a JSON specification, and its consent in a signed approval token verified by its own MCP server. A production system might use a general-purpose policy engine, a governance toolkit inside the agent framework, a managed policy service at a tool gateway or a different model provider. Any of these can be a sound choice. None of them changes who must own the decision.

What should survive an implementation change?

The model, the provider and the framework may all change. Authoritative, deterministic decision logic must not silently become stochastic model output. In practice that means these properties should hold in any replacement:

BoundaryProperty that must surviveWhere Part III teaches it
PolicyThe decision is computed by deterministic code from versioned policy data, and an invalid policy stops the service rather than rescoring silently.A1
PolicyMissing or uncertain data is handled by an explicit rule, not by the model's judgement.A2
EvidenceThe model receives the evidence behind a decision so it can explain it, without being the one who made it.A3
AuthorityThe model may advise, and may be more conservative than the engine but never more optimistic. Its recommendation never becomes the final decision.A5
AuthorityA human's consent is bound to the premise they were shown, and the backend refuses it if its own recomputation disagrees.A5, Approvals
EvidenceEach recorded decision names the policy and profile versions it was made under.A6
PolicyDomain data is treated as untrusted input, whatever its source.Adversarial domain data

One trap is worth naming. Adopting a policy engine or a governance toolkit can move where a check is evaluated without settling what it protects. A tool call can be allowed by policy and still carry a decision the model invented. Ask of every policy check: does it constrain what the agent may invoke, or does it recompute what the outcome should be? ETF Research needs both, and they are different checks.

The domain boundary also survives: the ETF example works on a dated data snapshot with no market feed, brokerage connection or trade execution. Adding any of those would add new authority to govern, not just new data.

Continue beyond this laboratory

You now understand this architectural problem. These are strong implementations, standards or ecosystems to explore next. They are a short, deliberate selection; Where CognoKratos fits explains how they were chosen and what the labels mean.

  • Microsoft Agent Governance Toolkit portable open source
    Runtime policy enforcement, identity and audit around agent actions, with adapters for many frameworks (public preview). A useful contrast: it governs what an agent may do; ETF Research also recomputes what the decision should be.
  • Agent Control Standard open standard / infrastructure
    An early OWASP GenAI Security Project specification for a separate guardian that can permit, deny or modify agent actions. Read it for how it separates the controlled agent from the controlling component.
  • Open Policy Agent open standard / infrastructure
    A general-purpose policy engine with a declarative language. Consider which parts of rules_spec.json you could express as Rego, and which belong in a domain engine.
  • Cedar open standard / infrastructure
    An authorisation policy language designed to be analysable. A good way to see the difference between who may invoke an action and what the action should decide.