The Architecture · AI Control Plane

Five primitives.
One composable governance layer.

The AI control plane for runtime governance. KYA is a framework-agnostic governance layer for AI agents performing autonomous actions, built on five architectural primitives introduced in the KYA paper. Apache 2.0. Deployable in your environment.

Install

Install in sixty seconds.

The community edition ships everything: runtime governance, KYP scoring, attack chains, DIDs, evidence chain, framework adapters. Apache 2.0, self-hosted from day one.

$ pip install veldt-kya
PyPI downloads Apache 2.0
The Five Primitives

Composition over reinvention.

Each primitive is independently useful. Together they form the governance layer — making every autonomous action authorized, policy-conforming, and post-hoc verifiable.

01 · GATEWAY

Four-gate inbound apply pipeline

Every action passes four checks — identity, authority, policy conformance, evidence integrity — before dispatch. Sub-millisecond scorer at p99. 1,800 ops/sec at 20 workers.

02 · COMPOSITION

Only-tighten composition algebra

Three-channel multi-tenant hierarchy: regulator → tenant → agent. Tenants can only tighten default weights, never loosen. Formal proof — no accidental permissiveness.

03 · IDENTITY

KYP — Know Your Principal

Schema-level unification of trust scoring across human users, AI agents, and service accounts. One table, one score, delegation-aware.

04 · AMPLIFICATION

Interaction-multiplier amplification

Auditable multiplier over an AIVSS-shaped additive baseline. Interactions between principals amplify or damp risk with a formal audit trail.

05 · ATTRIBUTION

Two-axis delegation attribution

Static premium for risky delegates + runtime debit for actual delegate misbehavior in multi-agent fan-out. Catches topology-guided attacks.

What's in the box

Six operator primitives. Ready on day one.

Beyond the five architectural primitives above, the runtime kernel ships with the operator-facing controls regulated enterprises need in production from the first install — no assembly required.

01 · CONTROL

Budget caps

Cap the cost of a bad decision before it lands. Per-agent, per-tenant, per-tool.

02 · CONTROL

Kill switch

Halt an agent, a fleet, or a whole tenant in one click. Fires in sub-millisecond.

03 · COMPLIANCE

Regulator packs

32 frameworks — EU AI Act, HIPAA, GDPR, SOC 2, PCI, DORA, SR 11-7, and more — mapped to articles, retention windows, and breach fan-out.

04 · IDENTITY

DID identity per agent

W3C Decentralized Identifiers and Verifiable Credentials for every principal — humans, agents, service accounts.

05 · DETECTION

Attack-chain detection

Correlates events across agents, delegations, and tenants. Catches multi-step attacks single-shot detectors miss.

06 · EVIDENCE

Runtime kernel evidence

Every verdict tied to an immutable kernel record — HMAC-chained, Ed25519-signed, replayable months or years later.

Positioning

Not another layer. The trust rail across every layer.

KYA doesn't compete with observability — it composes with it. Where LangSmith, Phoenix, Arize, and Fiddler tell you what happened, KYA tells you whether it was allowed. Bridges shipping in-repo for Fiddler, Phoenix, and any OpenInference-emitting stack.

OBSERVABILITY

Answers what happened

How long the agent ran. How much it cost. What path it took. What tools it called. Great at describing.

KYA

Answers whether it was allowed

Was this action authorized? Did it conform to policy? Can we prove it to an auditor? Great at deciding.

Empirical claims (from the the KYA paper)

Benchmarks you can verify.

Every number below is reproducible against the Apache 2.0 codebase. No wall-garden benchmarks.

DETECTION

89% adversarial detection

1,200 probes from PyRIT and Garak, including the Liang 2025 topology-guided multi-agent attack. False-positive rate reported per family.

LATENCY

Sub-millisecond at p99

Pure-function scorer with no I/O in the hot path. Runs in the customer process, not a network round-trip.

THROUGHPUT

1,800 ops/sec at 20 workers

HMAC chain integrity preserved end-to-end under concurrent load.

COVERAGE

4 × 9 backend matrix, 100% pass

PostgreSQL, MySQL, SQLite, DuckDB × 9 test scenarios. All 36 cells green. Backend-agnostic by construction.

Read the the KYA paper →