Sovereign AI InfrastructureFlagship: KedgeFlow
Bi-Weekly Newsletter

Sovereign AI needs a control plane.

AI agents can reason, plan, and recommend actions. But who decides what they are allowed to change?

OpenKedge develops open architectures and protocols for sovereign AI infrastructure—where institutions retain control over execution authority, identity, policy, and evidence. Our flagship project, KedgeFlow, separates agent intelligence from consequential action through independently governed execution.

“Models may be global. Execution authority must remain sovereign.”
Execution Control BoundaryCanonical Architecture
01 · REASONING LAYER (GLOBAL OR LOCAL)Unprivileged

Agent Proposes Intent

Exact action, target, parameters, and justification submitted as a non-binding proposal.

Independently Enforceable Institutional Boundary
02 · ADMISSION & AUTHORITY ISSUERInstitution Owned

Policy Check → Single-Use Action Grant

Evaluates active policy & fresh evidence. Authority is bound to this exact action and expires.

03 · ENFORCEMENT GATEWAY & TARGETConsequential State

Guard Verified → Controlled Commit → Receipt

Gateway claims grant once, checks target state guard, executes, and reconciles outcomes.

Intelligence proposes. Authority remains yours.52 Rust Tests Passed
The Operating Reality

Agents are becoming operators. Existing boundaries were not designed for that.

AI is transitioning from informational assistants that generate text to autonomous operators that invoke APIs, execute database transactions, reconfigure cloud infrastructure, and initiate financial flows.

Traditional Application Boundaries

Conventional software follows deterministic, audited code paths. Service identities are static, permissions are defined at deploy-time, and error handling assumes predictable call sequences.

  • Explicit, pre-compiled call graphs
  • Static IAM role assignments
  • Audit logs record what executed, not epistemic intent

The Autonomous Agent Reality

Agents dynamically formulate novel action plans based on non-deterministic reasoning, incomplete tool observations, and rapidly decaying environmental evidence.

The Node-Drain Scenario: An infrastructure agent proposes draining a production node based on an outdated capacity report. The question is not whether the agent possesses API credentials—it is whether this exact action is permissible right now, against current cluster state, with fresh supporting evidence.
Live Architectural Demonstration

Compare a direct API call with an independently governed KedgeFlow admission path.

Side-by-side comparative simulation·Automatic continuous playback

Scripted example · synthetic records · no live cloud changes

Direct Tool Access · UnmediatedPhase 01 / 04

Direct Execution to Cloud API

The AI agent holds ambient API credentials. Without pre-execution policy checks or admission control, mutations reach infrastructure directly.

Live Infrastructure StateDISPATCH IN FLIGHT
AIAgentCloud APINo Guard25 Workers
1
AI Output
Agent generates shut_down_cloud_capacity
2
Direct API Call
Bypasses governance with ambient IAM credentials
3
Change Executed
25 production instances receive terminate signal
4
Modeled Outage
Critical workers drop offline; incident triggered
AWS CloudTrail Audit (Post-Outage)status: MUTATING
{
  "eventName": "TerminateInstances",
  "userAgent": "ai-agent-role/bot-session",
  "instancesSet": 25 nodes,
  "currentState": "shutting-down",
}
Unchecked Mutation Result
The AI agent executed a high-consequence infrastructure change with zero policy enforcement. The audit log only documented the destruction after the outage began.
Governed Path · OpenKedge CACPhase 01 / 05

Pre-Execution Admission & Fencing

The AI agent proposes candidate intent. OpenKedge Cognitive Admission Control (CAC) evaluates policy and environmental evidence before any authority is issued.

Control Plane BoundaryCOGNITIVE EVALUATION
AIProposerOpenKedge CACPolicy CheckTernary ReviewActive Guards25 PROTECTED
1
Intent Proposed
Agent proposes candidate intent to control plane
2
Context Snapshot
Environment state & live dependencies mapped
3
Policy Evaluated
CAC detects blast radius exceeds operating policy
4
Contract Denied
Execution gateway fences action; servers protected
5
Evidence Recorded
Immutable ATP receipt generated for audit & replay
OpenKedge Decision Record (Pre-Execution)admission: EVALUATING
{
  "intent": "shut_down_cloud_capacity",
  "activeInstances": 25 nodes,
  "policyCheck": "Scope exceeds operator limit",
}
Governed Control Plane Result
The proposal was evaluated against declared invariants before execution authority was granted. Dangerous mutations were blocked, workers stayed online, and an immutable receipt was recorded for audit.
Flagship Project

KedgeFlow: The execution-control plane for consequential AI agents.

KedgeFlow is OpenKedge's flagship programmable agentic execution-control protocol and reference implementation. It establishes an enforceable boundary between stochastic intelligence and protected systems.

The Governed Execution Lifecycle

How KedgeFlow mediates action without surrendering authority

Rust v0.9 Reference GatewayKF-JSON-0.2 Schemas
01

Exact Proposal

Captures the exact intended mutation, parameters, caller identity, and supporting evidence.

02

Admission Evaluation

Evaluates the proposal against institutional policy, freshness limits, and semantic judgments.

03

Bounded Grant

An independent authority issues single-use, action-specific permission with strict expiration.

04

Gateway Claim

Enforcement gateway verifies and claims authority atomically prior to target interaction.

05

Target State Guard

Validates the protected resource's current condition before executing the operation.

06

Mediated Execution

Executes exclusively through the governed path; standing credentials remain isolated.

07

Cryptographic Receipt

Records terminal outcome or preserves explicit uncertainty when confirmation times out.

08

Reconciliation

Query-only reconciliation recovers ambiguous states without dangerous automatic retries.

Verification Evidence: 52 Rust tests and 24 Python compatibility checks passing locally against real etcd and official MCP client.
The Strategic Imperative

Sovereignty is not only where intelligence runs. It is who controls what intelligence can do.

Sovereign AI encompasses compute, data, identity, decision, execution, evidence, and experience. Execution control is the decisive runtime guarantee.

Hardware & Foundation Models

Compute & Model

“Where do models run?”

Control over hardware, accelerators, model weights, and private enclaves.

Storage, Processing & Residency

Data Custody

“Where does data live?”

Control over where institutional data is stored, disclosed, and retained.

Flagship: KedgeFlow Control Plane

Execution Sovereignty

“Who authorizes action?”

Control over which exact state-changing actions agents may perform at runtime.

Research: PCI Program

Identity & Continuity

“What survives model migration?”

Control over persistent agent state, claims, commitments, and succession.

Institutional Rules & Admission

Decision & Policy

“Who sets governing rules?”

Control over admission thresholds, human-in-the-loop triggers, and boundaries.

Research: PDDS & Outcome Contracts

Evidence & Accountability

“What proves what occurred?”

Control over cryptographic audit chains, receipts, and ambiguous state reconciliation.

Experimentation: Hardknock

Experience & Practice

“What did practice prove?”

Control over which empirical lessons are trusted and incorporated into policies.

The Core Sovereignty Argument: An institution can own its private cloud and foundation models, yet still surrender sovereignty if autonomous agents wield broad standing credentials or act on stale, unverified evidence. OpenKedge establishes the verifiable mechanisms required when intelligence becomes capable of altering the physical or digital world.

Intellectual Foundations

The research behind governed autonomy.

KedgeFlow's concrete execution boundary is backed by formal distributed systems theory, persistent identity research, and controlled empirical trials.

Systems Theory

PDDS

Correctness under nondeterministic reasoning

“When is an agent sufficiently justified in acting?”

A distributed-systems research paradigm modeling systems where probabilistic cognitive nodes propose actions against deterministic resources. Investigates Cognitive Admission Control (CAC), cognitive serializability (TCT), and epistemic fault domains.

Identity Governance

PCI

Governed identity across agent lifecycles

“What can an agent legitimately retain across model changes?”

Investigates how persistent agents preserve accepted autobiographical memory, commitments, and provenance across model upgrades, without treating inherited memory as automatic execution authorization.

Empirical Trials

Hardknock

Empirical practice before operational trust

“What can an agent reliably learn in practice?”

An open-source developer project providing disposable rehearsal environments for agents to experience failures, compare outcomes, and generate candidate lessons for human review before operational trust.

Conceptual Map

A coherent research agenda for sovereign autonomous systems.

Test what agents learn. Govern what they retain. Verify what they propose. Control what they execute.

These four initiatives address distinct stages of the autonomous lifecycle without falsely claiming complete production integration today.

Component & MechanismProgramMaturity StatusVerification & Evidence Scope
KedgeFlow v0.9 Reference GatewayKedgeFlowImplementedRust crate (kedgeflow) & kf-proxy gateway, KF-JSON-0.2 schemas, 52 Rust tests, real etcd races, MCP client integration.
Cognitive Admission Control (CAC)PDDSExperimentally validated390 controlled trials with 120 completed effects; zero modeled harmful outcomes observed in evaluated testbed.
Cognitive Serializability (TCT)PDDSExperimentally validatedPostgreSQL benchmark across 28 concurrent histories; successfully rejected injected anomaly sequences.
Continuity Kernel Formal ModelPCIFormally analyzed2,808,230 reachable states explored with zero invariant violations within bounded formal model specifications.
Hardknock Experience EngineHardknockImplemented (Pre-alpha)Open-source sandbox manager, failure logging, diff inspection, and trial runner for agent coding rehearsals.
Cross-Program Pipeline IntegrationArchitectureProposed integrationEnd-to-end orchestration connecting Hardknock lessons to PCI state and KedgeFlow admission is an architectural roadmap.
Practical Application

Where autonomous intelligence meets consequential systems.

OpenKedge protocols are designed for environments where an erroneous mutation causes financial, operational, or physical harm.

InfrastructureControlled prototype & reference gateway mechanics

Cloud & Infrastructure Operations

Risky Action:

Autonomous node drain, replica termination, or routing reallocation.

Control Challenge:

Capacity, network topology, and dependencies drift between an agent's diagnosis and execution.

Architectural Mechanism:

Cognitive Admission Control (CAC) evaluates freshness guards; KedgeFlow enforces single-use dispatch.

CAC 390-trial evaluation (120 completed effects, zero modeled harmful mutations under test conditions).Details →
Enterprise & MCPImplemented in KedgeFlow v0.9 Reference Gateway

Enterprise Agent Execution

Risky Action:

AI agents calling tools, MCP servers, and enterprise backends with admin keys.

Control Challenge:

Standing API credentials allow agents to change parameters, replay stale approvals, or bypass via shells.

Architectural Mechanism:

Action-bound, single-use grants claimed once at the gateway; target credentials never exposed to agent.

52 Rust unit and integration tests passing with official MCP clients and real 3-node etcd cluster.Details →
Regulated SystemsExperimentally validated protocol contracts

Regulated & Financial Operations

Risky Action:

Consequential payments, database transactions, ledger adjustments, or contract execution.

Control Challenge:

Network timeouts leave outcome unknown; retrying mutative actions risks duplicate transfers.

Architectural Mechanism:

Conserved authority contracts, explicit unknown outcome state, and query-only reconciliation.

TCT 28-history anomaly falsification benchmark and mock-target recovery validation.Details →
Government & National CloudProposed reference architecture

Sovereign & National Infrastructure

Risky Action:

Multi-agency agent delegation across public services and critical national infrastructure.

Control Challenge:

Cross-organization delegation risks credential leakage and loss of jurisdictional policy authority.

Architectural Mechanism:

Obfuscation membranes, federated institutional admission, and non-fungible proof-derived identities.

Sovereign Agentic Loops (SAL) architectural specification and national deployment model.Details →
Open Science & Verification

Inspect the architecture. Evaluate the evidence.

OpenKedge does not ask for blind trust. Inspect reference gateways, formal models, test fixtures, and arXiv preprints.

Bi-Weekly Technical NewsletterLinkedIn Series

The Agentic Control Plane

I write a bi-weekly technical newsletter on LinkedIn exploring the systems architecture, mathematical primitives, and control boundaries required for autonomous AI agents in production. Join systems architects, security leaders, and researchers following the series.

Author: Jun (Joel) He, PhD|Founder, OpenKedge|Princeton PhD (Distributed Systems)|Every 2 Weeks
Expiring Authority
Zero Standing Privilege

Why memory can persist while execution leases must expire and re-authenticate.

Execution Contracts
State-Bound Authority

Binding authorization to the exact transition instead of generic API tokens.

Vendor Signals
Real-World Dissection

Architectural breakdowns of Google Cloud ACE, ServiceNow Arc, NVIDIA, and AWS.

Distributed Safety
PDDS & Two-Phase Commit

Handling ambiguity, timeouts, and Byzantine failure in non-deterministic fleets.

Subscribe on LinkedIn NewsletterBrowse All Technical InsightsFree bi-weekly dispatches · Join thousands of systems engineers
Sovereign AI Infrastructure

Build autonomous systems without surrendering execution authority.

Explore how institution-controlled policies, evidence, identity, and execution boundaries can support your sovereign AI architecture.