Skip to main content

Use the right owner for each layer

InferCrane does not need to replace every component in an inference or agent stack. It provides the stable model endpoint, durable lifecycle, routing policy, and operational evidence. A user-managed gateway can translate provider protocols, and a sandbox can execute agent tools while calling that endpoint like any other application.

Connect a user-managed LiteLLM gateway

Keep LiteLLM’s provider configuration and credentials in LiteLLM. Connect its OpenAI-compatible surface to InferCrane in observe-only mode first:
After qualification, transfer routing ownership explicitly:
InferCrane does not bundle, fork, install, or license LiteLLM. It owns the logical endpoint and operational evidence; LiteLLM remains responsible for protocol translation and its upstreams.

Add managed APIs without changing application code

An authenticated OpenRouter or OpenAI-compatible API can be a first-class endpoint binding. Stage it as a fallback while the application continues sending model="coder-production":
The plan remains a candidate until evaluated and promoted. InferCrane never forwards its public API key to the provider and never stores the provider key in binding configuration.

Use OpenRouter as deployment overflow

OpenRouter can also be optional deployment-level emergency capacity, not an implicit default. Configure it with a secret reference, explicit model mapping, privacy acknowledgement, and hard request and cost reservation ceilings. InferCrane selects it before sending bytes and never silently duplicates or shadows a request.
Complete the bounded policy using Governed external capacity. Real OpenRouter billing qualification is still deferred; InferCrane does not fabricate price evidence.

Call InferCrane from an agent sandbox

The sandbox is the application execution environment. Create it with the sandbox provider, then issue a short-lived credential restricted to exactly one InferCrane endpoint:
Inject the shown-once credential through the sandbox provider’s secret mechanism, then use an ordinary OpenAI client inside the sandbox:
Use the sandbox provider’s secret injection and network allow-list controls. InferCrane’s issued token cannot enumerate or invoke another endpoint alias and cannot access the control API.
InferCrane does not create, pause, snapshot, isolate, or delete sandboxes, and it does not record sandbox commands, files, prompts, or outputs. E2B, Modal, Kubernetes, and similar names describe the external execution owner, not an InferCrane sandbox runtime. Real provider secret injection and isolation remain provider-specific qualification.

Bring a trained artifact into the release path

Keep training data and execution in MLflow, Kubeflow, SkyPilot, or your existing pipeline. Hand InferCrane a signed content-free artifact identity bound to one immutable candidate revision:
Attachment does not promote the revision. Continue through benchmark, Replay, semantic quality evidence, and Release Guard. See Training artifact handoffs.

Why the boundary is useful

  • Change inference providers without rebuilding the agent sandbox.
  • Change sandbox vendors without changing the logical model endpoint.
  • Keep model rollout evidence separate from tool-execution security policy.
  • Move externally trained artifacts into a guarded release without moving training data or keys.
  • Avoid turning InferCrane into a gateway fork, workflow engine, or sandbox isolation runtime.