The enforcement hook
One authorisation point on every request, joining admission, policy and evidence.
What sits on the request path
The parts around the hook. The Agent Router integration and sign-in through a commercial identity provider are in build.
-
Envoy terminates the connection
Connections are encrypted with TLS 1.3 at minimum. The front door passes requests to the Agent Router and does no authorisation of its own: the router calls the hook.
-
Sign-in through your identity provider (in build)
The only component that talks to your OIDC identity provider; it passes the subject and groups onward. Federation to a commercial identity provider is in build, and the demonstration runs against a local stub.
-
The hook authorises; the router forwards
The Agent Router calls the hook before it forwards, and the hook forwards nothing. It resolves the caller, joins entitlement to admission state and asks the policy engine. Anything unreachable or unparseable is a deny.
-
A small, stable client surface
The OpenAI-compatible interface your tools already speak. On the client the change is one web address and one key, not a new tool.
Virtual keys
A virtual key is a credential issued to one person or service, carrying their role and groups. The enforcement hook issues, rotates and revokes them through its admin API. The secret is never stored, only a one-way fingerprint of it.
Revocation
Checked on every request, with no cache. A revoked key is rejected on the next request.
Lifecycle
Issue, rotate and revoke are audited. The key change and its audit record are saved together, or not at all.
Browser sessions
A request authenticated by a session rather than a key is recorded with a session identifier, so the ledger still names how the caller was authenticated.
Virtual key record an example, not a live record
{
"id": "vk_7f3a91",
"subject_id": "8f1c2e",
"groups": ["engineering"],
"role": "standard",
"issued_at": "2026-09-01T00:00:00Z",
"expires_at": "2026-11-30T00:00:00Z",
"revoked_at": null,
"fingerprint": "sha256:9f2c..."
}
Entitlement, and what the router owns
The policy engine (OPA) decides which models a role may reach. A key reaches a public model only if the gate admitted that exact version, and a model it does not know is refused with a reason rather than passed through.
Role-to-model entitlement
Granted per group, and only to the exact model version the gate approved.
Rate limits
Per-minute request and token limits are enforced by the Agent Router, whose integration is in build. Your own policy can also decide on them.
Token use
Enforcing a monthly budget is the Agent Router's, in build. The ledger records every response's token counts, so the month-to-date figure survives a restart, and your own policy can set a budget on it.
Beside the gateway you already run (in our test setup)
Heliast does not ask you to replace the gateway you already run, and working beside it has been tested on a rig, not yet in a customer's estate. The hook is two calls: one to decide a request before it reaches a model, and one to report it afterwards. A small adapter inside your gateway makes them, and the decision and the ledger row are the same as on the router path.
- Two adapters, tested on a rig. Adapters for LiteLLM and Bifrost are tested on a rig, not in a customer's estate.
- Fail closed. If the hook cannot be reached, or cannot write the ledger row, the adapter refuses the request.
- What it decides. Every request your gateway sends through the adapter. Some gateway routes and fallbacks can skip it, and each adapter's setup guide lists them: LiteLLM and Bifrost. A route that skips the gateway is not seen, so closing the direct routes to your models stays with you, and so do your own rate limits and routing.
- Who is asking. The adapter tells the hook who your gateway authenticated, under a token of its own. Whoever holds that token can speak for any caller of that gateway, so it is handled like an admin secret.
Scope
- Built on Agent Router. Routing, retries and caching come from the Agent Router, whose integration is in build. You pay for the governance on top.
- Entitlement, not content. The hook decides who may reach which model; it leaves prompts and completions as they are.
- Your tools stay yours. Your coding agent runs its tools on the client side and keeps working as it does today.
Seeing where the enforcement hook sits in your estate? Heliast runs the hook inside your environment, on your policy.
Request a discovery session