Gateway
Auth, rate limits, request validation, public-safe error serialization.
KyroDBProduct
KyroDB serves context only when it can explain freshness, scope, provenance, and failure behavior. If a strict context boundary cannot be proven, KyroDB fails closed.
Read the runtime contractFreshness contract
Runtime anatomy
The public runtime facade and gateway share serving semantics so embedders cannot bypass auth, evidence, limits, trace coverage, or fail-closed behavior.
Auth, rate limits, request validation, public-safe error serialization.
Freshness resolution, reuse, proof validation, packet assembly.
Certified pgvector and Qdrant paths with scope enforcement and hard caps.
Durable traces, feedback, replay capture, proof reports, and health.
Developer surface
The application does not recover failed packets and guess. It either receives proof-bearing context or a public-safe fail-closed error.
POST /v1/context/retrieve
{
"query_embedding": [0.18, -0.42, 0.77, 0.09],
"scope": {
"tenant_id": "acme",
"namespace": "support",
"entitlement_boundary": "enterprise"
},
"freshness_mode": "strict",
"top_k": 8
}
-> ContextPacket {
status: "complete",
generation: 184,
trace_id: "trc_7H2A...",
omissions: ["stale_blocked: 3"],
proof: "source_boundary_verified"
}