PUNK

// plain-English reference

AI agent infrastructure, without the fog.

Clear definitions for the systems that connect, observe, govern, test, and improve production agents. Punk's product terms are included alongside the broader category language.

The central idea

An agent system needs more than a model. Production infrastructure must decide how requests move, what actions are allowed, what evidence is trustworthy, and whether experience can safely improve future execution.

// core layers

Where each system fits.

Adaptive runtime

An infrastructure layer that observes agent execution, applies policy, identifies repeated work, tests alternative paths, and routes eligible future requests through verified execution with live fallback and a reason for the decision. Read the category definition.

AI gateway

A traffic layer between applications and model providers. It commonly centralizes compatible APIs, credentials, provider selection, limits, retries, cost controls, and sometimes caching.

Agent observability

The practice and tooling used to inspect agent requests, responses, tool calls, traces, latency, cost, evaluations, errors, and outcomes. Observability explains execution; it does not inherently change the next route.

Agent governance

Rules and controls that define which models, data, tools, users, and actions are allowed. Governance can include identity, policy evaluation, approvals, blocks, audit records, and risk classification.

// proof and rollout

How a candidate earns trust.

Replay testing

Running a candidate path against recorded historical inputs while suppressing side effects, then comparing its outputs and behavior with an accepted reference. Replay tests known traffic; it cannot prove every future case.

Shadow testing

Running a candidate silently beside the current live path on fresh traffic. The live result still serves while the system collects comparison evidence and suppresses candidate side effects.

Promotion gate

The defined evidence and policy requirements a candidate must pass before it can become eligible to serve. In plain English: verification before activation.

Canary rollout

A deliberately limited production release to a small, identified slice of eligible traffic. A canary measures real behavior while containing the effect of an unexpected mismatch.

Live fallback

Returning an ineligible, uncertain, or failed optimized request to the configured live model provider. Fallback behavior must be designed alongside the organization's policy and availability needs.

Route explanation

A machine- and human-readable reason attached to a response that states which execution path was chosen and why. It makes routing inspectable instead of invisible.

// reuse and economics

What “cheaper execution” can mean.

Exact cache

A stored result reused when the relevant request and safety scope match exactly.

Semantic cache

A stored result considered for requests that are similar in meaning, subject to thresholds, freshness, policy, and tenant or subject boundaries.

Tool cache

Reuse of a prior tool result when its inputs, authorization scope, freshness rules, and side-effect posture allow it. Writes should not be treated like ordinary read caches.

Reusable workflow

A tested, declarative execution path derived from repeated behavior. Punk interprets these workflows as data; it does not generate and evaluate executable code.

Ghost savings

An estimate of what a candidate route might have saved while observation or shadow mode still served the live path. Ghost savings are forecasts, not realized savings.

Realized savings

Measured cost avoided after an eligible route actually serves production traffic, net of the costs included by the stated methodology.

// Punk technical terms

Platform language, translated.

Technical termPlain-English meaningWhy it matters
Trace ledgerComplete append-only execution historyDerived patterns and routes can be rebuilt from their source evidence.
ArtifactTested reusable workflowRepeated agent work can become a declarative path instead of generated code.
Artifact promotionMake a verified workflow eligibleReuse requires replay and shadow evidence plus policy approval.
Side-effect levelRisk level for an actionReading data and making an irreversible external change should not receive the same controls.
Semantic web runtimeStructured, machine-usable web stateAgents can act on page meaning and available interactions rather than only brittle visual coordinates.
Variables from messagesConsistent inputs derived from a conversationRouting, synthesis, replay, and serving must evaluate the same request representation.

// important distinctions

Terms that should not be collapsed.

Model success vs task success

A model can return a valid completion while the user's job still fails. Meaningful evaluation often needs application outcomes, human feedback, or domain-specific checks.

Auditability vs compliance

A replayable record can support internal review and compliance work. It is not, by itself, a certification or a guarantee that an organization's controls meet a regulation.

Compatibility vs full instrumentation

A compatible model endpoint can capture supported request traffic. Complete agent context may also require tool, identity, approval, browser, and outcome integration.

Evidence vs certainty

Replay and shadow tests provide bounded evidence for defined traffic and acceptance rules. They should not be presented as proof of all future correctness.

See the runtime loop in practice.

Follow a request from live observation through candidate testing, eligibility, fallback, and route explanation.