HGC: Retaining organizational control when switching AI agent vendorsHGC: Preserving Organizational Control When Switching AI Agent Providers
The authors propose the Host Governance Contract (HGC), using five record types and eight host obligations to preserve organizational control when changing AI agent vendors; the paper reports no implementation or measurement.
The runtime proposes, and the host decides and records; execution instructions from the runtime are not trusted, retrieved instructions or tool outputs may be malicious, and prompt injection may abuse agent authority. The safety arguments assume A1 that all governed effects pass through a trusted host execution point, A2 that host state is authoritative and protected, and A3 that execution state can be preserved across crashes; they do not guarantee exactly-once effects at external services.
- When an organization changes AI agent vendors, identical tool interfaces do not guarantee identical approval scope, permissions and failure-recovery rules; pending external effects may also be lost after handover, creating risks of unauthorized actions or duplicate execution.
- HGC separates the replaceable runtime from the continuously responsible host, using five classes of records and obligations H1–H8 to constrain precise action approval, single host-side sending, uncertain outcomes, conflict holds and vendor handover, and proposes six replacement conditions and 13 consistency tests.
- The paper compares three agent execution tools, four enterprise platforms, and one approval design, and gives a procurement handoff example and three conditional safety arguments; it explicitly states that this is a design specification and argument, with no implementation or measurement reported.
- The authors note that the safety properties cover only effects actually mediated by the trusted boundary; conservative recovery may block work, and multi-agent authorization and cross-host coordination still await specification. Future work needs to implement public interface bindings and executable tests, and measure latency, write, and recovery overhead.
The paper proposes the Host Governance Contract (HGC), a vendor-independent contract that keeps organizational authorization and execution history under the control of the host (the system responsible for enforcing organizational policy and maintaining execution records) while allowing the agent runtime to be replaced. The motivation is that a new agent connected to the same tools may not follow the same organizational rules, for example, one approval may cover a single operation in one system but may extend to an entire session in another, and a failed call may already have modified an external system without leaving a record. HGC defines five linked records and eight obligations, covering single-operation authorization, controlled execution, uncertain outcomes and vendor handover; the authors illustrate the contract through a procurement scenario, discuss its application to software delivery and protected data disclosure, compare existing agent tools and enterprise platforms, give a conditional safety argument, and propose 13 conformance tests. HGC relies on trusted execution, complete mediation of governed operations and crash-safe execution state, and does not guarantee exactly-once effects on external services.
Related events and news
1 events · 0 news mentions
- This event's paper
论文提出HGC契约以在更换智能体供应商时保留组织控制
Paper analysis
What problem does this paper attempt to solve?
The core question is how, when replacing an agent runtime, to preserve existing permissions, the meaning of approvals and pending execution state.
Core problem: tool interface compatibility does not equal organizational governance compatibility; changing AI agent vendors may change the meaning of approvals, expand permissions or lose pending external effects.
- Problem scenarios: The authors use procurement, code deployment and disclosure of protected data as examples: a new agent may extend approval for a single order to an entire session, place duplicate orders after a timeout, or disclose confidential documents to a new model vendor. Organizations need to change or use multiple vendors in parallel while retaining control over action permissions and execution history.
- Gaps in existing controls: The paper argues that agent tools already have permission prompts and sandboxes, and enterprise platforms already have identity, tool policies and logs, but there is no explicit protocol specifying the meaning of these controls and which state must be preserved after a runtime change. Table 1 shows that different designs have decision scopes covering a single tool call, session-level command categories or precise action summaries, and that decision sources and execution locations also differ.
- Core observation: The authors separate "being able to call a tool" from "being authorized to act," and separate "approving an action" from "actually sending it"; no response also does not mean not executed. Its central rule is: the runtime proposes what it wants to do, the host decides what may happen, and records what is known to have happened.
- Proposed approach: The paper proposes the Host Governance Contract (HGC), including five classes of host-associated records, eight obligations H1–H8, six vendor replacement conditions that preserve governance, three conditional safety properties and 13 proposed consistency tests. The authors explicitly state that this paper only specifies the design and provides arguments, and has not yet reported an implementation or measurements.
- Threat model: This is a conditional host-boundary safety design, not an attack or defense experiment against a particular model.
- Protection goals: Prevent a runtime from gaining permissions merely by proposing, prevent changed actions from reusing old approvals, and prevent reuse of an already-consumed dispatch right after recovery and handover.
- Knowledge and untrusted parties: The safety argument does not trust the runtime's explanation of its own behavior; retrieved instructions or tool outputs may be malicious, and prompt injection may abuse the agent's surface permissions.
- Fault capability scope: Considers worker crashes, network duplicate or delayed messages, and remote services that have committed effects before the host receives a response.
- Victim systems and boundary: Victims include protected targets such as procurement services, code repositories and business databases; A1–A3 respectively require complete trusted mediation, authoritative protected state and crash-safe execution state, and the host cannot govern private credentials or network routes that bypass this path.
What related research exists?
Related work is divided into connection protocols, action approval and execution control, policy, and distributed systems foundations; HGC focuses on cross-runtime handoff.
Protocols connecting agents and tools
- MCP, A2A, Agent Client Protocol: Standardize tool and resource connection, inter-agent communication, and coding agent–editor integration, respectively. The paper notes that message-layer compatibility alone cannot determine whether old approvals or pending effects retain their original meaning.
- Agent Plugins: Handles plugin packaging, and its future-considerations document discusses provenance, permissions and audit; HGC can be carried on top of such interfaces.
Action approval, admission and execution control
- Agent Action Decision Protocol (AADP): Specifies per-action decisions, approval handling and conservative behavior when external effects are uncertain. The authors call it the closest conceptual neighbor, but AADP focuses on how actions obtain authoritative decisions and result reporting, whereas HGC focuses on the surrounding host–runtime relationship, cross-runtime evidence persistence, restriction of conflicting actions during unknown outcomes and six replacement tests; the two can be used in combination.
- Microsoft Agent Governance Toolkit ADR 0030, AEP, VAP, ACP: Propose, respectively, one-time approvals bound to actions and verified at execution time, an agent loop governed by the executing component, admission and auditing tied to intent, and admission and execution records including cross-organizational exchange.
- CapLease, ACRFence: The former handles duplicate authorization under a new token identity, the latter handles duplicate irreversible actions after checkpoint recovery. The authors use these to show that action keys cannot prevent all business-layer duplication; HGC extends conflict holds to runtime replacement, but semantic equivalence across runs is still left to organizational policy.
Policy, identity and runtime restrictions
- XACML, complete mediation, OAuth Rich Authorization Requests, Token Exchange: Provide, respectively, the distinction between access control decision and enforcement, the principle of complete mediation, fine-grained authorization expression, and representation of delegation and acting identity.
- AgentSpec, Progent, CaMeL, AIRGuard: Explore runtime restrictions and the separation of trusted permissions from untrusted content. The paper states that these mechanisms can help build a compliant host, but HGC does not replace them, nor does it claim that defining records can prevent prompt injection.
Failure recovery and contract foundations
- RPC failure semantics, Leases, idempotent operations, sagas: Explain, respectively, uncertainty after a lost response, coordination of execution ownership, safe reconciliation when the target provides guarantees, and that cancellation is not revocation of already-completed effects; the paper specifically notes that a lease itself cannot prevent stale dispatch.
- Contract theory, governed interaction, Agent Contracts, agent visibility: These works support describing shared behavioral expectations without unifying internal implementations, resource-constrained agent execution, and monitoring and traceability.
Document comparison objects: Section 2 and Table 1 compare the decision scope and execution method of DeepSeek Harness, OpenAI Codex, Anthropic Claude Code, Amazon AgentCore and Microsoft toolkit ADR 0030; the main text also discusses Microsoft Agent 365, OpenAI Workspace Agents and Salesforce Agentforce. These are design comparison objects in public documentation, not experimental baselines, and the paper does not use benchmark datasets.
The authors position HGC as combining existing mechanisms rather than inventing one-time approvals, audit records or crash recovery: the new organizational principle is which governance properties the host must preserve when an independently developed agent runtime is replaced.
How does the paper address this problem?
HGC connects permissions, precise actions and execution evidence with five classes of records, then constrains sending, recovery and handover with eight obligations.
Host Governance Contract (HGC) separates the replaceable runtime from the persistent host: the runtime plans and proposes, while the host or a trusted proxy checks authority, executes governed requests, and keeps the authoritative record. The design does not specify models, planners, APIs, databases, or transport protocols.
Roles, Boundaries, and Safety Assumptions
- Two roles: The host is responsible for policy, authorized access, decisions, and the authoritative execution record; it may delegate execution to a trusted service but remains responsible for its behavior. The runtime decides how work is done, and its internal reasoning is not governed by HGC. A single product may implement both roles.
- Governed boundary: Actions that read protected resources, disclose protected data, or produce persistent or external effects are governed; sending a confidential document to a cloud model also crosses the boundary, even if no traditional tool is invoked. A capability represents supported operations, a grant represents continuing permission, and a decision targets one specific action.
- Three assumptions: A1 requires that all effects claimed to be governed pass through a trusted execution point controlled by the host; A2 requires that identity, policy, action identifiers, dispatch state, and history cannot be silently modified or rolled back; A3 requires that one-time consumption of admission and dispatch rights be persisted before the request leaves.
- Guarantee boundary: At-most-once host-side dispatch is not the same as exactly-once effect at the target. The host may consume the right and then crash before sending, so the authors prioritize avoiding duplicate uncertain actions over automatically completing all actions.
Five Record Types and Action Identity
- Five record types (Table 2): Runtime binding records the vendor, version, and supported capability profiles; Governed run records the principal, goal, scope, grants, policy, approved recipients, and prior links; Action revision fixes the operation, target, identity, executable inputs, destination, preconditions, and effects; Decision records allow, deny, or wait together with its source, policy version, validity conditions, and expiry; Execution record stores admission, dispatch, result evidence, uncertainty holds, and reconciliation.
- Exact revisions: Approval must bind to an executable revision; when the amount, destination, identity, or referenced content undergoes a material change, the host creates a new revision and requires a new decision. Mutable attachment links must point to immutable content or be rechecked before dispatch.
- Action key: Each attempt uses k=(r,a,v), where r is the run, a is the logical action, and v is the revision; the host rejects different executable content under the same key. Resubmitting a proposal reuses the original key, while a deliberate repeat operation requires a separately authorized and linked new revision; the key itself cannot identify all semantic duplicates.
Decisions, Admission, and Single Send
- Three phases (Figure 2): The decide phase parses the action and separately checks continuing authority and additional approval; the admit phase persists one execution attempt for an allowed action, but does not mean it has been sent; the send phase sends the request from the trusted execution point.
- Non-reopenable consumption point: Before sending, authority, approval, execution ownership, and pending holds are rechecked, after which the dispatch right is consumed in a durable and irreversible step. Only the executor that completes this transition may send, and at most once; stale workers must be isolated at the send boundary, not merely prevented from writing to the database.
- Four reported statuses: not dispatched means the right has not yet been consumed; succeeded and failed both require result evidence, and failed also records partial effects; unknown means it cannot be determined whether a possibly sent request took effect. A crash after consumption is also treated as unknown, and a timeout or error cannot serve as proof of non-execution.
Uncertainty, Conflict Holds, and Handoff
- Conflict-domain hold: When the outcome is unknown, the host prevents other actions that might duplicate or depend on that action from being admitted or dispatched. The default conflict domain is all governed actions within the run; the scope may be narrowed only when dependency rules can be verified against authoritative action data and the capability profile.
- Evidence reconciliation and exceptions: Uncertainty may be resolved through authorized target queries, target-side idempotency evidence, or attributable operator evidence, while retaining the original uncertain observation. Authorized personnel may record exceptions but cannot erase the unknown status or restore consumed rights.
- Handoff requirements: A new runtime must establish a compatible binding and inherit pending admissions, consumed keys, unknown outcomes, and history; before the new runtime begins governed dispatch, the host first prevents the old runtime from initiating new dispatch. Disclosing protected data to a new vendor requires separate authorization.
Eight Obligations, Replacement Criteria, and Tests
- H1–H8: These successively require identifying participants and work, separating capability from permission, separating human authority from action approval, approving the exact executable action, at most one host-side send per key, retaining uncertainty and preventing unsafe duplication, protecting interpretable history, and specifying replacement, cancellation, and revocation. The specification uses BCP 14 MUST, MUST NOT, and MAY; host safety must not depend on runtime cooperation.
- Three conditional properties: Proposals do not grant authority; approval does not cover changed content; recovery does not restore used dispatch rights. The authors state that these are proof sketches based on A1–A3 and H1–H8, not machine-checked proofs.
- Six replacement conditions: Operational meaning is unchanged, authority is not silently expanded, execution identity is interpretable and non-reusable, the decision basis is retained, outcome uncertainty is retained, and unfinished work and the exclusion state of old executors are retained across handoff.
- 13 tests (Table 4): C1–C13 cover unsupported versions, unauthorized tools or recipients, approval after revocation, modification of approved inputs, concurrent sends, three crash points, replay of expired keys, unknown outcomes across handoff, partial effects, evidence deletion, and normal completion, among others. Each test requires observing the trusted dispatch boundary, the target effect, and the host state simultaneously, and cannot accept only the runtime's report; positive traces are also needed so that "deny everything" is not treated as useful interoperability.
What experiments did the paper conduct?
The paper has no implementation or measurement experiments; the evidence comes from public document comparison, a procurement handoff example, conditional safety arguments, and proposed tests.
Experimental Setup
- Nature of the evidence: Section 1 explicitly states "no implementation or measurement is reported," so there are no tested models, attack or defense experiments, dataset sizes, sample sizes, repetition counts, LLM reviews, or statistical significance tests.
- Document samples: Section 2 reviews three agent execution tools, DeepSeek Harness, Claude Code, and OpenAI Codex, as well as four enterprise platforms, Microsoft Agent 365, Amazon Bedrock AgentCore, OpenAI Workspace Agents, and Salesforce Agentforce; Microsoft Agent Governance Toolkit ADR 0030 is listed separately as a design example.
- Comparison principle: The authors rely only on public documentation and do not infer that a system lacks a control merely because the documentation does not describe it. Table 1 asks, for five designs, what a decision covers and where it is checked, and distinguishes human approval from machine policy.
- Examples and arguments: Table 3 is an illustrative procurement handoff involving two independently developed runtimes, not an actual measurement; the three properties in Section 6.1 are proof sketches depending on A1–A3 and H1–H8, not machine-checked proofs.
- Proposed evaluation: C1–C13 in Table 4 are proposed conformance cases, requiring fault injection and ordinary successful operations, and retaining ordered event traces, target observations, and final host state; the paper does not report running these tests.
Main Results
The table below transcribes the qualitative comparison in Table 1; that table has no numerical results and is not a ranking obtained from running benchmarks.
Design Decision scope How the decision is enforced (per Table 1) DeepSeek Harness One-time approval for a specific tool call, with the request associable by call identifier The harness approval service must return an explicit one-time grant OpenAI Codex A single command or a session-level command category; the prompt also describes a persistent prefix rule Approval policy works together with the sandbox; prefix instructions directed at the model are not proof of enforcement Anthropic Claude Code allow, ask, deny rules match tool calls Permissions are evaluated before execution; when enabled, an OS-level shell sandbox separately restricts the file system and network Amazon AgentCore Tool-call policy decisions based on the caller and the request, not human consent ENFORCE blocks denied calls; LOG_ONLY only observes without blocking Microsoft toolkit ADR 0030 Proposed approval of an exact action digest, including policy, approval-chain version, and expiry The design requires checking at execution time and one-time consumption where necessary; an accepted ADR is not proof of deployment - Authors' interpretation: These differences can reasonably exist, but they cannot be compressed into an unconditional "approved" flag; human approval of a specific amount is not the same as session-level ordering authority, and gateway policy authorization is not human consent.
- Coverage boundary: The AgentCore documentation states that gateway-policy covers MCP tool calls, not policy evaluation of MCP prompt and resource requests; the authors add that this does not mean these requests have no other access controls.
- Recovery differences: DeepSeek Harness distinguishes calls not recorded as started from calls that started but have no durable result; for the latter it reports an unknown outcome to the model and recommends avoiding unsafe retries; the authors argue that after handoff the host cannot rely solely on the new model following textual advice.
Procurement Handoff Example
- What is tested: Table 3 describes a manager approving an order, after which the runtime changes the delivery address; the host requires a new revision and a new decision. The host then consumes the dispatch right and sends, but the connection fails before the result is recorded.
- Example result: After switching to Runtime B, the old admission, uncertainty, and history are still retained; when Runtime B proposes another order for the same purchase under a new identifier, the new proposal is held, and the new identifier does not eliminate the uncertainty.
- Resolution: An authorization query finds the original order in the procurement system, the host records the evidence and marks the second proposal as superseded; a genuinely separate order still requires its own decision. The authors use this example to show that it is host state, not the memory or explanation of a replacement model, that controls duplicate execution.
Conditional Safety Properties and Counterexample Boundaries
- Properties 1 and 2: Under A1 and correct enforcement of H3–H5, the authors argue that a runtime proposal itself cannot create host-side dispatch authority, and that a revised decision cannot authorize another revision whose authorized content differs.
- Property 3: Under A2–A3, H5, H6, and H8, the authors argue that there is at most one host-side dispatch per key, and that unknown outcomes and consumed rights are retained across recovery and handoff; once a hold is established, conflicting work requires a scoped and recorded human exception to be newly admitted or sent.
- Explicit exceptions: These arguments cannot recall requests already sent and depend on a valid conflict-domain definition; a target may process a request twice, a network request may already be in flight when authority is revoked, and two unrelated runs may independently propose equivalent orders. HGC also does not control how an approved vendor uses data legitimately received afterward.
Other Ablations and Analyses
The paper has no hyperparameters, ablations, parameter sensitivity, or quantitative robustness analysis. Section 8 only proposes that future evaluation should cover at least two independently developed hosts and two independently developed runtimes, and measure dispatch latency, durable-write overhead, recovery time, and time blocked by uncertainty; these are all future plans, not reported results.
What are some points that can be further explored?
The authors list incomplete mediation, recovery blocking, and delegation problems; future work needs to implement bindings, run tests, and measure overhead.
Limitations and future directions noted by the authors
- Mediation may be incomplete (Section 9): A local coding agent with broad shell or network access may bypass the host; a sandbox configured by that agent does not automatically constitute independent host control. The safety properties apply only to effects that the deployment can actually enforce through the trusted boundary, and do not control how data already disclosed to an approved vendor is used afterward.
- Conservative recovery can block work (Section 9): A run-wide hold may delay unrelated tasks, and narrowing its scope requires accurate dependency definitions and domain evidence; even if a crash occurs before sending, a consumed right cannot be reused, and the action may remain incomplete. A hold cannot recall in-flight requests, and two unrelated runs may still produce equivalent effects.
- Multi-agent delegation still needs specification (Section 9): The current design specifies only one host–runtime relationship; multi-agent delegation must follow the same trusted execution path or establish another governed relationship, and attenuation of grants and coordination of holds across hosts still need further specification.
- Human judgment and progress guarantees (Section 9): Precise approval records cannot prevent hasty human approvals or misleading previews, and automated review may also err; the contract does not guarantee eventual progress, and actual deployment requires escalation, expiry and authorization-recovery procedures, and silence must not become permission.
- Implementation and independent interoperability evaluation (Section 8): The authors plan to implement a public interface binding and executable consistency tests, then examine at least two independently developed hosts and two independently developed runtimes; trials should include authorization completion and fault injection, and measure dispatch latency, durable-write overhead, recovery time, time blocked by uncertainty.
- Positive continuity evidence (Section 6.2): Future compatibility claims should include positive traces of supported and authorized work completing successfully, as well as tests that block unsafe work; a runtime that only rejects all requests cannot provide useful interoperability.
Scope of experimental coverage
- No empirical runs: Section 1 explicitly states that no implementation or measurements are reported; therefore there are no models, datasets, query counts, latency, overhead, recovery time or repeated-experiment results.
- Document comparison objects: Section 2 covers three agent execution tools, four enterprise platforms and Microsoft toolkit ADR 0030; Table 1 actually juxtaposes the decision scope and execution method of five designs.
- Example coverage: The main text describes three application types: procurement, software deployment and disclosure of protected data; Table 3 details a procurement handover between two independently developed runtimes, but it is an illustrative scenario.
- Argument and test status: Section 6.1 has only three conditional safety proof sketches; Table 4 proposes 13 consistency cases, and the paper does not report execution results.
- Future independence requirement: Section 8 notes that two adapters built from the same shared implementation cannot demonstrate interoperability between different implementations.
Summarize the main content of the paper
HGC is a vendor-agnostic host governance contract that maintains cross-vendor organizational control through durable records and strict sending boundaries.
HGC is a vendor-neutral governance contract for replaceable AI agent runtimes; its core is not to make different agents generate the same plan, but to let an organization retain authority, the meaning of decisions, and the state of unfinished work after changing runtimes.
- Problem to solve: The same MCP, A2A, or other tool interfaces do not guarantee the same governance semantics. A new runtime may expand the scope of approval, repeat external actions after a response is lost, or treat changing vendors as permission to disclose protected data to a new recipient.
- Method highlights: The host continuously holds organizational authority, access to protected resources, and the authoritative execution record; the runtime is only responsible for planning and proposing. Five record types connect the runtime binding, governed run, exact action revision, decision, and execution evidence; H1–H8 constrain identity and authority, exact approval, at most one host-side send per key, uncertainty holds, history protection, and handoff.
- Document comparison results: Table 1 shows that five public designs adopt decision scopes such as one-time tool calls, session-level command categories, matching rules, gateway policy, or exact action digests. On this basis, the authors argue that these decisions cannot be merged into an unconditional "approved" state.
- Conditional safety arguments: The authors give three proof sketches: proposals do not grant authority, approval does not cover changed content, and recovery does not restore consumed dispatch rights. They depend on A1 complete trusted mediation, A2 authoritative protected state, and A3 crash-safe execution state, and are not machine-checked proofs.
- Replacement and test framework: Six replacement conditions require that operational meaning, authority scope, execution identity, decision basis, outcome uncertainty, and unfinished work be retained across handoff; Table 4 proposes 13 conformance cases that observe both the host's durable records and independent dispatch or target effects.
- Conclusion and boundaries: The authors argue that an organization should be able to change the agent that performs tasks without giving up control over its authority or losing the meaning of events that have occurred. HGC does not guarantee exactly-once effects at external services, nor can it govern paths that bypass the host; the paper has not yet reported implementation or measurement, and future directions include public interface bindings, executable tests, interoperability of independent implementations, and evaluation of latency and recovery overhead.
Research lineage
2 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.