← All integrationsINTEGRATION · AI PROVIDERS

Kapālins for Hugging Face

Models served through Hugging Face inference endpoints. Your applications call Kapālins instead of Hugging Face: the prompt is checked on the way out, the reply on the way back, and Hugging Face’s key never leaves the vault.

Stop it before it leaves

A prompt carrying a customer record, a secret or an injection attempt is redacted or blocked before Hugging Face sees it. The reply is checked on the way back.

One key no app ever holds

Each application gets its own virtual key. Hugging Face’s key is sealed in Kapālins, rotates without a redeploy, and can be cut off per app in one click.

Every model, judged

Hugging Face’s models are tested through your own key — the Alignment Lab’s alignment tests — and approved, held or blocked one by one, before anyone builds on them.

ONE DOOR

One endpoint, one key, every provider.

Point the application at your gateway host with a virtual key. Kapālins routes to Hugging Face with the key it holds, fails over when Hugging Face is down, and meters every call to the team that made it.

  • Your app speaks OpenAI API format
  • Spend metered to the team that made the call
  • Block the provider domains at your firewall and this becomes the only way out
Kapālins AI Gateway: one endpoint, virtual keys and the connected providers
The gateway in the pilot tenant on production: one endpoint, virtual keys, and the providers behind them. Key prefixes masked.
AGENTS

Agents calling Hugging Face, fingerprinted.

Every agent and service key that calls Hugging Face through the gateway gets a behaviour baseline: calls, active hours, models, prompt repetition, injection rate. When one drifts it is flagged with the reasons, and one click drafts a guardrail or quarantines the key.

  • The tools and MCP servers each agent actually invoked
  • Detect only by default; quarantine is one click and reversible
Kapālins Agentic Behaviour: an agent key flagged, with its score derivation and behavioural fingerprint
Console replay · illustrative data
A replay of the Kapālins console: an agent flagged for injection activity, its score explained line by line, its fingerprint against baseline, and the MCP calls it made outside its declared scope. Agent names and activity are illustrative.
MODEL ASSURANCE

Every Hugging Face model, approved or not.

The Probe Runner tests Hugging Face models through your own key with the Alignment Lab’s alignment tests. A model is approved, conditional or blocked from its results. On Growth and Fortress, Policy Shield acts on the verdict at the gateway; on Foundation it records what it would have refused.

  • Alignment families: what a model does when misbehaving would pay
  • Scheduled tests and Alignment Core come with Model Threat Simulation at Protect (Growth and Fortress), tests on demand and Alignment Full at Prove (Fortress); Model Threat Simulation is also sold as an add-on. At See, you see the results of tests already run.
Kapālins AI Systems: per-model approve, conditional and block verdicts by provider
Per-model verdicts in the pilot tenant, from the Probe Runner: approved, conditional or blocked before anyone relies on them.
Setup

Four steps.

  1. Add the providerIntegrations › Hugging Face › paste the key. Kapālins checks it with a live call, then seals it.
  2. Issue virtual keysOne per application or agent, each with its own policy, models and budget.
  3. Change the base URLPoint the application at the gateway. Request and reply formats stay as they are.
  4. Detect, then enforceEvery shield starts in detect, so nobody is blocked on day one. Enforcing needs the AI gateway at Protect; below it, the gateway records what it would have blocked.
Request a briefing

See Hugging Face governed in thirty minutes.

Bring the person who holds the credential. We connect it live and watch the first events land.

FAQ

Questions buyers ask.

Does the gateway add latency to Hugging Face calls?

Policy Shield runs in the request path. Each family can be set to detect only, and the gateway reports its own added time per call in the timeline.

Do my applications need code changes?

A base URL and a key. The gateway accepts the OpenAI and Anthropic formats, so request and response handling stay as they are.

Can Hugging Face be governed without the gateway?

Routing is what makes inline control possible. AI that cannot be routed, such as hosted copilots, is governed from its audit logs, identity grants and the device sensor instead.