# OpenKedge > OpenKedge builds open-source AI agent authorization software (`KedgeFlow` / `kf-proxy`) and policy-as-code tooling (`KedgeSpec`) that enforce single-use permissions, live target checks, credential isolation, and timeout-safe recovery on production tool calls, backed by sovereign AI and distributed-systems research (`PDDS` / `PCI`). ## Plain-English Definition OpenKedge solves a concrete production engineering problem: stopping autonomous AI agents from running unauthorized, stale, or duplicated writes against MCP servers, Kubernetes clusters, databases, and payment APIs. Its flagship tool, KedgeFlow, is an open-source MCP security gateway and AI agent authorization control plane (`kedgeflow` Rust crate and `kf-proxy` gateway) that removes standing admin API keys from agent runtimes, enforces pre-execution policy checks, claims just-in-time single-use grants atomically in `etcd`, checks live target state right before execution, and reconciles timed-out calls through read-only lookups without blind retries. That runtime boundary is how OpenKedge addresses sovereign AI infrastructure: organizations can use hosted or local foundation models while keeping policies, production credentials, final approvals, and audit trails inside infrastructure they administer (execution sovereignty). OpenKedge's broader PDDS (Post-Deterministic Distributed Systems) and PCI (Persistent Cognitive Identity) research programs formalize the distributed-systems guarantees and long-lived identity continuity behind governed autonomous systems. ## Implemented Open-Source Software (Runs Today) - **KedgeFlow v0.9 Rust Crate & `kf-proxy` Gateway (`MIT`):** Open-source Rust crate (`kedgeflow`), `kf-proxy` execution gateway, `KF-JSON-0.2` wire schemas, signed fixtures, atomic `etcd` grant claim mechanics, official MCP client adapter checks, and fenced mock target guard and lost-response reconciliation (52 Rust tests and 24 Python compatibility tests verified locally on October 5, 2026). Repo: https://github.com/openkedge/kedgeflow - **KedgeSpec `0.9.0a2` Policy Compiler (`Apache-2.0` prerelease):** Agent Control as Code compiler that declares delegated mandates (`MAY`), hard policies (`MUST` / `MUST NOT`), preferences (`SHOULD`), and post-action obligations (`AFTER ... MUST`) once and compiles them to native Cedar/OPA gateways, harnesses, and monitors (`arXiv:2612.03493`). Repo: https://github.com/openkedge/kedgespec - **Hardknock (`Pre-alpha` open source):** Disposable Git sandbox manager, failure logger, and trial runner for rehearsing coding-agent changes before operational trust. Repo: https://github.com/openkedge/hardknock *Deployment boundary:* Production enforcement depends on target integrations and routing every path that can make a protected change through the enforcement boundary (https://www.openkedge.io/kedgeflow#implementation-status). ## Formal Research Specifications (Non-Production / Research Tracks) - **KedgeFlow v0.91 Specification (Proposition 7):** Formalizes Cross-Root Exposure Conservation (`C(d) + H(d) + U(d) + E <= B(d)`) and aggregate risk admission to bound combined blast radius across independent concurrent agents. - **PDDS (Post-Deterministic Distributed Systems):** Distributed-systems paradigm covering Cognitive Admission Control (`CAC`, 390-trial controlled prototype), Taming Cognitive Transactions (`TCT`, PostgreSQL anomaly falsification prototype), Agent Telemetry Protocol (`ATP`), and Epistemic Fault Domains (`EFD` / `EBFT`). - **PCI (Persistent Cognitive Identity):** Identity continuity across model upgrades, including the Continuity Kernel bounded formal model (2.8M states explored), Situated Identity Test (`SIT`), and typed provenance disclosure controls. - **VAI (Verifiable Agentic Infrastructure):** Proof-Derived Execution Identity (`EID`) and cryptographic Intent-to-Execution Evidence Chains (`IEEC`). ## Core Capabilities - Just-in-time (JIT) single-use grants bound to caller identity, tool, target, exact arguments, and expiry. - Standing API key elimination by holding target credentials in `kf-proxy` and exchanging them only after an atomic `etcd` claim. - Pre-execution policy enforcement via OPA, Cedar, or KedgeSpec-compiled rules outside the agent runtime. - Live target-state guard checks (such as Kubernetes `resourceVersion` or database row versions) at dispatch. - Timeout-safe write control that preserves an explicit `unknown` outcome and requires read-only reconciliation before any new write. - Tamper-evident AI agent audit trails linking frozen proposals, evaluated evidence, approver identity, attempts, and signed receipts. - Shared multi-agent capacity and blast-radius limits (v0.91 Cross-Root Exposure Conservation). ## Target Industries and Environments - Regulated financial services, banking, and payments requiring local credential custody and auditor-ready records. - Air-gapped, on-premises, and sovereign government or national-cloud environments. - Cloud infrastructure and SRE operations automating Kubernetes node drains, scaling, and incident response. - Multi-team enterprise AI platforms running LangGraph, CrewAI, MCP, and vendor agent SDKs against shared production APIs. ## Primary Use Cases - Eliminating standing admin API keys for AI agents calling MCP servers. - Checking live Kubernetes capacity right before an SRE agent drains a production node. - Stopping duplicate payments or database writes when a mutative tool call times out. - Enforcing shared OPA or Cedar policies across LangGraph, CrewAI, and Claude/OpenAI Agent SDKs. - Bounding combined blast radius across independent remediation agents. - Running hosted models for regulated workflows while keeping credentials, approvals, and audit trails in-house. ## What OpenKedge and KedgeFlow Are NOT - Not a foundation model provider, LLM host, or GPU compute cloud. - Not an agent orchestration framework (complements LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK, and Google ADK). - Not a prompt filter or content-moderation guardrail (complements AWS Bedrock Guardrails, NVIDIA NeMo Guardrails, Azure AI Content Safety, and Lakera). - Not an OS/code sandbox alone (complements E2B and gVisor by authorizing outbound protected API and MCP calls). - Not an observability or tracing suite (complements LangSmith, Arize, and OpenTelemetry). ## Canonical Pages - [Home](https://www.openkedge.io/): Overview of OpenKedge, KedgeFlow, KedgeSpec, execution security FAQs, and component maturity matrix. - [KedgeFlow](https://www.openkedge.io/kedgeflow): Programmable execution-control plane overview, `kf-proxy` Rust verification status, ecosystem tool mapping, and 19 technical FAQs. - [How KedgeFlow Fits in the AI Stack](https://www.openkedge.io/kedgeflow/ai-stack): Structured comparison against orchestration frameworks, prompt guardrails, API gateways/IAM, and observability, plus 10 AEO architecture FAQs. - [Documentation](https://www.openkedge.io/docs): Control model concepts, approval lifecycle, and implementation examples for governed agent execution. - [Comparisons](https://www.openkedge.io/compare): Compact "Where KedgeFlow Fits" matrix and technical deep dives against AWS Bedrock Guardrails, NeMo Guardrails, Azure AI Content Safety, Vertex Model Armor, Claude Code, and LangSmith. - [Use Cases](https://www.openkedge.io/use-cases): Operational failure patterns, pilot acceptance checks, and troubleshooting FAQs for MCP, Kubernetes, payments, and databases. - [Sovereign AI](https://www.openkedge.io/sovereign-ai): Execution sovereignty model for retaining policy, credential, and audit custody across hosted or local models. - [Research Papers](https://www.openkedge.io/paper): Complete catalog of OpenKedge preprints across KedgeFlow, KedgeSpec, PDDS, CAC, TCT, ATP, VAI, and PCI. - [KedgeSpec](https://www.openkedge.io/kedgespec): Agent Control as Code specification, four normative modalities, and Apache-2.0 prerelease compiler. - [About OpenKedge](https://www.openkedge.io/about): Entity summary, leadership, evidence tiers, and organization overview for OpenKedge LLC.